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 / hey.js
Created June 3, 2012 07:05
JSONP
callMe({name: 'chris'})
@csanz
csanz / fbbug.md
Created May 24, 2012 01:37
FB Bug

Screenshot

Screenshot

IPO what?

@csanz
csanz / geeklistAPIideas.md
Created May 1, 2012 21:10
Geeklist API Hackathon Ideas (In Progress)
  • An app that coordinates code commits with songs being played on Spotify
  • Post micros via SMS (with Twilio)
@csanz
csanz / hackathons101.md
Created April 29, 2012 15:41
Hackathons 101

Summary

Just some quick notes on how to create a hackathon, super simple really.

Sponsors & Judges

  • Prepare one page summary of the event (Name, venue, audience numbers)
  • Reach out to tech evangelist from various companies, offer 10 minutes to pitch their APIs (skype or in person)
  • Reach out to influential hackers to be judges and includes sponsors
@csanz
csanz / creds.md
Created April 26, 2012 18:05
earning creds inside geeklist

Creds are credibility points that you collect inside Geeklist. You earn them by doing different things on the site like committing code or making the data better and sending change requests. For now we only have three types of creds: code, data and social.

code creds

  • code commit +1
  • high five to code commit +1
  • high five to repo +1
  • X number of lines +2
@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