Roger's woze

March 31, 2011

ruby event hook

Filed under: Uncategorized — rogerdpack @ 8:27 am

The most generic is

set_trace_func

others (code based) exist as well

 

clever scripture study helps

Filed under: Uncategorized — rogerdpack @ 6:39 am

\
http://lds.about.com/od/ldsscriptures/ss/scripture_study_10.htm (and the other 9 too)

March 30, 2011

bash: svnserve: command not found

Filed under: Uncategorized — rogerdpack @ 5:08 pm

this means “your svnserve isn’t on the default path [non .bashrc path] so you’ll need to do some shenanigans to get it to work”

refs: http://bitworking.org/news/Getting_subversion_svn_ssh____to_work_with_PuTTY (that’s the one that worked, basically it uses this info: http://subversion.tigris.org/faq.html#ssh-svnserve-location

 

mac os x not sleep display when you close the lid

Filed under: Uncategorized — rogerdpack @ 1:59 pm

looks like insomniaT is the best option these days:

https://launchpad.net/insomniat

(it’s insomniax rewrite for snow leopard, and it turns off the display as soon as you dim the monitor, unlike insomniax, and is open source)

apache stringutils maven dependency pom.xml

Filed under: Uncategorized — rogerdpack @ 7:39 am

http://stackoverflow.com/questions/2255500/can-i-multiply-strings-in-java-to-repeat-sequences

has the answer for the right thing to add to your pom.xml file for you to be able to use StringUtils class

org.apache.commons.lang.StringUtils;

March 29, 2011

various java woes

Filed under: Uncategorized — rogerdpack @ 5:55 pm

java.lang.NoClassDefFoundError: com/thoughtworks/xstream/io/HierarchicalStreamDriver

meant “add thoughtworks’ xstream to your maven pom.xml file”

java.lang.NoClassDefFoundError: org/springframework/security/userdetails/UserDetails

was “add spring security security core 2.0.4 to your maven pom.xml file”

org/springframework/dao/IncorrectResultSizeDataAccessException

meant (for me) “add spring 2.5.4 to your maven pom.xml file”

 

symbol lookup error: ./lib//../ext/ruby_prof/ruby_prof.so: undefined symbol: clock_gettime

Filed under: Uncategorized — rogerdpack @ 11:54 am

meant “you need to link against rt, like -lrt when you build your .so file or what not”

March 28, 2011

mac os x sleep display from command line programmatically without waiting

Filed under: Uncategorized — rogerdpack @ 8:40 pm

Ok here’s apparently “a/the way” to programmatically instantly send the display to sleep mode:
source

compiled app of it that you can just run

works snow leopard with intel at least, haven’t tried elsewise.

macbook not sleep when you close the lid

Filed under: Uncategorized — rogerdpack @ 8:24 am

here

March 23, 2011

cccp dvd decoding doesn’t work

Filed under: Uncategorized — rogerdpack @ 1:06 pm

http://wiki.jriver.com/index.php/DirectShow_Playback_Guide:DVD_and_MPEG-2 has some pointers…

Older Posts »

Powered by WordPress