This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 4e65589665eb91964eca0cf90fd7469dcdc566e7 Mon Sep 17 00:00:00 2001 | |
From: Deepak Jois <[email protected]> | |
Date: Sat, 17 Apr 2010 15:50:25 -0700 | |
Subject: [PATCH] Added script to make rectangles consistent | |
--- | |
js/script.js | 25 ++++++++++++++++++++++++- | |
1 files changed, 24 insertions(+), 1 deletions(-) | |
diff --git a/js/script.js b/js/script.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get the list of twitter usernames from the html of an element (entered in CMS) and then display. | |
$($("#twitterlist p").html().split(",")).each( function(i) { | |
$.trim(this); | |
$("#twitter-users").append($("<div/>").attr({id: "user-" + i, class: "item"})); | |
getTwitters('user-' + i, { | |
id: this, | |
count: 1, | |
enableLinks: true, | |
ignoreReplies: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function($){ | |
$.fn.gallery = function(settings) { | |
var config = { | |
activeelm: 'active', | |
nav: 'nav', | |
navnext: 'nxt' | |
}; | |
if (settings) $.extend(config, settings); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "mp3" | |
import "os" | |
func main() { | |
mp3.PrintInfo(os.Args[1]) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mp3 | |
// #cgo LDFLAGS: -lmpg123 -lao -ldl -lm | |
/* | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <sys/stat.h> | |
#include <sys/types.h> | |
#include <errno.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./main ~/Music/mpd/demo.mp3 | |
ID3V2 tag found | |
Dil Main Chuppa Ke Pyar Ka | |
Angelique Kidjo | |
Oyo | |
World | |
SIGTRAP: trace trap | |
pc: 0x7fff844715c0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ src echo $GOPATH | |
/Users/deepak/gopkgs | |
➜ src ls $GOPATH/pkg/darwin_amd64/github.com/deepakjois/msgpack | |
➜ src ls $GOPATH/pkg/darwin_amd64/github.com/deepakjois/msgpack | |
go.a | |
➜ src gotest -x -v -test.bench=.. | |
gotest 0.00s: gomake testpackage-clean | |
rm -f _test/serialization.a | |
[+0.03s] | |
gotest 0.03s: gomake testpackage GOTESTFILES= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { display:none } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { display:none } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { display:none } |