Skip to content

Instantly share code, notes, and snippets.

View greatseth's full-sized avatar

Seth Thomas Rasmussen greatseth

View GitHub Profile
next_run = nil
interval = 60 * 15
loop do
if next_run.nil? or (next_run.to_i < Time.new.to_i)
next_run = Time.new.to_i + interval
# do stuff
end
end
<!DOCTYPE html>
<!--[if lt IE 7 ]><html lang="en" class="no-js ie ie6"><![endif]-->
<!--[if IE 7 ]><html lang="en" class="no-js ie ie7"><![endif]-->
<!--[if IE 8 ]><html lang="en" class="no-js ie ie8"><![endif]-->
<!--[if IE 9 ]><html lang="en" class="no-js ie ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="no-js"><!--<![endif]-->
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<meta charset="utf-8">
<script type="text/javascript" src="/interactives/library/vendor/modernizr/modernizr.custom.latest.js"></script>
var require = {
paths: {
'underscore': 'vendor/underscore/underscore',
'backbone': 'vendor/backbone/backbone'
},
shim: {
'underscore': { exports: '_' },
'backbone': { exports: 'Backbone', deps: ['underscore'] }
}
};
@greatseth
greatseth / config.log
Created September 22, 2011 19:50
attempt to build libvlc via homebrew on osx 10.6.8
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by vlc configure 1.1.11, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk --with-macosx-version-min=10.6 --build=x86_64-apple-darwin10 --disable-debug --disable-dependency-tracking --disable-nls --disable-lua --disable-mad --disable-httpd --disable-notify --disable-bonjour --disable-non-utf8 --disable-xcb --disable-vlc --disable-macosx --disable-macosx-vlc-app --disable-skins2 --disable-faad --disable-flac --disable-theora --disable-shout --disable-vcdx --disable-caca --disable-ncurses --disable-twolame --disable-realrtsp --disable-libass --disable-asademux --prefix=/usr/local/Cellar/libvlc/1.1.11
## --------- ##
## Platform. ##
_\m/ ~ | sudo gem uninstall xmpp4r
ERROR: While executing gem ... (Gem::InstallError)
cannot uninstall, check `gem list -d xmpp4r`
_\m/ ~ | gem list -d xmpp4r
*** LOCAL GEMS ***
xmpp4r (0.4)
Authors: Lucas Nussbaum, Stephan Maka, Glenn Rempe
Rubyforge: http://rubyforge.org/projects/xmpp4r
at.add_mapping %r%^lib/panvidea\.rb$% do |f, m|
files_matching %r%^test/unit/.+\.rb$%
end
_\m/ pingback-debugger (master) | alias | grep rebundle
alias rebundle='bundle install --disable-system-gems --relock'
_\m/ pingback-debugger (master) | rebundle
Unknown switches '--disable-system-gems'
_\m/ pingback-debugger (master) | bundle install --disable-shared-gems --relock
Fetching source index from http://gemcutter.org/
...
Apr 9 09:41:29 wabook [0x0-0x3e03e].org.mozilla.firefox[0]: 2010-04-09 09:41:29.328 firefox-bin[482:903] *** __NSAutoreleaseNoPool():
Object 0x2866770 of class __NSFastEnumerationEnumerator autoreleased with no pool in place - just leaking
_\m/ mediainfo (master) | gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin10.3.0]
- INSTALLATION DIRECTORY: /Users/seth/.rvm/gems/ruby-1.8.7-p249
- RUBY EXECUTABLE: /Users/seth/.rvm/rubies/ruby-1.8.7-p249/bin/ruby
- EXECUTABLE DIRECTORY: /Users/seth/.rvm/gems/ruby-1.8.7-p249/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-10
_\m/ image_server (master) | rake
(in /Users/seth/diversion/image_server)
dyld: NSLinkModule() error
dyld: Symbol not found: _MD5_Init
Referenced from: /Users/seth/.rvm/rubies/ruby-1.8.6-p287/lib/ruby/1.8/i686-darwin10.2.0/digest/md5.bundle
Expected in: flat namespace
in /Users/seth/.rvm/rubies/ruby-1.8.6-p287/lib/ruby/1.8/i686-darwin10.2.0/digest/md5.bundle
Trace/BPT trap