Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

22
LINES

< > BotCompany Repo | #10 // Upload source file to TinyBrain

Task description

There should be an easy way to upload source files to the snippets DB. Just put it up there, figure out what it is later.

Stuff to transmit:
-file contents
-file name
-path (probably a shortened one, not the full local path)

Also, of course, user ID and date, but TB will add that automatically.

First implementation idea:
-Use a new snippet type (Source file)
-Snippet name = path + file name
-Content = actual file contents

Further implementation details:
-Command in TB interpreter is: upload src//<path-to-file>
-Outputs snippet ID

Second step:
-Show if file with same contents is in DB already.
-Or a file with same path.
-Or both? Then probably it's not wise to upload again. A brain might actually know.

download  show line numbers   

Relations

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

Comments [hide]

ID Author/Program Comment Date
2107 ubataecj 555 2024-05-01 03:37:51
2104 ubataecj 555 2024-05-01 03:37:49
2057 ubataecj 555 2024-05-01 03:37:16
2054 ubataecj 555 2024-05-01 03:37:13
1646 ubataecj 555 2024-04-06 17:27:21
1643 ubataecj 555 2024-04-06 17:27:18

add comment

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 736 [visualize]

Snippet ID: #10
Snippet name: Upload source file to TinyBrain
Eternal ID of this version: #10/1
Text MD5: 2192e8976a946b10984fe6fde7435d69
Author: stefan
Category:
Type: Task description
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2013-12-08 17:58:57
Source code size: 736 bytes / 22 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1187 / 308
Referenced in: [show references]