I hereby claim:
- I am thikade on github.
- I am thikade (https://keybase.io/thikade) on keybase.
- I have a public key ASB6-F_8FoNtOtrfmJzbDZMdj1iIi7-imeiBYuZwvcQ-vAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
perl -e 'print("\e]0;@ARGV\7");' $HOSTNAME |
# Mirror | |
httrack.exe http://127.0.0.1:8080/index.html -O c:\websites --single-log --robots=0 --sockets=1 --timeout=3 --connection-per-second=1000 --mirror | |
# Update Mirror | |
httrack.exe http://127.0.0.1:8080/index.html -O c:\websites --single-log --robots=0 --sockets=1 --timeout=3 --connection-per-second=1000 --update | |
- set level of concurrency by: --sockets=N | |
- rate limit by: --connection-per-second=N |
#!/usr/bin/env python | |
""" | |
Requires apachelog. `pip install apachelog` | |
""" | |
from __future__ import with_statement | |
import apachelog | |
import csv | |
import re | |
import sys | |
from optparse import OptionParser |
### Extract Private Key from PKCS12 file into PEM format | |
openssl pkcs12 -in key.p12 -passin pass:XXX -passout pass: -nocerts -out key.pem -nodes ; cat key.pem | |
ssldump -k ./key.pem port 9043 | |
openssl ciphers -V | grep -i 0x9c |
https://stackoverflow.com/questions/1342894/find-a-class-somewhere-inside-dozens-of-jar-files
for i in *.jar; do jar -tvf "$i" | grep -Hsi ClassName && echo "$i"; done
or
find path/to/libs -name '*.jar' -exec grep -Hls ClassName {} \;
for /R %G in (*.jar) do @jar -tvf "%G" | find "ClassName" > NUL && echo %G
# Unmount the filesystem and check its' LV
umount /mnt/foo
e2fsck -f /dev/mapper/vg0-foo
# Shrink ext4 and then the LV to the desired size
resize2fs -p /dev/mapper/vg0-foo 40G
lvreduce -L 40G /dev/mapper/vg0-foo
# Before continuing, run e2fsck. If it bails because the partition