Skip to content

Instantly share code, notes, and snippets.

View blakerohde's full-sized avatar

Blake Rohde blakerohde

View GitHub Profile
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta charset="UTF-8" />
<title>Test</title>
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript">
$j = jQuery.noConflict();
@blakerohde
blakerohde / owncloud-filename-fixer.py
Created July 31, 2013 06:13
Used to remove '_conflict-YYYYMMDD-######' substrings from ownCloud-deemed conflicted files.
#!/usr/bin/env python
"""
owncloud-filename-fixer.py
Used to remove '_conflict-YYYYMMDD-######' substrings from ownCloud-deemed conflicted files.
:copyright: (c) 2013 by Blake Rohde.
:license: ISC, see LICENSE for more details.
"""
@blakerohde
blakerohde / git-quick-start-notes.rst
Last active January 29, 2017 07:11
Git Quick-Start Notes

Git Quick-Start Notes by Blake Rohde, 2013

Create the repository on the server

$ mkdir PROJECT.git
@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.
"""
@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 / 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 / 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 / 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 / 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 / Bypassing needless CenturyLink Wireless Router on Gigabit Fiber.txt
Created May 28, 2016 05:35
Bypassing needless CenturyLink Wireless Router on Gigabit Fiber