Skip to content

Instantly share code, notes, and snippets.

<?php
Mustache_Template->render(array("cards" =>
array(21567 => array(
array("id" => "21567",
"cardname" =>
"Tasigur%2C+the+Golden+Fang",
"rarity" => "R",
"set" => "FRF", ...),
array("id" => "21567",
@cornernote
cornernote / pingi
Created November 11, 2013 03:35 — forked from brunobraga/pingi
#!/bin/bash
#
# File: pingi
#
# Purpose: Ping Improved. Actually just handles better the timeout/unreachable.
#
# Author: BRAGA, Bruno <bruno.braga@gmail.com>
#
# Copyright:
#
@cornernote
cornernote / init.lua
Created October 2, 2012 12:54 — forked from PilzAdam/gist:3803584
NPC that Walks to a Given Pos
-- DEBUG
xp = function(self)
local p = self.object:getpos()
p.x = p.x + 5
self.moveto(self, p, 1, function(self)
zm(self)
end)
end
xm = function(self)
local p = self.object:getpos()