I hereby claim:
- I am jmiserez on github.
- I am jmiserez (https://keybase.io/jmiserez) on keybase.
- I have a public key ASB1Z3r-6WbG1JJ12os9xUuXhFMe5QElabQLKWD_M29nPQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Original author: https://gist.github.com/PaulMaddox/9210543 | |
# Requires cli53 to be installed | |
# https://github.com/barnybug/cli53 | |
DNS_NAME="home"; | |
DNS_ZONE="example.com"; | |
# not needed, we have a ~/.boto file |
#!/bin/bash | |
# | |
# xenvm_backup_encrypted.sh | |
# | |
# Author: Jeremie Miserez <jeremie@miserez.org> | |
# Latest version: https://gist.github.com/jmiserez/f7771d0c82455128839d | |
# | |
# This script will: | |
# 1. Connect to a remote XenServer server over SSH | |
# 2. Shutdown the specified VM |
#!/bin/bash | |
# | |
# xenvm_decrypt_backup.sh | |
# | |
# Author: Jeremie Miserez <jeremie@miserez.org> | |
# Latest version: https://gist.github.com/jmiserez/11a8aafeee9256645ac5 | |
# | |
# This script will decrypt encrypted images generated by xenvm_backup_encrypted.sh, | |
# (https://gist.github.com/jmiserez/f7771d0c82455128839d), when given a .key.enc file | |
# and if all related files are in the same directory as the .key.enc file. |
#!/bin/bash | |
# Original idea: http://superuser.com/a/784102/59125 | |
pidtree(){ | |
pids_for_ppid=() | |
while read pid ppid; do | |
pids_for_ppid[$ppid]+=" $pid" | |
done < <(ps -e -o pid,ppid --no-headers) |
#!/bin/bash | |
dig +short @resolver1.opendns.com myip.opendns.com |
#!/bin/bash | |
mkdir /tmp/magick_tmp | |
MAGICK_TMPDIR=/tmp/magick_tmp | |
export MAGICK_TMPDIR | |
LECTURENOTESDIR=/home/ec2-user/Dropbox/LectureNotes/ | |
cd $LECTURENOTESDIR | |
process_directory() { |