I hereby claim:
- I am apexskier on github.
- I am apexskier (https://keybase.io/apexskier) on keybase.
- I have a public key whose fingerprint is 0139 D25F 1AE2 7F02 C41B 260C 5C02 ABCF A51C D100
To claim this, I am signing this object:
Some notes about working with reStructuredText. Specifically, this is in the | |
context of the `WWU University Residences website <http://housing.wwu.edu>`_, | |
which has .rst files driving most of it's static content and is using | |
responsive `Bootstrap <twitter.github.io/bootstrap/>`_ for css styles and | |
framework. | |
========== | |
Fluid Rows | |
========== |
.twitter-typeahead { | |
width: 100%; | |
} | |
.twitter-typeahead .tt-query, | |
.twitter-typeahead .tt-hint { | |
margin-bottom: 0; | |
} | |
.input-group .form-control.tt-query:not(:first-child):not(:last-child) { | |
border-top-left-radius: 6px; | |
border-bottom-left-radius: 6px; |
""" | |
Uses my ledDriver for the Raspberry Pi to make a minute long game timer. | |
Just made in a few minutes one night. | |
https://github.com/apexskier/ledDriver | |
""" | |
import time, math | |
from homedo.libs.rgbLED.ledDriver import RGBDriver |
# /etc/udev/rules.d/99-input.rules | |
SUBSYSTEM=="input", GROUP="input", MODE="0660" | |
KERNEL=="input[0-9]*", RUN+="/usr/lib/udev/bluetooth" |
import pyaudio | |
from array import array | |
import wave | |
import requests | |
import json | |
CHUNK = 1024 | |
FORMAT = pyaudio.paInt16 | |
CHANNELS = 2 | |
RATE = 44100 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# Deploy hooks stored in your git repo to everyone! | |
# https://gist.github.com/apexskier/efb7c1aaa6e77e8127a8 | |
# | |
# I keep this in $ROOT/$HOOK_DIR/deploy | |
# From the top level of your git repo, run ./hook/deploy (or equivalent) after | |
# cloning or adding a new hook. | |
# No output is good output. | |
BASE=`git rev-parse --git-dir` |
#!/usr/bin/python | |
""" | |
based on http://fitzgeraldnick.com/weblog/9/ | |
A pre-commit hook for git that provides some automated code review. | |
This script must be located at ``$REPO/.git/hooks/pre-commit`` and be | |
executable. | |
""" |
#!/usr/local/bin/bash | |
# find all files that should be start pages | |
for dir in `find . -type d` | |
do | |
file="${dir}.txt" | |
if [ `ls "${dir}.txt" 2> /dev/null ` ] | |
then | |
# generate the link to the file | |
dokulink=$(sed "s|^\./\(.*\)\.txt|\1|" <<< "${file}" | sed "s|/|:|g") |