This gist just keeps the data for this article: Async frameworks "Hello World" showdown.
No. Time Source Destination Protocol Length Info | |
1 0.000000 127.0.0.1 127.0.0.1 TCP 74 54511 > 80 [SYN] Seq=0 Win=32792 Len=0 MSS=16396 SACK_PERM=1 TSval=4593254 TSecr=0 WS=64 | |
Frame 1: 74 bytes on wire (592 bits), 74 bytes captured (592 bits) | |
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00) | |
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1) | |
Transmission Control Protocol, Src Port: 54511 (54511), Dst Port: 80 (80), Seq: 0, Len: 0 | |
No. Time Source Destination Protocol Length Info | |
2 0.000014 127.0.0.1 127.0.0.1 TCP 74 80 > 54511 [SYN, ACK] Seq=0 Ack=1 Win=32768 Len=0 MSS=16396 SACK_PERM=1 TSval=4593254 TSecr=4593254 WS=64 |
/cache/ |
These are some speed hacks for browsers by moving the cache from the disk to a tmpfs mount point. This hack is not recommended for machines that don't have enough installed memory. These scripts are developed with Ubuntu in mind, therefore they may need adaptation for specific distributions.
Although it may greatly improve the browser responsiveness with slower hard drives, it adds quite a lot of overhead to the cold start-up time. Subsequent launches are fast since all the cache is preloaded in the tmpfs drive.
Firefox needs to change the location of the disk cache in order to achieve this goal. Go to about:config and change this value: browser.cache.disk.parent_directory
to /dev/shm/firefox-$USER/ where $USER is the output of id -nu
in your user terminal. If browser.cache.disk.parent_directory
does not exist, add it as a new String value.
The Google Chrome launcher works out of the box. The cache is limited to 512 MiB. If you need more cache, change the hard-coded value from the chrome-launcher scr
> Buffer.byteLength('\uD834')
3
> Buffer.byteLength('\uDF06')
3
> Buffer.byteLength('\uD834 \uDF06')
7
// as surrogate pair
> Buffer.byteLength('\uD834\uDF06')
4
server { | |
listen 80; ## listen for ipv4 | |
server_name www.sent.ro sent.ro; | |
if ($host = 'www.sent.ro' ) { | |
rewrite ^/(.*)$ http://sent.ro/$1 permanent; | |
} | |
access_log /srv/www/sent.ro/logs/access.log; |
- sambal.c patch for http://www.exploit-db.com/exploits/10/ - broken C code by newlines
- ssl2.h patch for http://www.phreedom.org/research/exploits/apache-openssl/ - missing headers which keeps it from compiling on newer Linux versions
- udev.sh patch for http://www.exploit-db.com/exploits/8478/ - builds an archive with binaries instead of building an executing the exploit

node_modules/ |
function get_cert() | |
{ | |
local host="$1" | |
local port="$2" | |
if [ -z "$port" ] | |
then | |
port="443" | |
fi | |
openssl s_client -showcerts -connect $host:$port -servername $host </dev/null 2>/dev/null | openssl x509 -text -noout |