Skip to content

Instantly share code, notes, and snippets.

View blakerohde's full-sized avatar

Blake Rohde blakerohde

View GitHub Profile
@blakerohde
blakerohde / autoexec.cfg
Last active June 6, 2021 13:44
Team Fortress 2 autoexec.cfg
// Source: https://gist.github.com/blakerohde/ec55ac3710b540adac2eda8f3924a3fa
// Launch options (Steam > Library > Team Fortress 2 > Properties > Set Launch Options...): -windowed -noborder
// Script-based (C:\SteamLibrary\steamapps\common\Team Fortress 2\tf\cfg\autoexec.cfg):
// Unbind unused keys:
unbind MWHEELUP
unbind MWHEELDOWN
unbind I
@blakerohde
blakerohde / samba-fileshare-virtualbox-notes.rst
Last active February 16, 2023 04:03
Proper Fileshare for a Windows 10 Host and Ubuntu (Linux) VirtualBox Guest Using Samba

VirtualBox Samba Fileshare Quick-Start Notes by Blake Rohde, 2020

Environments

VirtualBox Host OS:Windows 10 Pro
VirtualBox Guest OS:Ubuntu 16.04 LTS
@blakerohde
blakerohde / openFrameworks.txt
Last active September 22, 2016 05:03
Getting Started with openFrameworks 0.9.3 + Eclipse Neon (4.6) + Fedora 24
Install Eclipse CDT (C/C++) IDE:
1) $ sudo dnf install eclipse-cdt
2) Within Eclipse, install the "C/C++ Development Tools" and "C/C++ Development Tools SDK" plugins using the IDE plugin manager
3) Within the IDE plugin manager, search for all "C++" plugins and Install All The Things (.jpg)
Download and Setup openFrameworks:
1) Download and extract openFrameworks: http://openframeworks.cc/download/
2) Follow the Linux Install guide: http://openframeworks.cc/setup/linux-eclipse/
3) Follow the Linux Eclipse Setup guide: http://openframeworks.cc/setup/linux-eclipse/
@blakerohde
blakerohde / Bypassing needless CenturyLink Wireless Router on Gigabit Fiber.txt
Created May 28, 2016 05:35
Bypassing needless CenturyLink Wireless Router on Gigabit Fiber
@blakerohde
blakerohde / single-rainbow.txt
Created February 8, 2015 10:17
Drawing Rainbows!
# Color hack for fun
rainbow = (
'cyan',
'blue',
'magenta',
'pink',
'red',
'orange',
'yellow',
'green',
@blakerohde
blakerohde / Building-SSL-Certificate-Bundles.txt
Last active August 29, 2015 14:12
Building SSL Certificate Bundles
cp crt crt_bundle
cat COMODORSADomainValidationSecureServerCA.crt >> crt_bundle
cat COMODORSAAddTrustCA.crt >> crt_bundle
cat AddTrustExternalCARoot.crt >> crt_bundle
@blakerohde
blakerohde / time-lapse-notes.rst
Last active January 1, 2016 19:58
Notes for creating a time lapse video.

Time Lapse Notes

This document briefly outlines the basic steps required to generate a time lapse video from a set of images.

Steps

  1. Capture images. It is best if the files have sequential naming convention.
@blakerohde
blakerohde / CENTOS-SETUP-GUIDE.rst
Last active December 25, 2015 22:29
CentOS Server Setup

CentOS Server Setup

Initial Setup

  1. Change the default root password using # passwd.
  2. Copy firewall shell script and modify it accordingly. Run it.
  3. Setup SSH by editing /etc/ssh/sshd_config and adding/editing the following lines. Note each allowed SSH user must replace USERNAME1, USERNAME2, etc. below.
@blakerohde
blakerohde / Using-AVRDragon.rst
Last active December 22, 2015 16:59
Notes for using the AVRDragon with an Arduino Duemilanove and/or other compatible AVR chips.

Using AVRDragon

Hardware Setup

  1. For Arduino Duemilanove:Make sure RESET-EN jumper is broken.
  2. Power on AVRDragon via USB.
  3. Connect ISCP cable with ribbon end pointing towards USB ports of Arduino and AVRDragon.
  4. Power on Arduino via external power source.
@blakerohde
blakerohde / seafile-conflict-detector.py
Created August 22, 2013 03:40
Used to search a starting directory recursively looking for files with seafile conflict strings in their filename.
#!/usr/bin/env python
"""
seafile-conflict-detector.py
Used to search a starting directory recursively looking for files with seafile conflict strings in their filename.
:copyright: (c) 2013 by Blake Rohde.
:license: ISC, see LICENSE for more details.
"""