Archive for the ‘wisdom’ Category

Project Euler Problem 25 Pitfalls

Project Euler problem 25 is reasonably straighforward. It asks you to find the first term in the Fibonacci sequence with more than 1000 digits. In ones like these, not reading the question properly is more likely to be your downfall than anything else. So: Give the number of the first term which has 1000 digits, […]

[Solved] Could not create java implementation loader / No JRE Found

After installing LibreOffice Portable (from here), I tried to install the Google Docs Sync extension, ooo2gd. However, installation failed with the error message “Could not create java implementation loader”. There are many posts about this, most of which suggest either disabling, then re-enabling “Use a Java runtime environment” on the Tools > Options > LibreOffice […]

Unzip Multiple Archives (Optionally With Password Protection) Using PowerShell on Windows

Short version: You need 7-zip to go with it if you want to do the password protection bit Most of the shell posts here are to do with Linux, and particularly bash, but today I’d like to share a useful Powershell nugget. By the way, to get a powershell, open up a command prompt (Win […]

Display Hit Damage Plugin For Counter-Strike Source

I’ve been getting a Counter-Strike Source server up and running for giggles, and one thing I’ve been enjoying is when damage on hitting someone is shown. Long story short, Google comes up short on searching for this (there’s a couple of commands in the old AMX Mod X apparently, for CS 1.6). However, exvel has […]

Extract A Single Image From A Video Using FFMPEG

Dead handy, this: ffmpeg -ss 0.5 -i inputfile.mp4 -t 1 -s 480×300 -f image2 imagefile.jpg The various options: -t 1: limit to 1 frame extracted -ss 0.5: point of movie to extract from (ie seek to 0.5 seconds) -s 480×300: frame size of image to output (image resized to fit dimensions) -f image2: forces format […]

Driving Test Stuff

My practical test is in a week. Eep, yikes, etc etc. I had my penultimate lesson (counting the one right before the Real Thingâ„¢) today, and managed to get a couple of silly fails out of my system. My point point is that the website The Driving Test could be quite useful if you’re in […]

Installing Debian on QEMU

Since I decommissioned my home server in favour of an NSLU2 (a NAS), I’ve found myself without a Linux machine to much about with or develop on while on the go (well, whenever I can’t use my laptop). So instead I’ll be using a virtual machine by running QEMU from my USB drive. Since my […]

TF2 – ‘Lost connection to server’ Solved

Even though I have exams coming up, I still manage to squeeze in the odd round or ten of Team Fortress 2. I blame Valve for releasing the medic achievements recently. (7 to go! One of them is ‘Family Practice’, so I need some more Steam friends to deploy an ubercharge on, hint hint. Also, […]

Broadcom 4318 Working Under Ubuntu Hardy Heron 8.04 (Ndiswrapper)

In my dad’s PC is a wireless card – a Linksys WRT54GS I think. Anyway it uses the Broadcom BCM 4318 chipset, as seen by a quick lspci: richard@hades:~$ lspci | grep roadc 00:0a.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02) Unfortunately the new b43 / b43-fwcutter package […]

No Elixir For Me

Despite saying earlier that I was going to give it a shot, I have yet to try the cure-all remedy suggested to me by my barber. This is due to my sore throat unexpectedly clearing up. Disaster, I know. I still have a cough though, so if it’s a Strep infection the sore throat may […]