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
| curl -X POST \ | |
| https://www.habbo.com/giffer/animate \ | |
| -H 'Cache-Control: no-cache' \ | |
| -H 'Content-Type: application/x-www-form-urlencoded' \ | |
| -d code=user%20%22koeientemmer%22%2C%20%22com%22%0Agesture%20%22none%22%0Awalk%206%2C%20%22southwest%22%0Astand%200.4%0Aturn%20%22south%22%0Await%200.3%0Agesture%20%22smile%22%0Await%200.4%0Awave%203%0Await%200.8%0Astand%200.4 |
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
| #!/usr/bin/env bash | |
| # WARNING: This is ephemeral storage | |
| export MSYS_NO_PATHCONV=1 # Windows: prevents path expansion in 'git bash' for volume mounting | |
| NAME=project | |
| NAME_DB=${NAME}-database | |
| NAME_PMA=${NAME}-pma |
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
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| var ( | |
| ch chan bool | |
| timeoutSecs uint = 3 |
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 | |
| function getIPRangeByCIDR($cidr) { | |
| // Making sure IPs are valid | |
| $ipdata = explode('/', ltrim($cidr, '0')); | |
| $dotcount = substr_count($ipdata[0], '.'); | |
| if ($dotcount != 3) { | |
| $ipdata[0] .= str_repeat('.0', (3-$dotcount)); | |
| } | |
| $cidr_address = sprintf('%s/%s', $ipdata[0], $ipdata[1]); |
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
| function zeropad(number, amount) { | |
| if (number >= Math.pow(10, amount)) { | |
| return number; | |
| } | |
| return (Array(amount).join(0) + number).slice(-amount); | |
| } | |
| zeropad(2); // 2 | |
| zeropad(2, 1); // 2 |
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 | |
| $person = (object) array_fill_keys(array('firstname', 'lastname', 'email', 'photo'), ''); | |
| ?> |