Skip to content

Instantly share code, notes, and snippets.

Austin Wise AustinWise

View GitHub Profile
View MapDrivesService.cs
// Woah, full project now here:
// http://github.com/AustinWise/MapDrives/tree/master
using System.Diagnostics;
using System.ServiceProcess;
View rword.sh
#/bin/bash
# Read four random bytes.
RAWVAL1="$(dd if=/dev/random bs=1 count=1 2> /dev/null)"
RAWVAL2="$(dd if=/dev/random bs=1 count=1 2> /dev/null)"
RAWVAL3="$(dd if=/dev/random bs=1 count=1 2> /dev/null)"
RAWVAL4="$(dd if=/dev/random bs=1 count=1 2> /dev/null)"
YVAL1=$(echo $RAWVAL1 | perl -e '$/ = undef; my $val = <STDIN>; print ord($val);')
YVAL2=$(echo $RAWVAL2 | perl -e '$/ = undef; my $val = <STDIN>; print ord($val);')
You can’t perform that action at this time.