I hereby claim:
- I am hakasenyang on github.
- I am hakasekr (https://keybase.io/hakasekr) on keybase.
- I have a public key ASBcKdb7OdOaUEBe0qTfqMAOSjXZ6E0ifaaXInLSJ28xtgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| define('MAX_LEN', (1024*1024*5.5)); | |
| function rank( $array ) { | |
| // https://stackoverflow.com/questions/21521986/how-do-i-rank-array-values-with-duplicate-values-without-skipping-any-rank | |
| // initialize variables | |
| $position_array = array(); | |
| $copy_array = array(); | |
| $final_array = array(); | |
| $pos = 1; |
| <?php | |
| // Tor Check : https://gist.github.com/TheRealBastiaan/889b4ec5fafd928e0de2 | |
| function IsTorExitPoint($ip=null){ | |
| $ip = ($ip) ? $ip : $_SERVER['REMOTE_ADDR']; | |
| if (gethostbyname(ReverseIPOctets($ip).".".$_SERVER['SERVER_PORT'].".".ReverseIPOctets($_SERVER['SERVER_ADDR']).".ip-port.exitlist.torproject.org")=="127.0.0.2") { | |
| return true; | |
| } else { | |
| return false; | |
| } | |
| } |
| #!/bin/sh | |
| gets() { | |
| echo QUIT | openssl s_client -connect 127.0.0.1:443 -servername "${1}" -tls1_2 -cipher ECDH -status > /dev/null 2>&1 | |
| echo QUIT | openssl s_client -connect 127.0.0.1:443 -servername "${1}" -tls1_2 -cipher aRSA:RSA -status > /dev/null 2>&1 | |
| } | |
| ABCD=`find /etc/nginx -name "*.conf" | xargs grep --no-filename -Poe 'server_name \K[^; ]+' | sed -e "s/^*//g" | sed -e "s/*/wildcards/g" | sort -u` | |
| for i in $ABCD |
| /* Courtesy of Jake Albaugh: https://twitter.com/jake_albaugh/status/1118611365508337665 */ | |
| const bars = ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]; | |
| const ctx = new AudioContext(); | |
| const analyser = ctx.createAnalyser(); | |
| analyser.fftSize = 32; | |
| const uIntArray = new Uint8Array(16); | |
| navigator.mediaDevices.getUserMedia({ audio: true }).then(stream => { | |
| ctx.createMediaStreamSource(stream).connect(analyser); | |
| updateUrl(); |
| <?php | |
| /** | |
| * 게임모드 변환 함수 | |
| * 레퍼런스 참조는 아래 주석. | |
| * https://github.com/ppy/osu-api/wiki | |
| * enum Mods | |
| * { | |
| * None = 0, | |
| * NoFail = 1, | |
| * Easy = 2, |
| <?php | |
| class WEBParser | |
| { | |
| private $httph = 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36'; | |
| public function splits($data, $first, $end, $num = 1) | |
| { | |
| $temp = @explode($first, $data); | |
| $temp = @explode($end, $temp[$num]); | |
| $temp = $temp[0]; | |
| return $temp; |