Skip to content

Instantly share code, notes, and snippets.

View Sharpie's full-sized avatar

Charlie Sharpsteen Sharpie

View GitHub Profile
@Sharpie
Sharpie / Vagrantfile
Last active September 22, 2022 01:16
A simple Vagrantfile for spinning up a master-agent pair.
# -*- mode: ruby -*-
# vi: set ft=ruby :
# This configuration requires Vagrant 1.5 or newer and two plugins:
#
# vagrant plugin install vagrant-hosts ~> 2.1.4
# vagrant plugin install vagrant-auto_network ~> 1.0.0
#
# After installation, the following steps will spin up a master and agent that
# can communicate with each other:
@Sharpie
Sharpie / fix-fedora-networking
Last active December 19, 2015 01:09
Vagrant Patches
Fixes fedora network configuration.
Sourced from: https://github.com/mitchellh/vagrant/pull/1738.patch
Index: vagrant-1.2.2/templates/guests/fedora/network_static.erb
===================================================================
--- vagrant-1.2.2.orig/templates/guests/fedora/network_static.erb
+++ vagrant-1.2.2/templates/guests/fedora/network_static.erb
@@ -5,7 +5,7 @@ BOOTPROTO=none
ONBOOT=yes
IPADDR=<%= options[:ip] %>
@Sharpie
Sharpie / index.html
Last active December 18, 2015 23:49
Redmine Stats
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link type="text/css" rel="stylesheet" href="style.css"/>
<style type="text/css">
svg {
font-size: 14px;
}
@Sharpie
Sharpie / writeup.md
Last active December 18, 2015 14:59 — forked from big-samantha/writeup.md

Installing Oscar/insta-pe/insta-pants/soupkitchen

  1. Install the Xcode command line tools from connect.apple.com

    • Register if you don't have an AppleID, and login.
    • In the left hand search bar, search for "command", and download the latest command line tools for your release of OSX.
      • At time of writing, the latest tools are the April release, for Mountain Lion.
  2. Install homebrew.

@Sharpie
Sharpie / 2011_elk_river_inflow.csv
Created November 28, 2012 08:18
Inflow Visualization
date inflow
2011-1-1 8.524
2011-1-2 8.042
2011-1-3 7.743
2011-1-4 6.873
2011-1-5 6.857
2011-1-6 6.307
2011-1-7 6.089
2011-1-8 5.831
2011-1-9 5.862
@Sharpie
Sharpie / 9418767_2011_sse.csv
Created November 27, 2012 17:34
SSE Observations (Broken)
We can't make this file beautiful and searchable because it's too large.
time,sse
2011-01-01 00:00:00+00:00,-1.0620000000000001
2011-01-01 00:06:00+00:00,-1.048
2011-01-01 00:12:00+00:00,-1.0349999999999999
2011-01-01 00:18:00+00:00,-1.014
2011-01-01 00:24:00+00:00,-0.98599999999999999
2011-01-01 00:30:00+00:00,-0.95199999999999996
2011-01-01 00:36:00+00:00,-0.92900000000000005
2011-01-01 00:42:00+00:00,-0.875
2011-01-01 00:48:00+00:00,-0.85899999999999999
@Sharpie
Sharpie / 9418767_2011_sse.bin
Created November 25, 2012 01:17
SSE Observations (Canvas)
This file has been truncated, but you can view the full file.
time,sse
2011-01-01 00:00:00+00:00,-1.0620000000000001
2011-01-01 00:06:00+00:00,-1.048
2011-01-01 00:12:00+00:00,-1.0349999999999999
2011-01-01 00:18:00+00:00,-1.014
2011-01-01 00:24:00+00:00,-0.98599999999999999
2011-01-01 00:30:00+00:00,-0.95199999999999996
2011-01-01 00:36:00+00:00,-0.92900000000000005
2011-01-01 00:42:00+00:00,-0.875
2011-01-01 00:48:00+00:00,-0.85899999999999999
@Sharpie
Sharpie / 9418767_2011_sse.bin
Created November 24, 2012 22:10
SSE Observations (SVG)
This file has been truncated, but you can view the full file.
time,sse
2011-01-01 00:00:00+00:00,-1.0620000000000001
2011-01-01 00:06:00+00:00,-1.048
2011-01-01 00:12:00+00:00,-1.0349999999999999
2011-01-01 00:18:00+00:00,-1.014
2011-01-01 00:24:00+00:00,-0.98599999999999999
2011-01-01 00:30:00+00:00,-0.95199999999999996
2011-01-01 00:36:00+00:00,-0.92900000000000005
2011-01-01 00:42:00+00:00,-0.875
2011-01-01 00:48:00+00:00,-0.85899999999999999
@Sharpie
Sharpie / numpy_install.log
Created October 19, 2012 01:22
Pip 1.2.0 install logs for NumPy and SciPy
Downloading/unpacking numpy
Running setup.py egg_info for package numpy
Running from numpy source directory.non-existing path in '/private/var/folders/vh/cg0yywvx135f2n94qgd80vyr0000gn/T/pip-build/numpy/numpy/distutils': 'site.cfg'
F2PY Version 2
blas_opt_info:
FOUND:
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3)]
extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers']
@Sharpie
Sharpie / 0001-Use-GetEventHandler-to-call-AddPendingEvent.patch
Created February 16, 2012 19:38
Patches to allow Spatialite GUI to build against wxWidgets 2.9.x, 64 bit, on OS X
From c2751383a22aff1b4fec59d5f536d551e4655c90 Mon Sep 17 00:00:00 2001
From: Charlie Sharpsteen <[email protected]>
Date: Thu, 16 Feb 2012 11:19:40 -0800
Subject: [PATCH 1/2] Use GetEventHandler to call AddPendingEvent
`AddPendingEvent` is now a private method in wxWidgets 2.9.x so we must access
the event handler and use that to add the event.
---
ResultSetView.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)