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
[alias] | |
babysit = !git-babysit |
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
ChartEditor = React.createClass({ | |
datasetDidChange: function () { | |
this.setState({ | |
datasets: chartioStore.get('datasets') | |
}); | |
} | |
}); | |
DatasetModel = React.createClass({ | |
components: [ChartEditor], |
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
BUILD_JS = { | |
'vendor': { | |
# ... | |
'include_patterns': ['vendor/javascripts/jschardet/src/*.js'], | |
'exclude_patterns': ['vendor/javascripts/jschardet/src/index.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
var $el = $('.some-element'); | |
var clickHandler = function () { | |
// do things | |
}; | |
$el.click(clickHandler); | |
// This works, but it isn't the best way | |
keyBindings({ |
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] | |
tool = vimdiff | |
[difftool] | |
prompt = false | |
[merge] | |
tool = vimdiff | |
[mergetool] | |
prompt = false |
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 (root, module) { | |
'use strict'; | |
if (!module) { | |
module = root; | |
} | |
var _keys = Object.keys || function (o) { | |
var keys = []; | |
for (var prop in o) { |
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 assertSize(size, value) { | |
console.assert(size === value.length, 'size mismatch'); | |
} | |
function not_1(n) { | |
assertSize(1, n); | |
return n === '0' ? '1' : '0'; | |
} |
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
5 of 5 tests executed. | |
3 passed, 2 failed. | |
Duration: 1s. | |
Lime Unit Tests - lime.style [FAILED] | |
localhost:8080/javascripts/lime/lime/tests/style.htm | |
6 of 6 tests run in 11ms. | |
4 passed, 2 failed. | |
2 ms/test. 58 files loaded. | |
ERROR in testTransform | |
Rotated matrix |
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
Rubinius Crash Report #rbxcrashreport | |
Error: signal SIGILL | |
[[Backtrace]] | |
0 rbx 0x0000000107e8f476 _ZN8rubiniusL12segv_handlerEi + 486 | |
1 libsystem_c.dylib 0x00007fff840018ea _sigtramp + 26 | |
2 ??? 0x0000000000000006 0x0 + 6 | |
3 rbx 0x0000000107e92715 _ZN8rubinius5abortEv + 53 | |
4 rbx 0x0000000107f92b63 _ZN8rubinius13ZeroArguments6invokeEPNS_2VMEPNS_12NativeMethodEPNS_23NativeMethodEnvironmentERNS_9ArgumentsE + 83 |
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 () | |
{ | |
var hasProperty = Object.hasOwnProperty, | |
// make sure we have a trim function available | |
trim = String.prototype.trim || function () { return this.replace(/^\s*/, '').replace(/\s*$/, ''); }, | |
// This function divides a string into multiple strings of a certain length. | |
// Some browsers limit an individual cookie to about 4000 bytes of data | |
// This allows us to store all the info we want by splitting an item into multiple cookies | |
divide = function (len) |