Chris Tate-Davies

An archive of helpful tit bits of information for development, and probably some stuff that is incomplete, wrong or boring…

God, Windows is sloooooow

I am assisting a colleague today check out a rather large feature branch. I showed him the branch address and he started checking it out using Tortoise SVN on Windows 7. Upon returning to my desk (Ubuntu 11.10), I decided to merge the branch with the major trunk. I checked out a brand new copy [...]

Ubuntu, Thunderbird always maximised

I recently switched from Linux Mint back to the old trusty Ubuntu (11.10) One major problem was Unity, but I got round this by installing Xfce and use that as a shell instead. Much better. Now, my Thunderbird is proper maximised. Like full screen, so I can’t switch to any applications unless I use ALT [...]

Stopping Ubuntu opening F-Spot when I plug in my iPhone

When I installed Ubuntu, every time I plugged in my iPhone it popped up a prompt asking me what to do about the digital music/photos. After clicking “do nothing” for months I decided to let it open F-Spot to import my photos. This is all well and good, but it now pops up f-spot whenever [...]

iPhone iOS 4.2+ no longer automounting in Ubuntu

I had this problem, which meant my iPhone no longer automatically mounted in Ubuntu 10.10. I had recently upgraded the iOS to 4.3.1 and this turned out to be the cause of the issue. So, to fix it: Click on the System menu, then Administration and Software Sources. You’ll have to enter you administrator password. The [...]

How to use Nano on Unix-like systems

Nano is a basic text only text editor in Unix. It has no real GUI as such, and there is very little mouse interaction. But this makes it very useful, especially when SSHing to your web server. Here are some basic commands for you. Opening Nano to edit a file is as simple as Nano [...]

Accessing /var/www/ as normal user

Some useful linux commands to help with editing web pages on a server: To give access to others to my www folder (so I don’t have to login as sudo): chmod 2775 . -R To show the groups for the selected user: groups <username> groups www-data To add the www-data user to the local user’s [...]

Linux – CHMOD 777

Just a note, when you update the permissions of a file: chmod +777 somefile.txt This change will only last as long as the session is logged in, i.e. once you reboot, it will revert back to what the permissions were.

Setting up postfix on Ubuntu for mailing from PHP

To allow your Ubuntu server to send emails from PHP, then you need to install postfix. Postfix is a mailer for *nix platforms. So, to install it: sudo apt-get install postfix When this is installing, you’ll need to enter some options, like what sort of server you’re connecting to. I use my companies details in [...]

Remove svn folders from Ubuntu

When backing up a source code working copy, you don’t always want all the little .svn folders everywhere. You can “export” the working copy, or if you forgot, you have remove them all. Change the the folder containing the working copy (this is very important*) cd /home/username/www/sitename/ And then remove them all, recursively with this [...]

Installing Tahoma font in Ubuntu

The stylesheet of our intranet is primarily Tahoma, and Firefox on Ubuntu doesn’t look good. To install the Microsoft Core Fonts package in Ubuntu, run the following in your terminal: sudo apt-get install msttcorefonts And then this should go away and get them. Lovely. NB, if this doesn’t take immediate effect, you can rebuild the [...]

keep looking »
  • Chris Tate-Davies

    Hello there. This is my little "repository" on the world wide web. Its for nothing more than documenting things that I might need again in the future. You could describe it as an extension to my memory.

    Also an online collaboration of my thoughts through the day. I'll try to keep the real random stuff out and keep the blog on course.

    Thanks for stopping by... Hope you find what you're looking for...

  • Tags