I hereby claim:
- I am ryanzabcik on github.
- I am ryanz (https://keybase.io/ryanz) on keybase.
- I have a public key whose fingerprint is 0F53 72D5 17D1 08CA 08A9 ABD0 9BE2 668A 86F2 AB77
To claim this, I am signing this object:
#!/bin/sh | |
export DISPLAY=:0 | |
while true; do | |
# check to see if cudaminer is still alive, (possibly stopped) | |
if pgrep cudaminer; then | |
#if the monitor is on | |
if xset -q | grep -q 'Monitor is On'; then | |
pkill -STP cudaminer | |
else |
#!/bin/sh | |
if [ $EUID != 0 ]; then | |
echo -e '\e[31mError: this script needs to be run as root' | |
exit 1 | |
else | |
rsync -aHAX --delete-during --exclude={/lost+found,/var/lib/docker} /mnt/root/ /mnt/arch-backup | |
if mount | grep -q /mnt/data0-backup; then | |
if [ -d /mnt/data0-backup/ToMove ]; then | |
echo -e '\e[31mWarning: there are files to move from data0-backup/ToMove. This directory will be copied to data0.' | |
cp -rp /mnt/data0-backup/ToMove /mnt/data0/ToMove |
#!/bin/sh | |
if [ ! $UID = 0 ]; then | |
echo -e '\e[31merror: this script needs to be run as root' | |
exit 1 | |
else | |
# echo each command before executing to show progress | |
set -o xtrace | |
dd if=/dev/disk/by-label/win8 | gzip -c > /mnt/data0/Backup/win8.ntfs.gz | |
umount /mnt/arch-backup | |
dd if=/dev/disk/by-label/arch-backup | gzip -c > /mnt/data0/Backup/arch-backup.ext4.gz |
if [ $EUID != 0 ]; then | |
echo "It's a weird tree." | |
else | |
echo ' _ __' | |
echo ' / `\ (~._ ./ )' | |
echo ' \__/ __`-_\__/ ./' | |
echo ' _ \ \/ \ \ |_ __' | |
echo ' ( ) \__/ -^ \ / \' | |
echo ' \_/ " \ | o o |.. / __' | |
echo " \\. --' ==== / || / \\ " |
._5vb_, ._5vb_ #contentCol { | |
background-color: white; | |
} |
I hereby claim:
To claim this, I am signing this object: