I hereby claim:
- I am brycied00d on github.
- I am brycec (https://keybase.io/brycec) on keybase.
- I have a public key whose fingerprint is D52A 28D2 6027 1223 D86A 8DF5 F3E5 CBF7 204B D612
To claim this, I am signing this object:
#!/bin/bash | |
# Easy to use! | |
# awsetbg -u /path/to/multi-bg-set.sh -r /path/to/images | |
# Or, just call it by itself: /path/to/multi-bg-set.sh /path/to/some/image.ext | |
INPUT=$1 | |
if [ ! -f "$INPUT" ] | |
then | |
echo "Input file must exist!" | |
exit 1 |
#!/usr/bin/perl -w | |
use strict; | |
use threads; | |
use threads::shared; | |
my $script_dir = $ENV{"HOME"}."/.dwm/dwstat"; | |
my $divider = " | "; |
#!/bin/bash | |
capturefile="$HOME/Dropbox/Public/screenshot_`date +%F_%H-%M-%S`.png" | |
#echo $capturefile | |
scrot -s "$capturefile" | |
URL=$(dropbox puburl "$capturefile") | |
echo -n "$URL" | xclip -selection p | |
echo -n "$URL" | xclip -selection c | |
notify-send "Screenshot Uploaded" "Screenshot uploaded as $URL" | |
echo "$URL" |
#!/bin/bash | |
FILE=${1:-ERROR} | |
MOUNTPATH=${2:-/mnt/image/} | |
OWD=$PWD | |
if [ "x$FILE" = "xERROR" ] | |
then | |
echo "No file specified" | |
exit 1 | |
fi |
#!/bin/bash | |
MIRROR=mirrors.us.kernel.org | |
ROOTDIR=/home/image/boot/ | |
# http://$MIRROR/debian/dists/squeeze/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz | |
# http://$MIRROR/debian/dists/squeeze/main/installer-i386/current/images/netboot/debian-installer/i386/linux | |
# $ROOTDIR/Debian/squeeze/i386/ | |
for REL in jessie wheezy #squeeze lenny etch sarge | |
do | |
for ARCH in i386 amd64 |
#!/bin/bash | |
MIRROR=mirrors.us.kernel.org | |
ROOTDIR=/home/image/boot/ | |
#wget -N http://$MIRROR/centos/5/os/i386/images/pxeboot/initrd.img http://$MIRROR/centos/5/os/i386/images/pxeboot/vmlinuz | |
#wget -N http://$MIRROR/centos/5/os/x86_64/images/pxeboot/initrd.img http://$MIRROR/centos/5/os/x86_64/images/pxeboot/vmlinuz | |
#wget -N http://$MIRROR/centos/6/os/i386/images/pxeboot/initrd.img http://$MIRROR/centos/6/os/i386/images/pxeboot/vmlinuz | |
#wget -N http://$MIRROR/centos/6/os/x86_64/images/pxeboot/initrd.img http://$MIRROR/centos/6/os/x86_64/images/pxeboot/vmlinuz | |
# Starting with RHEL 7, there are only x86_64 releases (no i386) |
#!/bin/bash | |
MIRROR=mirrors.us.kernel.org | |
ROOTDIR=/home/image/boot | |
for REL in vivid utopic trusty saucy precise lucid #raring quantal oneiric natty maverick | |
do | |
for ARCH in i386 amd64 | |
do | |
echo "Sync'ing Ubuntu $REL / $ARCH..." | |
mkdir -p $ROOTDIR/Ubuntu/$REL/$ARCH/ |
#!/bin/bash | |
# Quick script to build a USB bootable stick | |
# Requires syslinux, sfdisk, dosfstools, and looptools | |
# ex: script2.sh /dev/sdd /path/to/overlay | |
USBDEVICE=$1 | |
if [ ! $1 ] | |
then | |
echo You must specify the full path to the USB device, e.g. /dev/sdd | |
exit 1 |
I hereby claim:
To claim this, I am signing this object:
<?php | |
// pfSense PHP script to generate a range of DNS forwarder hosts based on | |
// "dot${lastoctet}", eg. 192.0.2.100 == dot100.example.com | |
// Open terminal, run "php" copy/paste script with the following defines tweaked | |
// Ctrl-D, wait a moment until you see "Content-type: text/html" | |
// Open the DNS config in the web UI and click Apply Changes | |
define('DOT_DOMAIN', 'example.com'); | |
define('DOT_SUBNET', '192.0.2.'); // Leave off the final octet, include the dot | |
define('DOT_RANGE_START', 100); |