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
{ | |
"always_prompt_for_file_reload": false, | |
"always_show_minimap_viewport": false, | |
"animation_enabled": true, | |
"atomic_save": true, | |
"auto_close_tags": true, | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": false, | |
"auto_complete_delay": 50, | |
"auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin", |
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
"xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) { | |
var t = 16 * Math.random() | 0, n = "x" == e ? t : 3 & t | 8; | |
return n.toString(16) | |
}) |
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
### Keybase proof | |
I hereby claim: | |
* I am risico on github. | |
* I am risico (https://keybase.io/risico) on keybase. | |
* I have a public key whose fingerprint is A416 F294 DEF3 BD6A 9E32 F5B3 5FF5 8FEB E72E 2996 | |
To claim this, I am signing this object: |
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
$(window).scroll(function(){ | |
var defaultView = document.defaultView.scrollMaxY; | |
var pageOffset = window.pageYOffset; | |
var tolerance = defaultView - 800; | |
if(pageOffset > tolerance){ | |
$('#more').click(); | |
} | |
}); |
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
#menu li { | |
float: left; | |
margin: 4px; | |
width: 100px; | |
} | |
#menu li.level1 ul { | |
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
function countdown (num) { | |
for (var i = 0; i <= num; num--) { | |
alert(num); | |
} | |
} | |
countdown(5); |
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
<ul id="menu"> | |
<li class="level1"> | |
Thing 1 | |
<ul> | |
<li>Subthing A</li> | |
<li>Subthing B</li> | |
<li>Subthing C</li> | |
</ul> | |
</li> | |
<li class="level1"> |
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
U0 ArcExpandBuf(ArcCs *c) | |
//Use ExpandBuf() unless you know what | |
//you're doing. | |
{ | |
U8 *dst_ptr,*dst_limit; | |
U64 basecode,lastcode,code; | |
ArcTableEntry *temp,*temp1; | |
dst_ptr=c->dst_buf+c->dst_pos; | |
dst_limit=c->dst_buf+c->dst_size; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
typedef unsigned int u32; | |
typedef unsigned long long u64; | |
//------------------------------------------------------------------------- | |
// WorkArea | |
//------------------------------------------------------------------------- |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
</body> | |
</html> |
OlderNewer