Roger's woze

February 29, 2008

ruby eclipse plugin

Filed under: Uncategorized — rogerdpack @ 4:22 pm

This one is better than RDT :) http://www.eclipse.org/dltk/ 

February 28, 2008

installing gem with mingw

Filed under: Uncategorized — rogerdpack @ 8:32 pm

how to install mongrel

gem install mongrel –platform mswin32 (even though that’s not the right platform, it’s the righ toperating system!)

faster rails development mode

Filed under: Uncategorized — rogerdpack @ 5:42 pm

So…running your app in development mode gotcha down?  Too slow (as it really is on some computers?)  Answer: run it in production mode, but add a thread in environment.rb that checks the “popular” directories to see if anything has changed (‘app/controllers’, ‘app/models’) and that kills the current process when something does, then run that in a bash script loop (or some type of loop–ruby system loop?) so that it restarts automatically.  Works wonderfully.  Email me if you want an example script.

logmein

Filed under: Uncategorized — rogerdpack @ 5:17 pm

so…you try logmein and it says “xpcom.dll not found” — work around currently is to access it in firefox with the latest updated plugin.

bubbles yeah.com

Filed under: Uncategorized — rogerdpack @ 4:53 pm

So…you run bubbles, maybe for campfire, and get it redirecting to “yeah.com”?  What this actually comes from is that yeah.com owns “org.com” (I think — the blank url) so any instant searches are sent there (alex at http://www.dslreports.com/forum/remark,9330624~start=60 tipped me off to this) so bubbles is doing an auto search,and redirecting you to an odd site.  Double check your url’s! 

February 19, 2008

better than pyro

Filed under: Uncategorized — rogerdpack @ 4:23 pm

If you use campfire and are running mac os x, a far better notifier than pyro can be created using the script located here http://userscripts.org/scripts/show/22891 .  Enjoy!

February 18, 2008

cure for the common cold

Filed under: Uncategorized — rogerdpack @ 5:43 pm

 

Ok maybe it won't cure it, but...it says "always works 80% of the time!"

stop using sugar, don't eat, water
both ears till stops bubbling
"one or two hour intervals"
To cure the flu you'll need to repeat this process two or more times at one or two hours intervals until there is no more bubbling when you put H2O2 in your ear(s).

-sugar, vit. c, bubbles, don't eat until you feel hungry

http://www.averagewhitedude.com/my-fool-proof-common-cold-curing-regimen/102/

February 11, 2008

how to setup rails on bluehost

Filed under: Uncategorized — rogerdpack @ 6:00 pm
You may need to add custom gems--google for 'rubygems on bluehost' which tells you that environment.rb may need

ENV['RUBY_PATH'] = '/home/username/.gems' or what not (etc.)

Now create a sym link in /www to your rails app's public dir.  Link the subhost to that.  (unless you want the pain of trying to setup rails in a subdirectory!)

now make sure the public directory, .htaccess, and dispatch.fcgi are all chmod ag-rw (I think).

 in .htaccess you want

AddHandler fcgid-script .fcgi
for the fcgi

Now fire it up, see if it works, checking your error logs in cpanel.

February 8, 2008

streamlined habtm

Filed under: Uncategorized — rogerdpack @ 12:23 am

TBD: editable associations this means “streamlined doesn’t do habtm until version 1.0!”

February 7, 2008

substruct authorize.net setup

Filed under: Uncategorized — rogerdpack @ 8:07 am

Note that the ‘login’ and ‘password’ are your api login and transaction key.  To get a ‘real’ login you need to call them, for some reason.  Also note you can get a test account from them with these.

Older Posts »

Powered by WordPress