Skip to content

Instantly share code, notes, and snippets.


John St. John jstjohn

View GitHub Profile
jstjohn / homebrew_gist
Created Aug 21, 2011
opencv on osx lion with ffmpeg installed
View homebrew_gist
==> Downloading
File already downloaded in /Users/jstjohn/Library/Caches/Homebrew
/usr/bin/tar xf /Users/jstjohn/Library/Caches/Homebrew/opencv-2.2.tar.bz2
==> cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/opencv/2.2 .
cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/opencv/2.2 .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
jstjohn / homebrew_doctor
Created Aug 21, 2011
homebrew doctor file for opencv with ffmpeg install issues.
View homebrew_doctor
Some "config" scripts were found in your path, but not in system or Homebrew folders.
`./configure` scripts often look for *-config scripts to determine if software packages
are installed, and what additional flags to use when compiling and linking.
Having additional scripts in your path can confuse software installed via Homebrew if
the config script overrides a system or Homebrew provided script of the same name.
jstjohn / rmate
Created Sep 4, 2012
rmate that works by default on both remote SSH servers and localhost
View rmate
#!/usr/bin/env ruby
# encoding: UTF-8
$VERBOSE = true # -w
$KCODE = "U" if RUBY_VERSION < "1.9" # -KU
require 'optparse'
require 'socket'
require 'tempfile'
require 'yaml'
You can’t perform that action at this time.