fleshyorgans

tryin’ not to be a linux fanboy

fleshyorgans Two Cats

Entries from July 2007

Unix command line: Kill by pattern command

July 17th, 2007 · No Comments

The following attempts to kill based on a pattern you specify. I wrote this because our network gets messed up while Amarok is attempting to load files, which causes it to hang and leave various pipes open. By specifying “amarok” where it says “pattern”, below, I can kill all the open Amarok processes in one […]

[Read more →]

Tags: stuff

Fermenting (Thursday Picture)

July 12th, 2007 · 1 Comment

I’m makin’ some beer!
Got a kit from N for my birthday — best gift evar! I”m totally impatient for the next couple weeks to pass so I can drink it!
For the beerbrewers, this is 7 Bridges Red Ale. The O.G. on it is 1.045 (adjusted) — which means, to my understanding, that it’s […]

[Read more →]

Tags: stuff

Rails testing and threads

July 11th, 2007 · No Comments

Just so you know, if you need to write a test for something that spawns a thread, and that thread interacts with the database, you need to specify the following in your test file:
self.use_transactional_fixtures = false
Otherwise, fixtures.rb sets a mutex and a transaction in the database, preventing other transactions from working — as well […]

[Read more →]

Tags: stuff

Couple programs I’d like to pimpin cause they’re sweet

July 11th, 2007 · No Comments

If you’re on a unix system as your desktop, you should install Preload. It readahead caches programs and program files in memory for faster execution. Sourceforge link or ‘apt-get install preload’ on Debian-based systems, such as Ubuntu. Not sure if it’ll compile on a Mac.
Also…
There is a package called “tilda” that’s pretty sweet. It’s essentially […]

[Read more →]

Tags: stuff

House Fire

July 5th, 2007 · 2 Comments

My parents had a fire in their house, Tuesday. Everyone is fine, including the cat and dog, but the house is terrible.
It started up in the loft, where my mom does billing and patient records for their clinic. The hypothesis is that something like the paper shredder overloaded/overheated and just started the trash […]

[Read more →]

Tags: stuff