Skip to content

Instantly share code, notes, and snippets.

View cbrumelle's full-sized avatar

Colin Brumelle cbrumelle

View GitHub Profile
var data = {"listendata" : {
"genre_id":0,
"genre_name":"all",
"counts":[112,32,12,312,43,1],
"total":30303030,
"children": {
"genre_id":12,
"genre_name":"rock",
"counts":[112,32,12,312,43,1],
"total":434,
(function($) {
$.fn.tweet = function(o){
var s = {
username: ["your-twitter-username"],
count: 3,
loading_text: null
};
$.fn.extend({
#! /bin/sh
### BEGIN INIT INFO
# Provides: mongodb
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Mongodb startup script
# Description: Mongodb start stop daemon sends SIGINT to terminate
# say man signal to see details
# Please check the startup params and replication options