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
# .gdbinit file for debugging Mozilla | |
# Don't stop for the SIG32/33/etc signals that Flash produces | |
handle SIG32 noprint nostop pass | |
handle SIG33 noprint nostop pass | |
handle SIGPIPE noprint nostop pass | |
# Show the concrete types behind nsIFoo | |
set print object on |
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
/** | |
* \file sbSoundCloud.js | |
* \brief Service component for SoundCloud. | |
*/ | |
const Cc = Components.classes; | |
const CC = Components.Constructor; | |
const Ci = Components.interfaces; | |
const Cu = Components.utils; | |
Cu.import("resource://app/jsmodules/sbProperties.jsm"); |
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
nodebox kurt$ vagrant up[default] Provisioning enabled with chef_solo... | |
[default] Importing base box 'lucid32'... | |
[default] Matching MAC address for NAT networking... | |
[default] The guest additions on this VM do not match the install version of | |
VirtualBox! This may cause things such as forwarded ports, shared | |
folders, and more to not work properly. If any of those things fail on | |
this machine, please update the guest additions and repackage the | |
box. | |
Guest Additions Version: 4.0.2 |
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
diff --git a/lib/station.js b/lib/station.js | |
index 775aa98..fea1648 100644 | |
--- a/lib/station.js | |
+++ b/lib/station.js | |
@@ -40,7 +40,7 @@ Station.prototype = { | |
this._ensureCatalog({}, function (err) { | |
if (err) return callback(err); | |
- self._getPlaylist({ results: 100 }, function (err, rdioIdArray) { | |
+ self._getPlaylist({ results: 50 }, function (err, rdioIdArray) { |
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
diff --git a/app.js b/app.js | |
index cd2fd3c..89fa861 100644 | |
--- a/app.js | |
+++ b/app.js | |
@@ -1,8 +1,12 @@ | |
- | |
var express = require('express'), | |
jade = require('jade'), | |
app = module.exports = express.createServer(); | |
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 outdatedDiffs = document.getElementsByClassName('outdated-diff-comment-container'); | |
Array.prototype.forEach.call(outdatedDiffs, function (diff) { | |
diff.classList.add('open'); | |
}); |
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
#!/usr/bin/env node | |
var limit = process.argv[2] | |
, palindromes = []; | |
if (!limit) { | |
console.error('Provide a limit!'); | |
process.exit(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 el = document.activeElement; | |
function bubbleCheck(element) { | |
var checking = element; | |
checking.addEventListener('click', function(e) { console.log(checking); }, false); | |
} | |
while (el = el.parentNode) { bubbleCheck(el); } |
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
// https://github.com/zendesk/ember.js | |
// version 0.9.9-zendesk | |
// SHA b68e5cbec4d95fe2004f5a6dc176c1eadd06e5a1 | |
(function() { | |
/*global __fail__*/ | |
if ('undefined' === typeof Ember) { | |
Ember = {}; |
OlderNewer