Skip to content

Instantly share code, notes, and snippets.

View bennettaur's full-sized avatar

Michael Bennett bennettaur

View GitHub Profile
@bennettaur
bennettaur / rando_cursor
Created July 19, 2013 00:59
This is a small VB script that moves a person's cursor to a random spot on their screen. It relies on Excel to run a macro.
Option Explicit
Dim Excel, x, y, i
Dim min, max
Randomize
min = 0
max = 500
Set Excel = WScript.CreateObject("Excel.Application")
alert('test');

Keybase proof

I hereby claim:

  • I am bennettaur on github.
  • I am bennettaur (https://keybase.io/bennettaur) on keybase.
  • I have a public key whose fingerprint is 7A89 B28F AE61 4121 96D1 D594 83D9 AEEE 1B54 987B

To claim this, I am signing this object:

import logging
import socket
import sys
logger = logging.getLogger("connections.log")
# Find the current host's name and IP
HOST = socket.gethostbyname(gethostname())
PORT = 8888
@bennettaur
bennettaur / install.sh
Last active August 29, 2015 14:20
Mac Setup
# Install brew if you haven't already
if [[ -z "$(which brew)" ]]
then
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Install Homebrew Cask
brew install caskroom/cask/brew-cask
brew cask install google-chrome
#!/usr/bin/osascript
say "I am the almighty Meelawsh. Ruler of all hack a thons" using "Alex" speaking rate 140 pitch 42 modulation 60