Skip to content

Instantly share code, notes, and snippets.

View quinnjn's full-sized avatar

Quinn J Neumiiller quinnjn

  • Victoria, BC
  • 18:05 (UTC -07:00)
View GitHub Profile
@echo off
REM Taken from https://github.com/AlexanderMoskovkin/saucelabs-connector/blob/master/src/prerun/disable-intranet-compatibility-mode-in-ie.bat
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation" /t REG_DWORD /v IntranetCompatibilityMode /d 0 /f
@quinnjn
quinnjn / photos.sh
Last active October 3, 2016 01:20
Raspberry Pi timelapse
TIMELAPSE=86400000 # 24 hours
TIMEOUT=48000 # 48 seconds
raspistill --output timelapse-%04d.jpg --timeout $TIMEOUT --timelapse $TIMELAPSE
@quinnjn
quinnjn / characters.json
Created July 2, 2015 17:03
Data for Betrayal at House on the Hill
{
"characters": [
{
"name": "Brandon Jaspers",
"age": 12,
"height": 5.1,
"weight": "109 lbs",
"birthday": "1988-05-21",
"hobbies": [
echo > /etc/motd
echo "\033[1;33;41m ? ?? \033[0m" >> /etc/motd
echo "\033[1;33;41m ?????? \033[0m" >> /etc/motd
echo "\033[1;33;41m ????? ?????????? \033[0m" >> /etc/motd
echo "\033[1;33;41m ??????????????????????? \033[0m" >> /etc/motd
echo "\033[1;33;41m ?????????????????????????? \033[0m" >> /etc/motd
echo "\033[1;33;41m ? ? ???????????????? ?????? \033[0m" >> /etc/motd
echo "\033[1;33;41m ??? ??????????????????????????????? \033[0m" >> /etc/motd
echo "\033[1;33;41m ?????????????????????????????????????? \033[0m" >> /etc/motd
echo "\033[1;33;41m ?????????????????????????????????????? \033[0m" >> /etc/motd
@quinnjn
quinnjn / piCopyVideoFiles.py
Created January 28, 2014 03:36
I need a script for my Raspbery Pi that backs up my GO PRO videos to my external hard drive when both are plugged in. The Pi will be mounted on my motorcycle and this allows me to just plug in both sd card and external hard drive and auto backs up without any input from me.
#!/usr/bin/python
import subprocess
from pprint import pprint
import sys
import errno
from time import gmtime, strftime
import os
MOUNT_FOLDER = 'media' #Where the OS mounts the drives.