Archive for August, 2009

Wicked Wednesday – Djamolidine Abdujaparov

August 26th, 2009 by pyrat

Djamolidine Abdujaparov is one of my childhood heroes. Here we have him crashing in the 1991 Tour De France.

Wee Beastie Rails Forum Engine

August 21st, 2009 by pyrat

I have modified Savage-Beast extensively to make it run as a rails engine under rails 2.3.x. I think that rails engines are suited to running forum systems. The modifications that I made seemed a bit aggressive (I removed internationalization) so decided a separate project was required.

I have named it Wee Beastie

Currently the install process is a bit long winded which I hope to tidy up soon, if you want to help feel free to fork and get involved.

Wee Beastie

Rewrite of SavageBeast to work with Rails 2.3.x as a rails engine.

Install

  • script/plugin install git://github.com/pyrat/wee_beastie.git
  • rake wee_beastie:sync_migrations
  • rake wee_beastie:sync_public
  • rake wee_beastie:install_plugins
  • rake db:migrate
  • config.cache_classes = true (environment.rb) – means restarts, sorry!
  • config.active_record.default_timezone = :utc
  • include WeeBeastie::UserInit to user model
  • setup a user to have forum_admin attribute set to true to allow you to administer and setup the forums.

TODO

  • Currently there is no out of the box way to create moderatorships. You need to add the create moderatorship links in your you administration.

Subaru Impreza Classic Parts Manuals

August 21st, 2009 by pyrat

Impreza Manuals

Having replaced my exhaust system myself; I was recently in need of some parts manuals for gaskets etc.

I found some manuals strewn about the web and have decided to host the decent ones here. Hope this helps someone, gies a shout in the comments if it does!

1993-1996 Impreza Turbo
1999-2001 Impreza Coupe
1993-2001 Subaru Impreza

Wicked Wednesday – Bear Grylls

August 12th, 2009 by pyrat

The best part of man vs wild has to be the eating of manky stuff. Here we have Bear eating a giant larvae!

Git Submodule Gotcha

August 12th, 2009 by pyrat

The gotcha comes when I switch branches back and forth between the “master” (no submodules, but with checked in source) and “dev” (where my submodule work is). Here’s what happens:

git checkout master

error: Untracked working tree file ‘vendor/plugins/acts_as_list/lib/active_record/acts/list.rb’ would be overwritten by merge.

Here’s a workaround…
To go back to a branch w/o submodules

rm -rf vendor/plugins
git checkout master
git checkout vendor/plugins

To go back to a branch w/ submodules

git checkout dev
git submodule update --init

Another gotcha, when I tried to merge dev into master I got “fatal: cannot read object… It is a submodule!” A solution is:

git merge -s  resolve

Original Article

Wicked Wednesday – Finnish Disco Dancing

August 5th, 2009 by pyrat

This is not a joke, but serious disco dancing from Finland!!