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
# excerpt, I've got my stuff in my file | |
source ~/.git-completion.bash | |
source ~/.git-flow-completion.bash | |
export PS1='\w $(vcprompt)\$ ' | |
alias s="git status" | |
alias d="git diff" |
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
module("user", { | |
"/resolve?url=http://soundcloud.com/forss": "/fixtures/forss.json", | |
"/users/183/playlists": { | |
responseStatus: 500, | |
responseText: "servererror", | |
responseTime: 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
var testTimeout; | |
module = function(name, mocks) { | |
QUnit.module(name, { | |
setup: function() { | |
if (mocks) { | |
if (mocks.setup) { | |
mocks.setup.apply(this, arguments); | |
} | |
$.each(mocks, function(url, mock) { | |
if (/setup|teardown/.test(url)) { |
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
module("user", { | |
"/users/183/tracks": "/fixtures/forss-tracks.json", | |
"/users/183/playlists": "/fixtures/forss-playlists.json", | |
"/users/183/favorites": "/fixtures/forss-favorites.json", | |
"/users/183/groups": "/fixtures/forss-groups.json", | |
}); |
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
embed |
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
table track { | |
id pk | |
artist string | |
title string | |
} | |
table rating { | |
track fk | |
name string | |
value int (1-10) |
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 extend( target ) { | |
var input = slice.call( arguments, 1 ), | |
inputIndex = 0, | |
inputLength = input.length | |
key, | |
value; | |
for ( ; inputIndex < inputLength; inputIndex++ ) { | |
for ( key in input[inputIndex] ) { | |
value = input[inputIndex]; | |
if (value !== undefined ) { |
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
// Backbone.history with HTML5 support | |
(function() { | |
var loc = window.location, | |
pushSupport = !!(window.history && window.history.pushState), | |
hashStrip = /^#*/; | |
// add HTML5 support to Backbone.history, drop the old IE stuff | |
_.extend(Backbone.History.prototype, { | |
getFragment : function(l) { |
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
Zombie: GET http://jquery.bassistance.de/qunit/test/ | |
Zombie: GET http://jquery.bassistance.de/qunit/test/ => 200 | |
Zombie: GET ../qunit/qunit.js | |
Zombie: GET test.js | |
Zombie: GET same.js | |
Zombie: GET ../qunit/qunit.js => 200 | |
Zombie: Running script from /qunit/qunit/qunit.js | |
Zombie: GET test.js => 200 | |
Zombie: Running script from /qunit/test/test.js | |
Zombie: GET same.js => 200 |
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
Zombie: GET http://jsbin.com/onomi4 | |
Zombie: GET http://jsbin.com/onomi4 => 200 | |
Zombie: Running script from http://jsbin.com/onomi4:undefined:undefined<script> | |
Zombie: Running script from http://jsbin.com/onomi4:undefined:undefined<script> | |
Zombie: Running script from http://jsbin.com/onomi4 | |
this is called in the HEAD tag | |
Zombie: GET http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js | |
Zombie: GET /js/render/edit.js | |
Zombie: GET http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js => 200 | |
Zombie: Running script from /ajax/libs/jquery/1.4.4/jquery.min.js |