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:
export HISTSIZE=50000; export HISTFILESIZE=50000 | |
alias ll="ls -al" | |
alias git="git -c http.sslVerify=false " | |
alias gitc='git -c http.sslVerify=false' | |
alias ga='git add' | |
alias gb='git branch' | |
alias gc='git commit' | |
alias gco='git checkout' |
# set WLP Home dir | |
WLP_HOME=C:\wlp | |
# path to server cmd | |
WLP_CMD=%WLP_HOME%\bin\server | |
# loop over "server list" output to get all defined Liberty servers, | |
# then execute "server status" for each server | |
# The first line reads `The following servers are defined..` and will be ignored. | |
for /f "tokens=1" %G in ('%WLP_CMD% list ^|findstr /v "^The"') DO %WLP_CMD% status %G |
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