Skip to content

Instantly share code, notes, and snippets.

View csanz's full-sized avatar
🎯
Focusing

Christian Sanz csanz

🎯
Focusing
View GitHub Profile
@csanz
csanz / slideshow.js
Created April 24, 2012 19:27
intro to node.js slide show app written in node.js
var color = require('colors');
var stdin = process.openStdin()
, slides = {
1: "\tNode.js" +
"\n\n\t\tJavascript running on the server" +
"\n\n\t\tWritten in C++ (POSIX)" +
"\n\n\t\tWraps V8 JS VM (Google/Chrome)"
, 2: "\tOthers / Evented I/O" +
"\n\n\t\t > Reactor Pattern" +
"\n\n\t\t > EventMachine(Ruby) / Twisted (Python)" +
@csanz
csanz / dabblet.css
Created February 14, 2012 19:04
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #0000;
background: linear-gradient(45deg, #f06, yellow);
min-height:30%;
@csanz
csanz / flowcontrolwithnolibs.js
Created February 8, 2012 02:27
How to avoid flow control libs
// example
// problem
exports.function1 = function(){
object.find(query, function(data){
object.find(query, function(data){
object.find(query, function(data){
//finally I'm here!
})
@csanz
csanz / topnodejs.md
Created February 1, 2012 01:04
Top 30 Node.js Core Contributors Based on # of Commits (as of Jan 31st 2012)

Sorted by # of Commits

               2477 Ryan Dahl               46.2%
               536  Ryan                    10.0%
               437  Ben Noordhuis           8.1%
               262  Bert Belder             4.9%
               216  isaacs                  4.0%
               127  Fedor Indutny           2.4%
               126  koichik                 2.3%

85 Felix Geisendörfer 1.6%

@csanz
csanz / herokuisdown.md
Created January 31, 2012 10:47
Heroku Is Down
@csanz
csanz / partners.md
Created January 18, 2012 23:25
Geeklist API Partners

Right now we are looking for partners who offer any kind of geeky (dev + design) achievement service and are interested in distributing those achievements inside our network.

For instance, code academy would make a great partner. Imagine, every time you finish a lesson you can publish it to geeklist right from their website (as a card or a micro)

If you are interested email us at partners@geekli.st

test
@csanz
csanz / gist:1545189
Created December 31, 2011 20:04
My Hacker History
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn
284 git
29 heroku
28 bin/runserver
24 cd
23 node
13 ll
11 vi
10 open
@csanz
csanz / MostUsedCommands.md
Created December 31, 2011 19:31
Most used commands

history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -r

         288 git
          29 heroku
          28 bin/runserver
          24 cd
          23 node
          13 ll
          11 vi

10 open

@csanz
csanz / top.md
Created December 24, 2011 23:45
Top Geeklist Committers of 2011

Top Geekli.st Committers of 2011

  • project: www
  • commits: 2034
  • files : 1066

authors:

 616	Christian Sanz          30.3%

430 Arlo Breault 21.1%