Skip to content

Instantly share code, notes, and snippets.

View mtheoryx's full-sized avatar
🐳
Making happy little clouds

David Poindexter mtheoryx

🐳
Making happy little clouds
View GitHub Profile
@mtheoryx
mtheoryx / mtheoryx rvm debug
Created February 17, 2011 17:38
output of "rvm debug" command
ruby-1.8.7-p330:
rvm 1.2.7 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
ruby-1.8.7-p330:
system:
@mtheoryx
mtheoryx / mtheoryx rvm info results
Created February 17, 2011 18:35
Output of "rvm info"
ruby-1.8.7-p330:
system:
uname: "Darwin DRP-iMac.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"
rvm:
version: "rvm 1.2.7 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]"
@mtheoryx
mtheoryx / gist:832450
Created February 17, 2011 19:28
Output of "rvm remove 1.8.7 ; rvm install --trace 1.8.7"
→: rvm remove 1.8.7 ; rvm install --trace 1.8.7
Removing /Users/davpoind/.rvm/src/ruby-1.8.7-p330...
Removing default ruby interpreter
Removing /Users/davpoind/.rvm/rubies/ruby-1.8.7-p330...
Removing ruby-1.8.7-p330 aliases...
Removing ruby-1.8.7-p330 wrappers...
Removing ruby-1.8.7-p330 environments...
Removing ruby-1.8.7-p330 binaries...
--trace 1.8.7
@mtheoryx
mtheoryx / rvm_info
Created March 10, 2011 20:50
Output from 'rvm info' command
ruby-1.8.7-p334:
system:
uname: "Darwin DRP-iMac.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:11:58 PST 2010; root:xnu-1504.9.26~3/RELEASE_X86_64 x86_64"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"
rvm:
version: "rvm 1.2.8 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]"
@mtheoryx
mtheoryx / post rake install
Created March 10, 2011 20:57
after running 'gem install rake'
ruby-1.8.7-p334:
system:
uname: "Darwin DRP-iMac.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:11:58 PST 2010; root:xnu-1504.9.26~3/RELEASE_X86_64 x86_64"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"
rvm:
version: "rvm 1.2.8 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]"
@mtheoryx
mtheoryx / OS X Maven Error
Created July 21, 2011 14:43
Matterhorn OS X maven build error
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: error reading /Users/podcapadmin/.m2/repository/net/fortuna/ical4j/ical4j/1.0-rc1/ical4j-1.0-rc1.jar; cannot read zip file
[ERROR] /opt/matterhorn/matterhorn_trunk/modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/impl/SchedulerImpl.java:[44,30] package net.fortuna.ical4j.data does not exist
[ERROR] /opt/matterhorn/matterhorn_trunk/modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/impl/SchedulerImpl.java:[45,30] package net.fortuna.ical4j.data does not exist
[ERROR] /opt/matterhorn/matterhorn_trunk/modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/impl/SchedulerImpl.java:[46,31] package net.fortuna.ical4j.model does not exist
[ERROR] /opt/matterhorn/matterhorn_trunk/modules/matterhorn-capture-agent-impl/src/main/java/org/opencastproject/capture/impl/SchedulerImpl.java:[47,31] package net.fortuna.ical4j.model d
@mtheoryx
mtheoryx / proc_quit_proof.txt
Created August 4, 2011 17:33
Proof that you actually CAN quit apps on Mac OS X Lion, just for muad_dib on Reddit, since he has no idea.
Current Config (for accuracy, of course):
27" iMac, Late 2009
Processor 2.8 GHz Intel Core i7
Memory 16 GB 1067 MHz DDR3
Graphics ATI Radeon HD 4850 512 MB
Serial Number REDACTED
Software Mac OS X Lion 10.7 (11A511)
Experiment:
I have an auto-login app called "ScanSnap Manager.app" running. I can verify by running:
@mtheoryx
mtheoryx / gist:1171315
Created August 25, 2011 18:04
trial by fire, rake and DSL issues
So, I cd into my repo, it auto-bundles, all seems good. Here's the Rakefile:
# encoding: utf-8
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
@mtheoryx
mtheoryx / gist:1227711
Created September 19, 2011 21:47
shoes rake osx:deps:install output
davpoind @ DRP-iMac:~/dev/shoes_test/shoes [git:develop]
→: rake osx:deps:install
git fetch shoes
git merge shoes/shoes
Already up-to-date.
brew install cairo
==> Installing cairo dependency: pkg-config
==> Downloading http://pkg-config.freedesktop.org/releases/pkg-config-0.25.tar.gz
######################################################################## 100.0%
==> ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.25 --with-pc-path=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig
@mtheoryx
mtheoryx / gist:1227717
Created September 19, 2011 21:51
shoes rake
davpoind @ DRP-iMac:~/dev/shoes_test/shoes [git:develop]
→: rake
gcc -I. -c -oshoes/app.o -Wall -I/usr/local/include -I/usr/local/Cellar/cairo/1.10.2/include/cairo -D_REENTRANT -I/usr/local/Cellar/pango/1.28.4/include/pango-1.0 -I/usr/local/Cellar/glib/2.28.8/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.8/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.8/include -I/Users/davpoind/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/x86_64-darwin11.1.0 -I/Users/davpoind/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I/Users/davpoind/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.1.0 -O -DRUBY_1_9 -DSHOES_QUARTZ -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -fpascal-strings -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe -x objective-c -fobjc-exceptions -isysroot /Developer/SDKs/MacOSX1