This file contains hidden or 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 State = (function() { | |
var values = { | |
}; | |
var before = { | |
}; | |
var after = { | |
}; |
This file contains hidden or 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
<?php | |
// Simplest possible webhook/post relay thing | |
$forwardTo=[ | |
'http://requestb.in/12qok4y1' | |
]; | |
$post = file_get_contents('php://input'); | |
foreach($forwardTo as $url) { | |
$ch = curl_init(); |
This file contains hidden or 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 dob=800101; | |
var gen=6; | |
var nin = ''+dob + gen + | |
Math.floor(Math.random()*10) + | |
Math.floor(Math.random()*10) + | |
Math.floor(Math.random()*10) + | |
Math.floor(Math.random()*2) + | |
Math.floor(Math.random()*10); | |
var sumEven = 0; | |
var sumOdd = 0; |
This file contains hidden or 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
<?php | |
declare(ticks = 1); | |
echo "simple daemon\n"; | |
// tick use required as of PHP 4.3.0 | |
// signal handler function |
This file contains hidden or 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
Add this to /etc/apt/sources.list | |
<snip> | |
deb http://security.ubuntu.com/ubuntu precise-security main restricted | |
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted | |
deb http://security.ubuntu.com/ubuntu precise-security universe | |
deb-src http://security.ubuntu.com/ubuntu precise-security universe | |
deb http://security.ubuntu.com/ubuntu precise-security multiverse | |
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse | |
</snip> |