Skip to content

Instantly share code, notes, and snippets.

View jacebrowning's full-sized avatar

Jace Browning jacebrowning

View GitHub Profile
1. Connect to "Guest" wifi access point
2. Open your browser (Firefox preferred)
2. Go to https://guestaccess.calvin.edu
3. Complete the form and register for access via text message
4. Wait for a text message and enter the provided pin
5. Close your browser
6. Turn off wifi
7. Turn on wifi and connect to the "Guest" wifi access point
8. Open your browser (Firefox preferred)
9. Go to http://example.com
@jacebrowning
jacebrowning / bootstrap_python3_osx.sh
Last active August 29, 2015 14:14
Bootstraps a Python 3 installation on a new Mac.
#/bin/sh
# ======================================================================
# 1. Click the spotlight icon
# 2. Type "terminal" and press enter
# 3. In the new window, type "gcc" and press enter
# 4. If another dialog appears, click Install and wait for completion
# 5. Click the spotlight icon
# 6. Type "terminal" and press enter
# 7. Copy all of the lines below this block
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jacebrowning
jacebrowning / GRDevDay.json
Last active August 29, 2015 13:57
iPython Notebook portion of GRDevDay presentation on Doorstop.
{
"metadata": {
"name": "",
"signature": "sha256:ec9792295d515a0c75fe14b1a7b72f536dad998a3da1f0a00bfddee68c54e762"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@jacebrowning
jacebrowning / Makefile
Last active August 29, 2015 13:57 — forked from lmullen/gist:3767386
# Produce PDFs from all Markdown files in a directory
#
# https://gist.githubusercontent.com/jacebrowning/9376324/raw/Makefile
#
# On Windows, install:
#
# - https://pandoc.googlecode.com/files/pandoc-1.12.3.msi
# - http://mirrors.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.5105.exe
# List files to be made by finding all *.md files and appending .pdf
@jacebrowning
jacebrowning / .bashrc
Last active January 4, 2016 16:59
Bash run commands for Cygwin.
# Sublime Text 2
alias sublime="/cygdrive/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe"
subl()
{
for f in $@
do
sublime `cygpath -w $f` &
done
}
alias e="sublime -n . &"
@jacebrowning
jacebrowning / args.txt
Last active December 28, 2015 06:19
PyLint and PEP8 arguments for PyDev.
# PyLint
--report=no
--msg-template="{msg_id}:{line:3d},{column}:- {msg} - {obj}"
--max-line-length=79
--disable=I0011,W0142,W0511,R0801
# PEP8
--ignore=E501
@jacebrowning
jacebrowning / .bash_profile
Last active December 25, 2015 22:19
Bash profile for OS X.
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
# Git branch in prompt
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
# Git bash completion
@jacebrowning
jacebrowning / mock_integration.ipynb
Last active December 23, 2015 05:29
'Mixing Unit Tests and Integration Tests' presentation from GRPUG. View at: http://nbviewer.ipython.org/6587691
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jacebrowning
jacebrowning / import_awesome.ipynb
Last active December 21, 2015 13:49
'Python is Awesome' presentation from BarCampGR 2013. View at: http://nbviewer.ipython.org/6315001
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.