Skip to content

Instantly share code, notes, and snippets.

View justinfx's full-sized avatar

Justin Israel justinfx

View GitHub Profile
@goldsmith
goldsmith / numpy_os_x_10_9.sh
Last active January 6, 2024 07:25
How to install Numpy and Scipy on Mac OS X Mavericks (10.9) using Pip.
# set up flags for Numpy C extentions compiling
export CFLAGS="-arch i386 -arch x86_64"
export FFLAGS="-m32 -m64"
export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64"
export CC=gcc-4.2
export CXX="g++ -arch i386 -arch x86_64"
pip install numpy
# success!
@xjamundx
xjamundx / sencha-touch-signature.js
Created February 26, 2011 16:18
Signature Drawing Canvas Panel in Sencha Touch
(function() {
var clicked, canvas, ctx, coords, offsetX, offsetY, oldX, oldY;
app.views.Signature = Ext.extend(Ext.Panel, {
layout: {
type: 'vbox',
pack: "center",
align: "center"
},