Thursday, September 29, 2011

remove svn dirs

I'm sure this is out there on the internet already somewhere, but

find . -name ".svn" -type d | xargs rm -rf

Tuesday, September 27, 2011

setting up proxy pass

Make sure you load all the right modules, eg

http://www.webmasterworld.com/forum92/1727.htm

If you are getting a bunch of Error: proxy: ap_get_scoreboard_lb errors, you may need to stop and start apache (instead of reloading/restarting) (http://old.nabble.com/Error%3A-proxy%3A-ap_get_scoreboard_lb%2890%29-failed-in-child-td12128044.html)


Another error I got: client denied by server configuration: proxy:http://example.com

debian/ubuntu "Deny from all" by default in mods-available/proxy.conf, comment that out (http://artur.hefczyc.net/node/10)

Monday, September 26, 2011

add unversioned files to svn

svn st | sed -rn 's/^\?\s+(.*)$/\1/p' | xargs svn add

Monday, September 12, 2011

tasks

When I feel like I have to do some little task, I will post about it here. Usually this means google couldn't tell me the answer to my question on its first page of results, so I tried to do it myself. Wish I would have started this a long time ago. You know what they say.. a cat may look at a king