December 16, 2009

Digikam in Ubuntu 9.10

Filed under: Uncategorized — Tags: , — James @ 10:34 pm

After installing Digikam on Ubuntu, I had no video thumbnails or ability to play video.

When trying to play a video I recieved the error “an error has occurred with the media player digikam” and on the terminal “xine is asking to seek behind the end of the data stream”

To resolve this I installed mplayer thumbs for the thumbnails and xine-ui to play the vids.

Bookmark and Share

August 31, 2009

Symfony: Propel VS Doctrine

Filed under: Programming, Symfony — James @ 8:58 am

A few days ago I started using Symfony. I chose to use Propel as the ORM. The ORM generates the PHP classes and database structure from your schema.
(more…)

Bookmark and Share

August 29, 2009

Count unique IP address in Apache’s access log

Filed under: Bash, How To, Linux, Ubuntu — James @ 11:14 pm
sed < /var/log/httpd/webtop.access_log -e 's/ .*$//' | sort | uniq -c
Bookmark and Share

August 25, 2009

Symfony Deploy Script

Filed under: PHP, Programming, Symfony — James @ 3:48 pm

I’ve just started using the PHP framework, Symphony, after putting it off for far too long!

This seems to be the way to download and deploy symfony, and I’m sure I’m going to want to do it again so I took notes, here they are: ;)
(more…)

Bookmark and Share

August 20, 2009

Shaven pussy, giant cock!

Filed under: Randum/Funny — James @ 10:43 am

As promised…
(more…)

Bookmark and Share

May 26, 2009

Ubuntu – Purge configuration files for removed packages

Filed under: How To, Linux, Ubuntu — James @ 11:24 am

This bash command will remove the left over config files from old packages that were removed with “apt-get remove”.

dpkg -l | awk '/^rc/ {print $2}' | xargs sudo dpkg --purge

See the source article for an explanation of how it works.

Bookmark and Share

March 29, 2009

Remote control car speedometer V2

Filed under: Arduino, Electronics — James @ 1:59 pm

After my semi successful prototype of my remote control car speedometer project using a reed switch, I’m back with version 2, this time using a hall effect sensor.

(more…)

Bookmark and Share

March 23, 2009

Stripboard Arduino & SD Card

Filed under: Arduino, Electronics — James @ 6:52 pm

I love my Arduino development board and have done some interesting experiments with it, and now I am at the stage of wanting to make some of my circuits a bit more independent and permanent, mainly so I can continue to use development board for tinkering with while leaving my other projects in a working state. The mind, body and soul of the Arduino is the ATmega168 chip, which contains all the memory, processor, analogue to digital converters and pretty much everything else. As these chips can be picked up for only a couple of pounds I thought I would have a go at making a stand alone unit to log data to an SD card…

(more…)

Bookmark and Share

March 9, 2009

Laser Show Prototype

Filed under: Arduino, Electronics — James @ 11:01 pm

I’ve recently acquired a laser pen, and of course, instantly dismantled it! I bypassed the push button and soldered on a couple of wines replacing the batteries, allowing it to be powered and controlled by the Arduino.

(more…)

Bookmark and Share

March 7, 2009

Transistor h-bridge VS driver IC chip (L293D)

Filed under: Arduino, Electronics — James @ 11:24 am

As mentioned in an earlier post, I suggested the motor driver IC would be preferable over four transistors and lots of wire due to it’s small and neat package! However I have just realised something that may sway me in the other direction…

(more…)

Bookmark and Share
Older Posts »