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> | |
<meta charset='utf-8'> | |
<script src='example.js'></script> | |
<button type='button' class='browser-style' id='set'>Set</button> | |
<button type='button' class='browser-style' id='get'>Get</button> | |
<p id='output'></p> |
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 <unistd.h> | |
int main() { | |
while (1) fork(); | |
} |
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 python3 | |
# Peter Simonyi 1 June 2012 | |
'''A binary clock: prints the current time (HHMMSS) in binary-coded decimal. | |
Each BCD digit takes one column; least-significant bits are at the bottom. | |
Example: at 21:14:59 (local time): | |
000001 | |
000110 | |
100000 | |
011011 |
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
// vim: shiftwidth=8 noexpandtab softtabstop=0 | |
/* | |
* Christian Delahousse | |
* Binary Clock | |
* May 27,2012 | |
* Edited by Peter Simonyi 29 May 2012 | |
*/ | |
'use strict'; |