Skip to content

Instantly share code, notes, and snippets.

@seriallos
seriallos / zombie-test output
Created April 14, 2013 18:53
ZombieJS Event Behavior Questions
$ coffee zombie-test.coffee
:: REQUEST ::
requesting http://google.com/
:: REDIRECT ::
req.time = 1365965486011
res.time = undefined
time to redirect = NaN ms
redirecting to http://www.google.com/
:: RESPONSE ::
response = 292 ms
@seriallos
seriallos / gist.lua
Created February 5, 2013 03:42
ComputerCraft program to download gists as programs. Yo dawg.
local tArgs = { ... }
if (#tArgs ~= 3) then
print( "USAGE: gist get GIST_ID PROGRAM_NAME" )
return
end
local action = tArgs[1]
local gist_id = tArgs[2]
@seriallos
seriallos / redwood.lua
Created February 3, 2013 01:05
[ComputerCraft] Redwood Lumberjack
--[[
Redwood chopper
Place at the base of a redwood tree and let 'er rip
--]]
turtle.refuel(1)
@seriallos
seriallos / stairs.lua
Last active December 12, 2015 02:38
[ComputerCraft] Stair Digger
--[[
Automated stair digger
- Digs down DIG_DEPTH amount
- Each stairs has a height of STAIR_HEIGHT
- The top of every other stair will have a torch
_ (If you place torches in inventory slot 2)
http://davehendler.com/tracedata/