I hereby claim:
- I am rashkur on github.
- I am rashkur (https://keybase.io/rashkur) on keybase.
- I have a public key ASDuU7_KlnHUUJeCdNA4fXxsdPavMZnzZSy5YiwdwqWexAo
To claim this, I am signing this object:
| function getReadableFileSizeString(fileSizeInBytes) { | |
| var i = -1; | |
| var byteUnits = [' kB', ' MB', ' GB', ' TB', 'PB', 'EB', 'ZB', 'YB']; | |
| do { | |
| fileSizeInBytes = fileSizeInBytes / 1024; | |
| i++; | |
| } while (fileSizeInBytes > 1024); | |
| return Math.max(fileSizeInBytes, 0.1).toFixed(1) + byteUnits[i]; |
I hereby claim:
To claim this, I am signing this object:
| zend_extension=/usr/lib64/php/modules/xdebug.so | |
| xdebug.trace_enable_trigger=1 | |
| xdebug.trace_output_dir=/var/traces | |
| xdebug.collect_params=4 | |
| xdebug.overload_var_dump=0 | |
| xdebug.profiler_enable_trigger=1 | |
| xdebug.profiler_output_dir=/var/profiles |
| zend_extension=/usr/lib64/php/modules/xdebug.so | |
| xdebug.trace_enable_trigger=1 | |
| xdebug.trace_output_dir=/var/traces | |
| xdebug.collect_params=4 | |
| xdebug.overload_var_dump=0 | |
| xdebug.profiler_enable_trigger=1 | |
| xdebug.profiler_output_dir=/var/profiles | |
| mkdir /var/{traces,profiles} |
| #!/usr/bin/expect | |
| #"AS61119,AS60863,AS51286,AS49988,AS49797,AS47764,AS21051,AS206494,AS47764":"mailru,odnoklassniki", "AS47541,AS47542,AS28709":"vkontakte", "AS43247,AS207207,AS202611,AS13238":"yandex" | |
| set timeout 60 | |
| log_user 0 | |
| spawn telnet route-server.he.net | |
| foreach as {61119 60863 51286 49988 49797 47764 21051 206494 47764 47541 47542 28709 43247 207207 202611 13238 1} { | |
| expect { | |
| "route-server> " { |
| { | |
| "address" : { "street" : "2940 5th Ave", "zip" : 980021 }, | |
| "dimensions" : [ 10.0, 20.0, 15.0 ] | |
| } |
| -- MySQL dump 10.13 Distrib 5.1.51, for pc-linux-gnu (i686) | |
| -- | |
| -- Host: 127.0.0.1 Database: world | |
| -- ------------------------------------------------------ | |
| -- Server version 5.1.51-debug-log | |
| /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
| /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
| /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
| /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "time" | |
| ) | |
| // Fake a long and difficult work. | |
| func DoWork() { |