Skip to content

Instantly share code, notes, and snippets.

@j000
j000 / factorio-recipe-parser.lua
Last active November 12, 2017 16:41 — forked from pfmoore/factorio-recipe-parser.lua
Parse the Factorio recipe files to create a CSV of recipes
local write = io.write
function print_me(write,...)
local n = select("#",...)
for i = 1,n do
local v = tostring(select(i,...))
write(v)
if i~=n then write'\t' end
end
write'\n'
end
@j000
j000 / submit.py
Created December 6, 2016 02:53 — forked from ThyReaper/submit.py
Python script to upload code to Screeps
import urllib.request;
import json;
api = "https://screeps.com/api/user/code"
#Load account data
keys = open("key.txt");
account = keys.readline().strip("\n")
apikey = keys.readline().strip("\n")