{"repository":{"description":"function loadTable(name)         local file = fs.open(name,\"r\")         local data = file.readAll()         file.close()         return textutils.unserialize(data) end   function saveTable(table,name)         local file = fs.open(name,\"w\")         file.write(textutils.serialize(table))         file.close() end   function getLink(file)         return \"https://raw.github.com/\" .. author .. \"/\" .. project .. \"/\" .. branch .. \"/\" .. file end   function download(file, name)         print(\"Downloading, \" .. file)         local data = http.get(getLink(file))         if data then                 print(file .. \" downloaded\")                 local file = fs.open(name,\"w\")                 file.write(data.readAll())                 file.close()                 return true         end end   function updatePrograms()         term.clear()         term.setCursorPos(1,1)         print(\"Checking for Updates...\")         if fs.exists(\"apconfig\") then                 if download(\"config\", \"tmpconfig\") then                         config = loadTable(\"apconfig\")                         tmpconfig = loadTable(\"tmpconfig\")                         for key,value in pairs(tmpconfig) do                                 if tmpconfig[key][\"version\"] > config[key][\"version\"] then                                         if fs.exists(key) then                                                 fs.delete(key)                                         end                                         download(key, tmpconfig[key][\"path\"])                                 end                         end                         fs.delete(\"apconfig\")                         saveTable(tmpconfig, \"apconfig\")                         fs.delete(\"tmpconfig\")                 else                         print(\"Unable to connect to http://github.com/\")                 end         else                 print(\"No config file was found.\")                 if download(\"config\", \"apconfig\") then                         config = loadTable(\"apconfig\")                         for key,value in pairs(config) do                                 if fs.exists(key) then                                         fs.delete(key)                                 end                                 download(key, config[key][\"path\"])                         end                 else                         print(\"Unable to connect to http://github.com/\")                 end         end         print(\"All programs updated.\")         print(\"Press any key to continue.\")         skip() end   -- RUN parallel.waitForAny(printIntro, skip) updatePrograms() if fs.exists(\"advancedgui\")then         shell.run(\"advancedgui\") end","watchers":0,"stargazers":0,"forks":0,"fork":false,"size":0,"owner":"AnonymPanda","private":false,"open_issues":0,"has_issues":true,"has_downloads":true,"has_wiki":true,"created_at":"2013-12-30T07:44:03-08:00","pushed_at":"2013-12-30T07:52:13-08:00","master_branch":"master"},"actor_attributes":{"type":"User","email":"da39a3ee5e6b4b0d3255bfef95601890afd80709"},"url":"https://github.com/AnonymPanda/Advanced-Programs_by_AnonymPanda/compare/aaf27986d7...feb522d2fe"}