Skip to content

Instantly share code, notes, and snippets.

View cohoe's full-sized avatar

Grant Cohoe cohoe

View GitHub Profile
@cohoe
cohoe / thelist.md
Last active September 21, 2016 03:38

My "culturing" movie list:

  1. Hunt for red October
  2. My cousin vinnie
  3. Trading places
  4. Stripes
  5. Planes trains and automobiles
  6. Goodfellas
  7. Casino
  8. Scarface
@cohoe
cohoe / gpc
Last active August 29, 2015 14:03
Gene Polisseni Center @ RIT - Seating Diagram
* NOT TO SCALE *
+----------+------------------+-----------+
<- SAU | Suites | | Media | U(suck) Lot ->
+----------+------------------+-----------+
/-------------------------------------------\
/ Concourse \
+-----+ / /---------------------------+-------------\ \ +-----+
WARNING: This is was written with best effort, but accuracy is not
guaranteed. I wouldn't start wagering money or first-borns on this.
Been playing with the Womens D-I PairWise situation for the last few
days. With RIT winning the CHA, they have the chance to play in Boston.
But in order to guarantee that, Boston College would need the #1 seed.
They are currently sitting there right now since Minnesota lost to
Bemidji State earlier today. However they (BC) are playing Boston
University in the Hockey East final tomorrow. The Terriers have won the
last 3 WHEA titles (including last year against BC). An Eagles win would
rtmp://23.108.62.4:1935/flash4/rithockeyvideo
https://o6.stretchinternet.com/loadbalancer
rtmp://o8.stretchinternet.com:1935/flash4/rithockeyvideo
rtmp://o8.stretchinternet.com:1935/flash4/ritwhockeyvideo
@cohoe
cohoe / ansibled.md
Last active December 1, 2017 23:21
Ansible daemon to replace Func

Host Setup

sshd_config:

TrustedUserCAKeys /path/to/ca.pub
AuthorizedPrincipalsFile .ssh/auth_users
PasswordAuthentication no
PidFile /var/run/ansibled.pid
SyslogFacility LOCAL
Port 7022
<html>
<head>
<style type="text/css">
body {
background-color: black;
}
span {
font-family: Arial, Helvetica, sans-serif;
@cohoe
cohoe / AutoHotkey.ahk
Last active March 30, 2018 21:11
Windows IR Remote Tweaks
^+!1::
Run "C:\Program Files (x86)\Steam\Steam.exe" "-tenfoot"
Return
^+!2::
Run "C:\Windows\explorer.exe" "shell:appsFolder\EF712BA7.HDHomeRunDVR_23nna27hyxhag!App"
Return
^+!3::
Run "C:\Program Files (x86)\Plex Home Theater\Plex Home Theater.exe"
'Windows: Where I need a shell wrapper to run a shell script because it appears with a GUI box.
Set objShell = CreateObject("Wscript.shell")
objShell.run "powershell.exe -NoProfile -WindowStyle hidden -command C:\Users\cohoe\Desktop\bluetooth.ps1 -BluetoothStatus toggle", 0, True
# Download the Puppet Agent
$puppet_local_package='puppet.msi'
$puppet_download_directory='C:\Users\camper\Downloads'
if (!(Test-Path $puppet_download_directory\$puppet_local_package)) {
Invoke-WebRequest https://downloads.puppetlabs.com/windows/puppet-agent-x64-latest.msi -OutFile $puppet_download_directory\$puppet_local_package
}
msiexec /q /i $puppet_download_directory\$puppet_local_package