Skip to content

Instantly share code, notes, and snippets.

Avatar

Dan Lipsitt DanLipsitt

View GitHub Profile
@DanLipsitt
DanLipsitt / brew_install_output.txt
Last active Dec 20, 2015
homebrew gtkglmm install failure on mac os 10.8
View brew_install_output.txt
==> Downloading http://downloads.sourceforge.net/gtkglext/gtkglextmm-1.2.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/gtkglextmm-1.2.0.tar.gz
tar xf /Library/Caches/Homebrew/gtkglextmm-1.2.0.tar.gz
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.9.4 (Ruby 1.8.7-358; Mac OS X 10.8.4) https://trac.macports.org/export/89836/trunk/dports/devel/gtkglextmm/files/patch-gtkglext_gtkmm_gl-widget.cc.diff -o 000-homebrew.diff --silent
==> Patching
/usr/bin/patch -f -p0 -i 000-homebrew.diff
patching file gtkglext/gtkmm/gl/widget.cc
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gtkglextmm/1.2.0
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gtkglextmm/1.2.0
@DanLipsitt
DanLipsitt / Vagrantfile
Created Mar 1, 2012 — forked from nathany/Vagrantfile
Vagrant Fabric experiment
View Vagrantfile
Vagrant::Config.run do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "debian_squeeze_32"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = "http://mathie-vagrant-boxes.s3.amazonaws.com/debian_squeeze_32.box"
# Assign this VM to a host only network IP, allowing you to access it via the IP.
config.vm.network "33.33.33.10"
@DanLipsitt
DanLipsitt / b64field.py
Created Dec 3, 2011 — forked from klipstein/b64field.py
Base64 file handling for django-tastypie
View b64field.py
import base64
import os
from tastypie.fields import FileField
from django.core.files.uploadedfile import SimpleUploadedFile
class Base64FileField(FileField):
"""
A django-tastypie field for handling file-uploads through raw post data.
It uses base64 for en-/decoding the contents of the file.
Usage: