I hereby claim:
- I am grynn on github.
- I am grynn (https://keybase.io/grynn) on keybase.
- I have a public key whose fingerprint is 7C92 03B8 2B01 361C C8F6 9D86 4143 B7D7 716C 6CFB
To claim this, I am signing this object:
#!/bin/bash | |
set -e | |
set -o pipefail | |
VERBOSE= | |
MAX_TIME_SECONDS= | |
function usage { | |
cat <<EOF |
@for /f %%i in ('php -r "echo realpath(__DIR__);"') do pushd %%i |
#!/bin/bash | |
set -e | |
if [ -z $1 ]; then | |
echo Usage: docker-fs [short-id \| name] | |
exit 1; | |
fi | |
ID=$(docker inspect -f '{{.Id}}' $1) |
#!/bin/bash | |
set -e | |
DEBUG=1 | |
while getopts p:h:v? flag; do | |
case $flag in | |
p) | |
opt_p=$OPTARG | |
;; |
php -r "getmxrr('abc.com', $m, $w); $mx = array_combine($w,$m); ksort($mx); echo json_encode(['abc.com'=>$mx],JSON_PRETTY_PRINT);" |
#!/bin/bash | |
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
#!/bin/bash | |
ping $(perl -e '$ENV{"SSH_CLIENT"} =~ m/^(\S+)/; print "$1\n";') |
I hereby claim:
To claim this, I am signing this object:
cat /etc/apache2/sites-available/* /etc/nginx/sites-available/* | perl -ne 'print if (!m/^\s*#/ && m/ServerName|ServerAlias/i);' |
#!/bin/bash | |
while read p; do | |
(svn list -R "$p" | xargs -I{} echo $p{} | tee -a allfiles.txt) & | |
done < repos.txt | |
wait #for above jobs to finish... |