Skip to content

Instantly share code, notes, and snippets.

stepheneb / gist:543f626ee6bdd8c4f40a
Created Apr 8, 2015
errors building mod_tile on Mac OS X 10.1`0
View gist:543f626ee6bdd8c4f40a
$ ./
autoreconf: Entering directory `.'
autoreconf: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: tracing
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in '.'.
glibtoolize: copying file './'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: copying file 'm4/libtool.m4'
stepheneb / gist:7553133
Created Nov 19, 2013
crash report cloning repo with GitX
View gist:7553133
Process: GitX [2973]
Path: /Applications/
Identifier: net.phere.GitX
Version: 0.14.95 dev (0.14.95)
Code Type: X86-64 (Native)
Parent Process: launchd [243]
Responsible: GitX [2973]
User ID: 503
Date/Time: 2013-11-19 16:27:49.543 -0500
stepheneb / brew-info-ffmpeg.json
Created Nov 5, 2013
brew info --json=v1 ffmpeg
View brew-info-ffmpeg.json
"caveats": null,
"conflicts_with": [],
"dependencies": [
View gist:7313227
$ brew regenerate
brew install -v ack
brew install -v apple-gcc42
brew install -v autoconf213
brew install -v ccache
brew install -v cmake
brew install -v couchdb
brew install -v elixir
brew install -v wget
brew install -v gawk
stepheneb / brew-regenerate.rb
Created Nov 5, 2013
generates the commands to re-install home-brew packages from scratch
View brew-regenerate.rb
# Outputs brew install commands that can be used to re-install all packages
# Place brew-regenerate on the PATH
# run: brew regenerate
require 'formula'
require 'tab'
# To debug with pry install the gem into the Ruby 1.8 installed with the system.
# /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
View gist:6157300
$ make test-mocha
Running Mocha tests ...
183 passing (6 seconds)
1 failing
1) MD2D modeler when rectangle with electric field is removed "before each" hook:
View latent-heat.json
"title": "Latent Heat",
"publicationStatus": "draft",
"subtitle": "",
"about": "",
"models": [
"type": "md2d",
"id": "page7$0",
"url": "interactives/latent-heat-model.json",
stepheneb /
Last active Jan 8, 2020
IE Bug: Drag outside iframe and mouseup on IE10

IE Bug: Drag outside iframe and mouseup on IE10

The green circle is draggable.

The drag operation should be canceled when the drag extends outside of the iframe boundary and the drag is released.

This works in Chrome, Firefox, and Safari.

In IE10 (and probably IE9) a mouse-up (drag-end) event occurring outside the iframe is not processed correctly and the drag is now stuck on.


Comparing results of make task to build jquery in standard working dir and in a new clone.

building jquery with make task after running make clean in current working dir for Lab:

cd vendor/jquery; npm install; \
   npm install grunt-cli; \
npm WARN prefer global grunt-cli@0.1.9 should be installed with -g
npm http GET
stepheneb / wise-vle-eclipse.diff
Created May 6, 2013
uncommitted changes in Eclipse settings after setting up WISE
View wise-vle-eclipse.diff
diff --git a/.classpath b/.classpath
index 81366f4..9b28d3d 100644
--- a/.classpath
+++ b/.classpath
@@ -1,9 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
- <classpathentry kind="src" output="target/classes" path="src/main/java"/>
- <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
- <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/webapp/WEB-INF"/>
You can’t perform that action at this time.