Skip to content

2010

Daemonised Transmission! on Ubuntu Server 10.04

So, this evening I have been trying to configure my new Ubuntu server with a daemon-ised install of transmission for my torrent downloads. I read a number of blogs and articles from various places but struggled quite a bit with it. I could get it to install and to start no worries, but seeing as this server is headless I needed access to the web interface (hence the daemonised version) and I couldn't get this working! I kept changing the settings.json file but every time I closed it and fired up transmission it appeared to be overwriting my file and using the default! Anyway, I am there now, but I found that I had to piece bits of blogs, forums and tutorials together in order to get it working.

The solution that I have is no way near perfect. The permission settings that seem to have to be set in order to get it to work are strange and not particularly safe. Needless to say, it works and if it works for someone else and nothing breaks then I shall consider it a success. So what did I do?

Explode and Implode strings with PHP

So I came across a problem at work the other day: Take a string (in this case Job number) with a “/” in it and manipulate it. The strings looked something like 126/6. I needed to be able to perform a couple of condition based actions on the string. Doing this meant that I had to take the string apart, perform what I needed to do, then sew it all back together again. In order to do this I knew that I would need to explode the string using PHP's built in explode() function but didn't know how I would then be able to stitch the string back together once I had done the necessary manipulations.

How open are you?

So, I was browsing about the net today and stumbled upon this blog post. A neat little trick I thought, I wonder how well I will score? It appears that I am 99.6% open! In my opinion, I think that makes me pretty open!

Android Development with Eclipse SDK on Ubuntu 10.04

Up until quite recently (I think) installing the Eclipse SDK has been something of a burden for people. When I first tried to have a stab at writing some “Apps” for my recently purchased HTC Desire I almost stumbled at the first hurdle. I had real trouble installing what was supposed to be the “simplest and fastest” way into Android development.

I had problems from the word go. I downloaded Eclipse and then couldn't get it to work because my Java wasn't configured correctly. When I configured my Java it turned out to be the wrong version of Eclipse that I had downloaded. Then I couldn't for the life of me manage to install the Android Development Tools (ADT) plug-in. All in all, it was a shambles! I finally got it working in the end but I was so angry that I hardly touched it and a few weeks later I deleted everything.

Facbook colour hacks

So, what a better way to start this newly revamped site but with some good for nothing hacks that may keep you occupied for a little while. Having taken the idea from here I decided to play with the colour ones. I have updated them and added some of my own.

New Look

Welcome to the revamped cj13579.homelinux.org! I think that you will agree with me that it is much better than the old one. I have decided that I will put some effort into this one and  (but don't hold me to this) regularly update it.

I don't know what I am going to be writing about yet. I am thinking that it is going to have a technological focus. I will probably use it to showcase some projects that I am either working on or have in the pipeline. Or just stuff that I discover and wish to share with anyone who will care to read it.

Anyway, that's enough from me for now.

Enjoy the site please. That is after all, what it is there for.

Chris