Test an Unix socket with socat
lundi 22 décembre 2014 à 17:01For a web server like :
socat - UNIX-CONNECT:/path/to/the/socket.sock,crnl
Then, “speak” HTTP like in telnet :p
source: Le Kernel Panique (Kpanic)
For a web server like :
socat - UNIX-CONNECT:/path/to/the/socket.sock,crnl
Then, “speak” HTTP like in telnet :p
En novembre, ceux qui me suivent sur les réseaux sociaux le savaient, j’étais au Japon pour mon 3ème voyage dans ce pays que j’apprécie énormément. C’est l’occasion de vous faire un petit compte rendu, en images !
Pour ce 3ème voyage, je me suis pas mal déplacé en train, notamment en Shinkansen, l’équivalent au TGV, en mieux… !
Voilà, c’est (hélas) terminé !
Ça vous a plu ? Vous pouvez retrouver d’autres de mes photos sur Google + ou bien mon site perso (licence CC BY SA).
Pour le fun, top 5 des trucs qui me font apprécier le Japon :
benpro at brain in ~ $ uptime 12:37:15 up 9132 days, 3:41, 1 user, load average: 0.25, 0.40, 0.40
Huuu, 9132 days… Time sure does fly!
If your Android device (4.3+) is slow as hell due to I/O waiting. Try this command which will force an fstrim.
am broadcast -a android.intent.action.ACTION_IDLE_MAINTENANCE_START
$ adb logcat | grep -i fstrim I/fstrim ( 119): Starting fstrim work... I/fstrim ( 119): Invoking FITRIM ioctl on /cache I/fstrim ( 119): Trimmed 447336448 bytes on /cache I/fstrim ( 119): Invoking FITRIM ioctl on /data I/fstrim ( 119): Trimmed 1194917888 bytes on /data I/fstrim ( 119): Finished fstrim work.
If your Android device (4.3+) is slow as hell due to I/O waiting. Try this command which will force an fstrim.
am broadcast -a android.intent.action.ACTION_IDLE_MAINTENANCE_START
$ adb logcat | grep -i fstrim I/fstrim ( 119): Starting fstrim work... I/fstrim ( 119): Invoking FITRIM ioctl on /cache I/fstrim ( 119): Trimmed 447336448 bytes on /cache I/fstrim ( 119): Invoking FITRIM ioctl on /data I/fstrim ( 119): Trimmed 1194917888 bytes on /data I/fstrim ( 119): Finished fstrim work.