Skip to content

Instantly share code, notes, and snippets.

View mariusrugan's full-sized avatar

Marius Rugan mariusrugan

View GitHub Profile
@jondot
jondot / langs.yml
Created October 27, 2011 08:27
yaml of languages
---
ab:
name: Abkhaz
nativeName: "\xD0\xB0\xD2\xA7\xD1\x81\xD1\x83\xD0\xB0"
aa:
name: Afar
nativeName: Afaraf
af:
name: Afrikaans
nativeName: Afrikaans
@jondot
jondot / README.markdown
Created October 26, 2011 10:23 — forked from marijn/README.markdown
List of countries in YAML, CSV and TXT format

#List of countries

It's time someone compiled a list of countries to use within a web application. This gist attempts to make a first move at that.

List of nationalities

I've also compiled a list of nationalities

@jondot
jondot / app.coffee
Created August 23, 2011 09:57
image-gallery
class Thumb extends Backbone.Model
defaults:
uri: ''
state: ''
select: (state) ->
st = ''
st = 'selected' if state
@set('state' : st)
@shimondoodkin
shimondoodkin / APPNAME
Created July 2, 2011 17:33 — forked from peterhost/node_debian_init.sh
init.d script for node.js for debian
#! /bin/sh
# ------------------------------------------------------------------------------
# SOME INFOS : fairly standard (debian) init script.
# Note that node doesn't create a PID file (hence --make-pidfile)
# has to be run in the background (hence --background)
# and NOT as root (hence --chuid)
#
# MORE INFOS : INIT SCRIPT http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit
# INIT-INFO RULES http://wiki.debian.org/LSBInitScripts
# INSTALL/REMOVE http://www.debian-administration.org/articles/28
@fb55
fb55 / FeedParser.js
Created June 12, 2011 10:20
A simple (not feature complete) feedparser for node.js. Requires sax.js
/*
Simple feedparser
Based upon:
- https://raw.github.com/drudge/node-easyrss
*/
var sax = require('./libs/sax');
module.exports.streamParser = function(){