{"action":"created","issue":{"url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/1161","labels_url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/1161/labels{/name}","comments_url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/1161/comments","events_url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/1161/events","html_url":"https://github.com/MightyPirates/OpenComputers/issues/1161","id":77634710,"number":1161,"title":"[Suggestion] Download a file from pastebin (with the internet card)","user":{"login":"ExDomino","id":1377729,"avatar_url":"https://avatars.githubusercontent.com/u/1377729?v=3","gravatar_id":"","url":"https://api.github.com/users/ExDomino","html_url":"https://github.com/ExDomino","followers_url":"https://api.github.com/users/ExDomino/followers","following_url":"https://api.github.com/users/ExDomino/following{/other_user}","gists_url":"https://api.github.com/users/ExDomino/gists{/gist_id}","starred_url":"https://api.github.com/users/ExDomino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExDomino/subscriptions","organizations_url":"https://api.github.com/users/ExDomino/orgs","repos_url":"https://api.github.com/users/ExDomino/repos","events_url":"https://api.github.com/users/ExDomino/events{/privacy}","received_events_url":"https://api.github.com/users/ExDomino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T12:19:21Z","updated_at":"2015-05-18T12:29:24Z","closed_at":null,"body":"A new program in OpenOS could be a way to easily download a file from pastebin. It would takes 2 parameters: the pastebin ID and the local filename to write in. A flag option -e could be added to auto-execute the script after being succesfully downloaded, and the -o flag to override the file if it already exists. If the download fails, the reason is shown, for example there is no internet card in the computer, pastebin is down or the paste isn't found. If the file already exists, without -o, there would be a prompt to ask if you want to override the existing file or not, and if no, -e makes no effect."},"comment":{"url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/comments/103042326","html_url":"https://github.com/MightyPirates/OpenComputers/issues/1161#issuecomment-103042326","issue_url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/1161","id":103042326,"user":{"login":"Vexatos","id":4135064,"avatar_url":"https://avatars.githubusercontent.com/u/4135064?v=3","gravatar_id":"","url":"https://api.github.com/users/Vexatos","html_url":"https://github.com/Vexatos","followers_url":"https://api.github.com/users/Vexatos/followers","following_url":"https://api.github.com/users/Vexatos/following{/other_user}","gists_url":"https://api.github.com/users/Vexatos/gists{/gist_id}","starred_url":"https://api.github.com/users/Vexatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vexatos/subscriptions","organizations_url":"https://api.github.com/users/Vexatos/orgs","repos_url":"https://api.github.com/users/Vexatos/repos","events_url":"https://api.github.com/users/Vexatos/events{/privacy}","received_events_url":"https://api.github.com/users/Vexatos/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T12:29:24Z","updated_at":"2015-05-18T12:29:24Z","body":"... There is a built-in pastebin program."}}