I’ve been thinking about building a cyclone separator for my shop-vac for a while now, and I finally decided to go ahead and do it. I was planning on building a Thien cyclone, and was shopping for the required buckets and bits of pipes, when something else caught my eye in the store. It was… Continue reading Cyclone separator for shop-vac for 25€
Filtering a Drupal 7 View based on multiple user profile fields
This is basically continued from the previous post Filtering a Drupal 7 View based on a user profile field, where a user called Juan asked a simple question: “How do I filter by multiple user profile fields, so that all the terms must match?”
Pepakura Iron Man helmet – part 2
[Continued from here] The Internet is full of stories of skilled people making awesome stuff. This isn’t one of those stories. Day 7 I sanded the whole helmet to a matt finish. This made it much easier to see all the spots that needed further attention. And there were quite a few. Plenty of fiberglass… Continue reading Pepakura Iron Man helmet – part 2
Pepakura Iron Man helmet
So, I stumbled upon something called “pepakura” while browsing the net. Seeing as it was pretty much described as “easy process, awesome results”, I decided to give it a try. I am, after all, an avid maker of things. A brief browsing through The RPF showed me that the hip thing that the kids these… Continue reading Pepakura Iron Man helmet
Filtering a Drupal 7 View based on a user profile field
The exact question answered here is “How do I filter a View based on the value of a taxonomy term reference field in the current user’s profile?” This is covered in quite a few places on the web, but I just wanted to create good step-by-step instructions on how to actually do it, in a… Continue reading Filtering a Drupal 7 View based on a user profile field
Circlr – a jQuery plugin for arranging things in a circle
Here’s “Circlr”, a jQuery plugin that arranges html elements on a web page into a circle. It is used on the front page of my site. There are also a couple of usage examples included in the package. Enjoy! circlr1.zip
Drupal 7: Load all terms in a Taxonomy vocabulary
There still isn’t a function for this, and the conditions in taxonomy_term_load_multiple have been deprecated, so an EntityFieldQuery is the only (and recommended) way to do this: $query = new EntityFieldQuery(); $result = $query ->entityCondition(‘entity_type’, ‘taxonomy_term’) ->propertyCondition(‘vid’, 2, ‘=’) // for vocabulary id 2 ->execute(); Not too bad, I guess, but it just feels like… Continue reading Drupal 7: Load all terms in a Taxonomy vocabulary
Plywood Commodore logo
Just a random snapshot of a part of the project I’m currently working on.
Textwrangler: Open file from directory of current file
A small thing that’s been bugging me with TextWrangler and BBEdit is that the current directory in the Open File dialog doesn’t follow the directory of the current file. In other words: First I’ll open and edit a file somewhere in a deep directory hierarchy. This is the main directory that I work in with… Continue reading Textwrangler: Open file from directory of current file
FS-4 way intermediate draw tool
I got sick of manually coming up with random dives at creeper practice, so I wrote this: http://fs.xird.fi. The (very small) script returns random intermediate dives by pulling formations out of the pool until it runs out of formations. Almost like a competition draw.