Skip to content

Instantly share code, notes, and snippets.

View onlyhavecans's full-sized avatar
:shipit:
Squirreling about

Amelia Aronsohn onlyhavecans

:shipit:
Squirreling about
View GitHub Profile

Keybase proof

I hereby claim:

  • I am onlyhavecans on github.
  • I am onlyhavecans (https://keybase.io/onlyhavecans) on keybase.
  • I have a public key ASATJOl-8MKkchoDAGsmhnEbElUuYCk7Y6g350hnANRCJgo

To claim this, I am signing this object:

@onlyhavecans
onlyhavecans / -
Last active August 29, 2015 14:21
Attempting to converge a freebsd node with test-kitchen 1.4.0
bitm@D3-SD-MBP ~/C/fish-shell (master|✔)> kitchen destroy all
-----> Starting Kitchen (v1.4.0)
-----> Destroying <default-centos-66>...
Finished destroying <default-centos-66> (0m0.00s).
-----> Destroying <default-freebsd-93>...
Finished destroying <default-freebsd-93> (0m0.00s).
-----> Destroying <default-freebsd-101>...
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
Vagrant instance <default-freebsd-101> destroyed.
@onlyhavecans
onlyhavecans / gist:5481947
Created April 29, 2013 14:34
Version of pocket 1.3 that will download EVERYTHING
"""
Pocket Calibre Recipe v1.3
"""
from calibre import strftime
from calibre.web.feeds.news import BasicNewsRecipe
import urllib2
import urllib
import json
import operator
import tempfile
@onlyhavecans
onlyhavecans / gist:5302327
Created April 3, 2013 15:38
notmuch --emacs failure
% brew --config !2404
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: dbec907b42fca5cc434ecd157302334ded5facbd
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.7.5-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1362189000
@onlyhavecans
onlyhavecans / gist:5146862
Created March 12, 2013 20:47
The difference between my firewall passing at <100kb and full speed....
--- /var/backups/etc_pf.conf.current Tue Mar 12 01:30:06 2013
+++ /etc/pf.conf Tue Mar 12 13:17:50 2013
@@ -5,6 +5,7 @@
# in /etc/sysctl.conf if packets are to be forwarded between interfaces.
set skip on { lo, re1 }
+set block-policy return
# The interfaces
all_if = "{ egress, trusted, untrusted }"
{% for category, articles in categories %}
<h2><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></h2>
<ul>
{% for article in articles %}
<li><a href="{{ SITEURL }}/{{ article.url }}">{{ article }}</a></li>
{% endfor %}
</ul>
{% endfor %}
@onlyhavecans
onlyhavecans / gist:3782542
Created September 25, 2012 15:18
tiny-fugue fails build 10.7.5 Xcode 4.5
==> Downloading http://downloads.sourceforge.net/project/tinyfugue/tinyfugue/5.0%20beta%208/tf-50b8.tar.gz
/usr/bin/curl -qf#LA Homebrew 0.9.3 (Ruby 1.8.7-358; Mac OS X 10.7.5) http://downloads.sourceforge.net/project/tinyfugue/tinyfugue/5.0%20beta%208/tf-50b8.tar.gz -o /Library/Caches/Homebrew/tiny-fugue-5.0b8.tar.gz --silent
/usr/bin/tar xf /Library/Caches/Homebrew/tiny-fugue-5.0b8.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file src/malloc.c
==> ./configure --disable-debug --disable-dependency-tracking --enable-getaddrinfo --enable-termcap=ncurses --prefix=/usr/local/Cellar/tiny-fugue/5.0b8
./configure --disable-debug --disable-dependency-tracking --enable-getaddrinfo --enable-termcap=ncurses --prefix=/usr/local/Cellar/tiny-fugue/5.0b8
configure: Configuring TinyFugue version 5.0 beta 8
configure: