This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
1lann's profile picture

Snipt Get (Snipt.net)

Started by 1lann, 24 August 2013 - 10:41 PM
1lann #1
Posted 25 August 2013 - 12:41 AM
http://snipt.net , probably the best looking alternative to pastebin (And generally better than pastebin)

Why use snipt.net over other services (hastebin)?
Because it is user account controlled, which means its similar to pastebin where you can edit snipts you created from your account, and it will have the same ID, unlike hastebin which does not allow you to edit any pastes, and any pastes that are saved become read-only.

Features:
  • ​Smart input: You can enter snipt ids or snipt hashes with noise, so there will be no problems when you do a sloppy copy.
[indent=1]
Examples:
snipt #76851 test
snipt t/raw/b1fc7309d3ed53610d71cfddcb8ad777/ test
[/indent]
  • Wget: You can download any file from the web
  • Tracking: Tracking is enabled by default, you can toggle it with "snipt dnt". With tracking, when you edit your snipt online, instead of having to find the snipt ID/hash again and then re-getting it, if you have downloaded it once, the program remembers the code and all you have to do is run "snipt <programname>" to download it again/update it.
  • Ask for overwrite
Usage:

snipt <id> <filename> - Gets a snipt from it's hash or ID
snipt wget <url> <filename> - Download any file
snipt <filename> - Re-downloads a previously downloaded snipt
snipt dnt - Toggles tracking

Download:
Pastebin:

pastebin get W457qzrj snipt
Pastebinless Installation:
You can copy and paste the code below into "lua", then hit enter to install snipt. (Source code can be found here: https://snipt.net/1lann/snipt-1/)

r=assert(http.get("http://bit.ly/18Sz6NI"),"nay")f=io.open("/snipt","w")f:write(r.readAll())r.close()f:close()print("yay")
yay = Installed successfully
nay = Failed to install
Compiler error = Corrupted copy and paste, try pasting it again.
luaCoder #2
Posted 26 August 2013 - 06:12 PM
I Like It!
kornichen #3
Posted 27 August 2013 - 02:45 PM
Nice… I love tracking ability.