I hereby claim:
- I am jeremywrnr on github.
- I am jwrnr (https://keybase.io/jwrnr) on keybase.
- I have a public key ASAx6T8uKxs1QPj5QBwbv0vrIMXO1nQH54vB3hviDoXArwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# python gpio setup from: | |
# http://raspberry.io/projects/view/reading-and-writing-from-gpio-ports-from-python/ | |
# Install Python development tools | |
sudo apt-get update | |
sudo apt-get install python-dev python-pip | |
sudo pip install --upgrade distribute | |
sudo pip install ipython |
#!/usr/bin/env ruby | |
# scholar-rename | |
# prereq: pdftotext installation | |
# renames a pdf file to author-year-title.pdf | |
# confirms with user before moving | |
# warning: accurate ~ 50% of time | |
system("pdftotext -q #{ARGV.first} temptext") |
# using the SerialPort gem, rout serial input to OSX keyboard | |
require 'serialport' | |
require 'accessibility/keyboard' | |
include Accessibility::Keyboard | |
# params for serial port, may be different for you | |
port = '/dev/cu.usbmodem1421' | |
SerialPort.open(port) do |sp| | |
# configure port |
%% begin 'cv.tex' | |
%------------------------------------------------------------------ Doc settings | |
\documentclass[letterpaper,11pt]{article} | |
\newlength{\outerbordwidth} | |
\pagestyle{empty} | |
\raggedright | |
\raggedbottom | |
\usepackage{ulem} |
group = 0..8 | |
threads = [] | |
group.each do |member| | |
threads << Thread.new do | |
# DO MULTITHREADING HERE | |
# puts member | |
end |
#!/usr/bin/env ruby | |
# add colors | |
class String | |
def colorize(bg) | |
"\e[0;0;#{bg}m#{self}\e[0;0m" | |
end | |
end |
#!/bin/bash | |
# status - a git tool by jeremy warner | |
# cycle through subfolders, run git status, cleanup | |
# check if verbose | |
for arg; do if [[ $arg == "-v" ]]; then verbose="true"; fi; done |
#/usr/bin/env perl -w | |
# by jeremy warner, f14 | |
use strict; | |
# determine number of channels to test | |
die "enter \# channels, then sectors\n" unless @ARGV == 2; | |
my ($chan, $sect) = @ARGV; | |
# program constants |
% required package for plotting | |
\usepackage{pgfplots} | |
% required package for plotting | |
\begin{center} | |
\begin{tikzpicture} | |
\begin{axis}[ | |
title={Question 2}, | |
xlabel={Nodes}, | |
ylabel={Voltage (V)}, |