Robot Touchscreen Analysis
Interesting Touchscreen analysis from various touchscreen phones using an Robot.
Full Story at labs.moto.com
Browser Detection
I’ve created a small webpage called DetectMyBrowser.
The webpage tries to detect your browser, a couple of plugins and the HTML5 and CSS3 capabilities.
I need this to quickly get some feedback from clients about what browser they’re using. ( Most people don’t know what a browser is, they just call it internet… )
I didn’t want to reinvent the wheel, so it uses detection capabilities from:
So kudos to them for creating these useful javascript libraries.
Bored?
Chat with total strangers on Chatroulette or Omegle.
Beware, check here what can happen to you at Instantly Awkward!
Cleanup old Gems, but not rails and friends
If you’re like me and have several rails applications in different rails versions, it’s difficult to just run a gem cleanup, because it would mean all your old rails gems will also be deleted.
You don’t want that, but you also don’t want to clean them up one by one.
Here’s easy way to do it from your bash command line:
for g in $(sudo gem cleanup --dryrun \
| awk '$1=="Dry" && $6!~/^(rails|action(mailer|webservice|pack)|active(resource|support|record))/ { print $6}' \
| sed -E -e 's/-([0123456789].?)+$//g' \
| sort --unique --ignore-case); do
sudo gem cleanup $g
doneJust copy the code above in your terminal, make sure you’ve got sudo rights.
You might get warnings about dependencies, just say no and rerun the code if needed.
Ving Tsun - Training in Hilversum, the Netherlands
People always ask me, what is Ving Tsun like? The following movie is recorded at our Ving Tsun School.
Enjoy!
More information about our Ving Tsun school can be found at www.vtkf.nl [English] [German]
Automatically remove PowerDNS records when removing domain
When you want to remove a domain from PowerDNS and you’re using postgresql, you can save your self one query:
Normally you’ll do something like:
DELETE FROM rules where domain_id=666
DELETE FROM domains where id=666;But when you create a rule in postgresql, you’ll only have to do this:
DELETE FROM domains where id=666;Here’s how to create the rule.
CREATE OR REPLACE RULE remove_records AS
ON DELETE TO domains DO
DELETE FROM records WHERE records.domain_id = old.id; For more information, see the PostgreSQL documentation about rules
Quickly cleanup your Thunderbird IMAP folder cache
When you connect with multiple programs to your IMAP store, it is possible Thunderbird can be confused about what should be on the server and what it has on disk.
Result: Thunderbird just hangs with massive CPU usage.
A fix can be found at Mozillazine considering Phantom Folders.
A quick oneliner can solve the situation:
Quit Thunderbird, cd into your profile directory and:
find . \( -iname panacea.dat -or -iname *.msf -or -iname XUL.mfl \) -exec rm '{}' \; Open Thunderbird and everything should be fine again.
DSPAM double dot problem and HTML mail
When sending HTML mail, you’ll probably have some CSS styles defined in you HTML source.
It seems that DSPAM 3.6.8 on Debian Etch has some issues that lines starting with a dot, get somehow screwed up in the process and end up with two dots
so:
.mystyle { color: black; }
becomes
..mystyle { color: black; }
I’m not sure if there is a fix for it Dspam 3.8.x, but a quick fix for you HTML newsletter may be to proceed everystyle with an bogus CSS item like ‘#dspam’ e.g.
#dspam, .mystyle { color: black; }
This will keep your HTML mail single dotted ;-)
Mac OS X Applications
I assembled a list of Mac OS X Applications I use regularly.
If you’re new to a mac, this list will be very useful. If you’re a long time Mac user, well there is probably something in it for you.
You can find the list on the Mac OS X Applications page.
The industry behind the volkswagen.co.uk site
Really nice commercial, although the website feels a bit sluggish and is overwhelmed with "Loading..." windows.
