Skip to content

Instantly share code, notes, and snippets.

View spencermathews's full-sized avatar

Spencer Mathews spencermathews

View GitHub Profile
@spencermathews
spencermathews / index.html
Last active May 8, 2018 01:37
OpenLayers SOS
<div id="map" class="map"></div>
<div id="info">&nbsp;</div>
<span id="status">&nbsp;0 selected features</span>
<div id=name></div>
@spencermathews
spencermathews / git_fetch_pull_all_subfolders.sh
Created December 17, 2017 22:17 — forked from mnem/git_fetch_pull_all_subfolders.sh
Simple bash script for fetching and pulling all repos in the executed folder to the latest of the branch they are on
#!/bin/bash
################
# Uncomment if you want the script to always use the scripts
# directory as the folder to look through
#REPOSITORIES="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REPOSITORIES=`pwd`
IFS=$'\n'
@spencermathews
spencermathews / .block
Created November 22, 2017 00:30
General Update Pattern, I
license: gpl-3.0
@spencermathews
spencermathews / Brewfile
Last active February 4, 2017 22:47
centralized Brewfile
# must --build-from-source
boost # source for caffe
boost-python # source for caffe
# must --ignore-dependencies
yarn # lists node as a required dependency but we have it through rbenv
# notes
# ghostscript binaries like dvipdf conflict with MacTex
# gs probably not necessary, can try leaving it unlinked
@spencermathews
spencermathews / Caffe Installation.md
Last active August 22, 2016 23:19
How to install Caffe

Installing Caffe

Installing Caffe on OSX

I installed Caffe on 10.11.6 using Homebrew Python and OSX Accelerate (was vecLib). Consider Anaconda and OpenBLAS for future installs, but I wanted to keep it simple (I could have used system python as well, but Caffe recommends hombrew as a second choice to Anaconda).

I installed python, numpy, scipy with Homebrew. Note that they are linked against Accelerate by default, so if using OpenBLAS these should be installed accordingly throughout the entire stack (and I think scikit-learn, which may be optional, should be installed after to properly link).

I followed the Caffe instructions for installation including the OSX specific stuff. It boils down to this:

@spencermathews
spencermathews / Jekyll
Last active April 20, 2018 06:45
Jekyll snippets
Jekyll tips, tricks, and snippets
@spencermathews
spencermathews / Xposed Modules.md
Last active May 9, 2016 23:53
Xposed modules of interest
  • GravityBox

  • XPrivacy

  • YouTube AdAway

  • MinMinGuard

  • Moto Tether

@spencermathews
spencermathews / Linux System Maintenance.md
Last active January 4, 2017 22:58
System maintenance

Notes for managing installations

@spencermathews
spencermathews / System Configuration.md
Last active March 29, 2016 01:59
System Configuration

Basic system configuration and dual boot info

@spencermathews
spencermathews / Backup Quick Reference.md
Last active March 23, 2016 09:51
How to back stuff up

Quick reference for backing up and restoring installed packages.

  • Homebrew
  • Python
  • R
  • Ruby