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
document.getElementsByClassName("commit-ref from")[0].onclick = function(e) { | |
var sel = window.getSelection(); | |
var range = document.createRange(); | |
sel.removeAllRanges(); | |
range.selectNodeContents(e.target); | |
sel.addRange(range); | |
document.execCommand('copy'); | |
}; |
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
# Prompts | |
prompts[0]="\[\033[31m\]☭" | |
prompts[1]="\[\033[36m\]☃" | |
prompts[2]="\[\033[33m\]★" | |
prompts[3]="\[\033[37m\]☁" | |
prompts[4]="\[\033[37m\]☯" | |
prompts[5]="\[\033[33m\]♔" | |
prompts[6]="\[\033[31m\]♡" | |
prompts[7]="\[\033[31m\]♢" | |
prompts[8]="\[\033[1;30m\]♧" |
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
e_node_title{font-weight:bold;}.single_node_info span.key{font-weight:normal;color:#808.editable-table-button-set button[name='cancel'], .editable-table-edit { | |
color: blue; | |
background: none; | |
border: none; | |
border-radius: 0; | |
-webkit-border-radius: 0; | |
cursor: pointer; | |
} | |
.editable-table-button-set button[name='cancel']:hover, .editable-table-edit:hover { | |
text-decoration: underline; |
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
.ck_link () { | |
color: blue; | |
background: none; | |
border: none; | |
border-radius: 0; | |
-webkit-border-radius: 0; | |
cursor: pointer; | |
&:hover { | |
text-decoration: underline; | |
background: 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
var k = 0; | |
(function () { | |
console.log(k); | |
k = 5; | |
console.log(k); | |
var k = 3; | |
console.log(k); | |
})(); |
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
do { | |
if (condition) { | |
break | |
} | |
// Code | |
} while (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
{ isJsUnitException: true, | |
message: 'Wrong number of total rows\nExpected <6> (Number) but was <0> (Number)', | |
stackTrace: '> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> Object._onTimeout\n> (unknown)\n', | |
comment: 'Wrong number of total rows', | |
jsUnitMessage: 'Expected <6> (Number) but was <0> (Number)' } | |
[object Context]:31957 | |
throw new goog.testing.AsyncTestCase.ControlBreakingException(); | |
^ | |
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
17:41:40.321 : testNotEmpty [Waiting for Table] : FAILED | |
{ isJsUnitException: true, | |
message: 'Table shouldn\'t be empty.\nExpected to evaluate to false', | |
stackTrace: '> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> (unknown)\n> Object._onTimeout\n> (unknown)\n', | |
comment: 'Table shouldn\'t be empty.', | |
jsUnitMessage: 'Expected to evaluate to false' } | |
[object Context]:31957 | |
throw new goog.testing.AsyncTestCase.ControlBreakingException(); | |
^ |
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 python | |
i = 0 | |
while (i<1000000): | |
1+1 | |
i+=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
#!/usr/bin/env node | |
var i=0; | |
while (i<1000000) { | |
1+1; | |
i++; | |
} |
NewerOlder