Category Archives: How-to

Speeding up Liferea

Liferea was taking a couple of minutes to open for me, so I thought I’d look for a solution to that. I have >100 feeds, but I’m not about to cut the amount down (not addicted, honest). Liferea stores a … Continue reading

Posted in How-to, Ubuntu | Tagged , , , | 1 Comment

Handy Hints: Emptying log files

When emptying log files, don’t just rm log_file.log as the disk space won’t be freed until the application that is logging is restarted. It is better to use > log_file.log as that will allow the file system to free the … Continue reading

Posted in How-to, sys-admin | Tagged , | Leave a comment

Handy Hints: What is using up my disk space?

Here are some commands I use to find out what is eating all of my disk space on a remote server: df -h Shows how much disk space is available. The -h means that you get G for gigabytes, M … Continue reading

Posted in How-to, sys-admin | Tagged | Leave a comment

git-svn new branches don’t show up…

Working with git-svn I noticed that new branched didn’t show up when I did the usual git svn rebase to get the remote changes. After a bit of searching and not coming up with much, I worked out that git … Continue reading

Posted in How-to, Programming | Tagged , | 1 Comment

Enabling bash/git auto-completion in Ubuntu

I now use git quite a lot for various projects.  I noticed that on one computer I had very handy tab completion, and the other one did not.  They are both running Ubuntu 8.10, so there shouldn’t be a difference. … Continue reading

Posted in How-to, Programming | Tagged | Leave a comment

Handy Hints: tail | grep

When trying to track an issue in log files on a live system, I find it handy to tail the logs. If the logs are being populated to quickly too find what I am looking for, I would pipe tail … Continue reading

Posted in How-to, sys-admin | 2 Comments

SSH tricks: Forward and Reverse Tunneling for Fun and Profit

SSH or Secure SHell is a protocol for connecting to a remote computer’s shell securely.  Many people use it for just this purpose, but there are several less used, yet extremely useful tricks you can use to get more out … Continue reading

Posted in How-to, SSH, sys-admin | Leave a comment

Recovering photos from a formatted camera…

I’ve just come back from my sister-in-laws wedding. It was great and we took some really good photos. (When I see we, I mean Jude took some really great photos, and I cut some peoples head off). Unfortunately, we accidentally … Continue reading

Posted in How-to, Photography, Recovery, Wedding | Leave a comment