Skip to content

Instantly share code, notes, and snippets.

View cjcolvar's full-sized avatar

Chris Colvard cjcolvar

  • Bloomington, IN
View GitHub Profile
@cjcolvar
cjcolvar / gist:3788820
Created September 26, 2012 15:50
bundle show for what's running on lancelot
[vov@lancelot current]$ bundle show
Gems included by the bundle:
* RedCloth (4.2.9)
* actionmailer (3.2.8)
* actionpack (3.2.8)
* active-fedora (4.5.2)
* activemodel (3.2.8)
* activerecord (3.2.8)
* activeresource (3.2.8)
* activesupport (3.2.8)
@cjcolvar
cjcolvar / not logged in
Created October 18, 2012 16:33
logged in
NoMethodError in Media_objects#index
Showing /home/cjcolvar/.rvm/gems/ruby-1.9.3-p194@hydrant/bundler/gems/blacklight-e053c19e69bf/app/views/catalog/_document_header.html.erb where line #6 raised:
undefined method `_run_logging_in_user_callbacks' for #<MediaObjectsController:0x00000007e063a0>
Extracted source (around line #6):
3: <div class="documentHeader">
4:
<Location /hls-vod>
HLSHttpStreamingEnabled true
HLSMediaFileDuration 8000
HttpStreamingContentPath "../webroot/vod"
HLSFmsDirPath ".."
HLSJITConfAllowed true
########################################
# Cache-control header configuration start
# Specify the max-age(in secs) to set in the Cache-Control header
@cjcolvar
cjcolvar / Failing test
Created December 11, 2012 18:25
Passing test
Backtrace:
--
/home/cjcolvar/Code/hydra/active_fedora/lib/active_fedora/field_mapper.rb:320:in `method_missing'
(eval):1:in `block (3 levels) in load_mappings'
/home/cjcolvar/Code/hydra/active_fedora/lib/active_fedora/field_mapper.rb:182:in `eval'
/home/cjcolvar/Code/hydra/active_fedora/lib/active_fedora/field_mapper.rb:182:in `block (3 levels) in load_mappings'
/home/cjcolvar/Code/hydra/active_fedora/lib/active_fedora/field_mapper.rb:181:in `each_pair'
/home/cjcolvar/Code/hydra/active_fedora/lib/active_fedora/field_mapper.rb:181:in `block (2 levels) in load_mappings'
/home/cjcolvar/Code/hydra/active_fedora/lib/active_fedora/field_mapper.rb:144:in `block in index_as'
/home/cjcolvar/Code/hydra/active_fedora/lib/active_fedora/field_mapper.rb:195:in `instance_eval'
[23] pry(main)> doc.source_tracks(0).track_id
=> ["027df29d-454d-4d7f-9421-842da037c47f"]
[24] pry(main)> doc.streaming_tracks(0).track_id
NoMethodError: undefined method `track_id' for #<Array:0x000000073baa40>
from /home/cjcolvar/.rvm/gems/ruby-1.9.3-p194@hydrant/gems/om-1.8.0/lib/om/xml/dynamic_node.rb:51:in `method_missing'
java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Dfelix.home=/srv/rails/hydrant-test/releases/20120720145607/felix -Dfelix.work=/srv/rails/hydrant-test/releases/20120720145607/felix/work -Dfelix.config.properties=file:/srv/rails/hydrant-test/releases/20120720145607/felix/etc/config.properties -Dfelix.system.properties=file:/srv/rails/hydrant-test/releases/20120720145607/felix/etc/system.properties -Dfelix.fileinstall.dir=/srv/rails/hydrant-test/releases/20120720145607/felix/etc/load -Djava.awt.headless=true -Dawt.toolkit=sun.awt.HeadlessToolkit -DM2_REPO=/Users/johndoe/.m2/repository -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dgosh.args=--nointeractive -Dbundles.configuration.location=/srv/rails/hydrant-test/releases/20120720145607/felix/etc -Dorg.ops4j.pax.logging.DefaultServiceLog.level=WARN -Dopencast.logdir=/srv/rails/hydrant-test/releases/20120720145607/felix/logs -Declipselink.logging.level=SEVERE -Djava.util.logging.config.file=/srv/rails/hydrant-test/releases/201207
@cjcolvar
cjcolvar / MH ffmpeg
Last active December 11, 2015 21:49
ffmpeg formats
[cjcolvar@mallorn ~]$ ffmpeg -formats
ffmpeg version 0.8.2, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 29 2012 11:05:31 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffplay --disable-ffserver --extra-cflags='-I${LOCAL_PREFIX}/include' --extra-ldflags='-L${LOCAL_PREFIX}/lib -Wl,-rpath,${LOCAL_PREFIX}/lib' --enable-libxvid --extra-libs=-lxvidcore --enable-libx264 --extra-libs='-lx264 -lpthread' --enable-libmp3lame --extra-libs=-lmp3lame --enable-libfaac --extra-libs=-lfaac --enable-libvorbis --extra-libs=-lvorbis --enable-libtheora --extra-libs=-ltheora --enable-libvpx --extra-libs=-lvpx --enable-runtime-cpudetect
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
@cjcolvar
cjcolvar / MH ffmpeg
Created January 29, 2013 16:13
Avalon ffmpeg formats
[cjcolvar@mallorn ~]$ ffmpeg -formats
ffmpeg version 0.8.2, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 29 2012 11:05:31 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffplay --disable-ffserver --extra-cflags='-I${LOCAL_PREFIX}/include' --extra-ldflags='-L${LOCAL_PREFIX}/lib -Wl,-rpath,${LOCAL_PREFIX}/lib' --enable-libxvid --extra-libs=-lxvidcore --enable-libx264 --extra-libs='-lx264 -lpthread' --enable-libmp3lame --extra-libs=-lmp3lame --enable-libfaac --extra-libs=-lfaac --enable-libvorbis --extra-libs=-lvorbis --enable-libtheora --extra-libs=-ltheora --enable-libvpx --extra-libs=-lvpx --enable-runtime-cpudetect
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
@cjcolvar
cjcolvar / MH ffmpeg
Created January 29, 2013 16:13
Avalon ffmpeg formats
[cjcolvar@mallorn ~]$ ffmpeg -formats
ffmpeg version 0.8.2, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 29 2012 11:05:31 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffplay --disable-ffserver --extra-cflags='-I${LOCAL_PREFIX}/include' --extra-ldflags='-L${LOCAL_PREFIX}/lib -Wl,-rpath,${LOCAL_PREFIX}/lib' --enable-libxvid --extra-libs=-lxvidcore --enable-libx264 --extra-libs='-lx264 -lpthread' --enable-libmp3lame --extra-libs=-lmp3lame --enable-libfaac --extra-libs=-lfaac --enable-libvorbis --extra-libs=-lvorbis --enable-libtheora --extra-libs=-ltheora --enable-libvpx --extra-libs=-lvpx --enable-runtime-cpudetect
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
@cjcolvar
cjcolvar / MH ffmpeg
Created January 29, 2013 16:45
Avalon ffmpeg formats
[cjcolvar@mallorn ~]$ ffmpeg -formats
ffmpeg version 0.8.2, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 29 2012 11:05:31 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)
configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffplay --disable-ffserver --extra-cflags='-I${LOCAL_PREFIX}/include' --extra-ldflags='-L${LOCAL_PREFIX}/lib -Wl,-rpath,${LOCAL_PREFIX}/lib' --enable-libxvid --extra-libs=-lxvidcore --enable-libx264 --extra-libs='-lx264 -lpthread' --enable-libmp3lame --extra-libs=-lmp3lame --enable-libfaac --extra-libs=-lfaac --enable-libvorbis --extra-libs=-lvorbis --enable-libtheora --extra-libs=-ltheora --enable-libvpx --extra-libs=-lvpx --enable-runtime-cpudetect
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0