Skip to content

Instantly share code, notes, and snippets.

import urllib2
import json
import sys
import os
from Tkinter import Tk
URL="https://api.github.com/gists"
TOKEN=""
require'vstruct'
local metatable = {
__index = {
read = function(self,n)
if not n then
n = 1
end
self.pos = self.pos+n
if self.pos-1>#self.str then return false end