I hereby claim:
- I am JonTheNiceGuy on github.
- I am jontheniceguy (https://keybase.io/jontheniceguy) on keybase.
- I have a public key whose fingerprint is 165D CE43 94BA 1D2B 5C40 77D8 46C7 BB36 7C28 E565
To claim this, I am signing this object:
| <?php | |
| switch($_SERVER['REQUEST_URI']) { | |
| case '/t/': | |
| case '/@/': | |
| case '/twitter/': | |
| redirect("https://twitter.com/JonTheNiceGuy"); | |
| break; | |
| case '/fb/': | |
| case '/facebook/': | |
| redirect("https://www.facebook.com/JonTheNiceGuy"); |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| if [ -z "$2" ]; then | |
| dpath=/media/usb0/Multimedia/Audio/ | |
| else | |
| dpath="$2" | |
| fi | |
| if [ -z "$3" ]; then | |
| spath="`pwd`" | |
| else | |
| spath="$3" |
| -----BEGIN PGP SIGNED MESSAGE----- | |
| Hash: SHA512 | |
| https://jon.sprig.gs/blog | |
| https://twitter.com/jontheniceguy (defunct) | |
| https://twitter.com/g7vri | |
| http://g7vri.me | |
| https://github.com/JonTheNiceGuy | |
| https://keybase.io/jontheniceguy | |
| -----BEGIN PGP SIGNATURE----- |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.box = "ubuntu/trusty64" | |
| config.vm.hostname = "demo.lan" | |
| config.vm.network "public_network", ip: "192.0.2.1", bridge: "eth0", :use_dhcp_assigned_default_route => true |
| #!/bin/bash | |
| git log -S"$1" -- www/index.html | grep commit |
| InputBox, Sleep_Period, Alt-Tab-Script, How long do you want to wait between alt-tab - default 1 minute, , , , , , , , 1 | |
| InputBox, Number_Windows, Alt-Tab-Script, How many windows (max 6), , , , , , , , 3 | |
| SleepTime := ((Sleep_Period * 60) * 1000) | |
| MsgBox, Sleeping %SleepTime% | |
| Loop { | |
| sleep, %SleepTime% | |
| if Number_Windows = 2 | |
| { | |
| Send, {alt down}{tab}{alt up} | |
| } |
| define createuser ( | |
| $username = $title, | |
| $password = 'defaultpw', | |
| $groups = ['users'], | |
| $home = "/home/${username}" | |
| $shell = '/bin/bash') { | |
| user { $username: | |
| ensure => present, | |
| password => generate( |
| spriggsj@Minilith:~/HTIW/one$ ~/showoff/bin/showoff serve | |
| WARN: pdf generation disabled - install pdfkit | |
| ------------------------- | |
| Your ShowOff presentation is now starting up. | |
| To view it plainly, visit [ http://localhost:9090 ] | |
| To run it from presenter view, go to: [ http://localhost:9090/presenter ] |
| #! /bin/bash | |
| if [ -n "$DISPLAY" ]; then | |
| CURRENTDISPLAY="`echo $DISPLAY | cut -d ':' -f 2 | cut -d '.' -f 1 | sed -e s/^/:/`" | |
| DPYNAME="`xauth list | grep "$CURRENTDISPLAY" | cut -d ' ' -f 1`" | |
| PROTONAME="`xauth list | grep "$CURRENTDISPLAY" | cut -d ' ' -f 3`" | |
| HEXKEY="`xauth list | grep "$CURRENTDISPLAY" | cut -d ' ' -f 5`" | |
| fi | |
| if [ -z "$1" ] && [ `id -u root` == '0' ]; then | |
| SU_TO="root" |