Skip to content

Instantly share code, notes, and snippets.

View kirai's full-sized avatar
😃

Hector Garcia kirai

😃
View GitHub Profile
@kirai
kirai / gitstatphp
Created August 27, 2012 04:41
Check php syntax to all modified files before committing
git status | grep "modified" | sed s/\#.*:// | xargs -n1 php -l
@kirai
kirai / gist:5159021
Created March 14, 2013 05:24
Clojure avg function
(defn average[numbers](/ (apply + numbers) (count numbers)))
var image: UIImage = UIImage(named: "dog.png")
dogImageView.image = image
@kirai
kirai / index.pug
Created February 20, 2022 03:25
Matrix Effect usando canvas
canvas(id='canv', width=500, height=200)