Difference between revisions of "Pastebin (program)"
From ComputerCraft Wiki
Bomb Bloke (Talk | contribs) m (Links.) |
Bomb Bloke (Talk | contribs) m |
||
Line 1: | Line 1: | ||
− | '''pastebin''' is a program available on all ComputerCraft systems since mod version 1.31. It makes use of the [[HTTP_(API)|http API]] to connect to, as the name implies, [http://pastebin.com the Pastebin website] (the script hidden if said API is disabled in [[ComputerCraft.cfg]]). It can be used to either download and save scripts, run them on the fly, or upload them to the pastebin servers. | + | '''pastebin''' is a program available on all ComputerCraft systems since mod version 1.31. It makes use of the [[HTTP_(API)|http API]] to connect to, as the name implies, [http://pastebin.com the Pastebin website] (the script is hidden if said API is disabled in [[ComputerCraft.cfg]]). It can be used to either download and save scripts, run them on the fly, or upload them to the pastebin servers. |
{{Example | {{Example |
Latest revision as of 14:24, 19 October 2015
pastebin is a program available on all ComputerCraft systems since mod version 1.31. It makes use of the http API to connect to, as the name implies, the Pastebin website (the script is hidden if said API is disabled in ComputerCraft.cfg). It can be used to either download and save scripts, run them on the fly, or upload them to the pastebin servers.
Example | |
Download the code under Pastebin id WmFHmuZq and save it as 'LyqydOS'. | |
Code |
pastebin get WmFHmuZq LyqydOS |
Example | |
Download the code under Pastebin id WmFHmuZq, run it and then delete the downloaded file. (Useful for installers.) | |
Code |
pastebin run WmFHmuZq |