I hereby claim:
- I am dansouza on github.
- I am dansouza (https://keybase.io/dansouza) on keybase.
- I have a public key whose fingerprint is 9AFF 13EB 0873 6FFB 5216 9A91 9EC2 173C 444A 5821
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/php | |
| <?php | |
| error_reporting(E_ALL); | |
| ini_set('display_errors', '1'); | |
| # outputs an addition table for kids that is shorter to memorize because | |
| # it doesn't have repeated values | |
| function fill(&$table, $x, $sign, $y) { | |
| $min = min($x, $y); |
| #!/usr/bin/env lua | |
| -- works like PHP's print_r(), returning the output instead of printing it to STDOUT | |
| function prettyprint(data) | |
| -- cache of tables already printed, to avoid infinite recursive loops | |
| local tablecache = {} | |
| local buffer = "" | |
| local padder = " " | |
| local inited = 0 |
| #!/usr/bin/luajit | |
| local M = {} | |
| local ffi = require "ffi" | |
| ffi.cdef[[ | |
| /* | |
| LZ4_compress() : | |
| isize : is the input size. Max supported value is ~1.9GB | |
| return : the number of bytes written in buffer dest |
| # extras.py - sublimelint plugin for simple external linters | |
| from lint.linter import Linter | |
| import os | |
| class Coffee(Linter): | |
| language = 'coffeescript' | |
| cmd = ('coffee', '--compile', '--stdio') | |
| regex = r'^[A-Za-z]+: (?P<error>.+) on line (?P<line>\d+)' |