Tag Archives: linux

Batch Upload Images to ImageShack using Perl

Someone asked about this so I felt compelled to deliver. The question was: “how to batch upload bunch of images to some free image hosting service?” Here is the answer. I picked ImageShack because you don’t need to register it, … Continue reading

6 Comments

Parsing Excel Files with Perl

My company likes to store tons of useful information locked away in excel files. I understand that not everyone understands how databases work, or how to use them. I have no clue how this happened but at some point Excel … Continue reading

4 Comments

Linux Fuckup of the Day

I had to set up a virtual machine on one of the Ubuntu boxes today. I heard good things about Virtualbox so I decided to give it a shot – especially since it’s distributed under GPL, it can can be … Continue reading

9 Comments

Remove .svn Folders from the Project Directory

Subversion stores the state of your working directory in special hidden folders. Each subd-directory of your project will have exactly one hidden folder named .svn containing Subverion meta-data. When you want to archive your code or share it with someone … Continue reading

8 Comments

No more Windows Tax

They are here! The coveted Dell Linux Systems are now on sale, shipping preinstalled with Ubuntu! This is so awesome, I feel obliged to bring the Dell Dude out of retirement. Dell Dude! Show us how awesome is the Dell … Continue reading

Leave a comment

Five Crucial things Adrian Kingsley-Hughes does not understand about Linux

Adrian Kingsley-Hughes recently wrote about five crucial things we apparently do not understand about average computer users. I decided to respond in kind by pointing out the things that Mr. Hughes and his average computer user Linux and it’s users. … Continue reading

10 Comments

Komodo Edit 4.1

I just discovered Komodo Edit from ActiveState (the same dudes who make that windows based Perl Package. Review Time! Komodo Edit 4.1 product My new favorite PHP editor. What is it? Komodo Edit 4.1 is a lightweight IDE with support … Continue reading

6 Comments

A day without X

Would you be able to survive one full day without using the X server? Linux offers us a wide assortment of CLI based tools which use curses and/or framebuffer for functional user interfaces. There is no reason why you shouldn’t … Continue reading

201 Comments

Katapult: Launchy/Quicksilver for Linux

In my last post I mentioned that I’m rather fond of the Windows based Launchy app. I am also a linux user, and I kinda missed this functionality when using my Kubuntu laptop. If you are like me, and you … Continue reading

7 Comments

Why I Love Ubuntu: Reason #261

As you may or may not know, I had tons of problems with the mobo in my Dell Inspiron 4000. Essentially the DIMM2 port is shot – sometimes it works, sometimes it gives me memory read errors, sometimes it freezes … Continue reading

Leave a comment

Convert PS and EPS images to JPEG

The reason why I post stuff like this here is twofold. Firstly (is that even a word?), I forget. Chances are that in 3 months I will need this shit again, and won’t remember the exact syntax, or the name … Continue reading

16 Comments

Awk One Liners

I’ve been doing this stuff all day, so let me show you few nifty awk tricks. For these examples lets assume we have a tab delimited file with n columns and m rows. To take an average of each row … Continue reading

3 Comments

Adding new column to a text file

The output of some of the tests I do in my research produces pages upon pages of log files detailing what is happening to my data. This was very useful during debugging, and now it just helps me to gather … Continue reading

2 Comments

Posting Twitter Updates via Curl

Here is how to post an update to twitter using just curl and nothing else. I guess you can use this if you are working on some headless unix machine that doesn’t have a proper browser… Of course a machine … Continue reading

20 Comments

Get OpenSolaris CD’s Shipped to you for Free

OpenSolaris seems to be doing the same kind of promotion Ubuntu has been doing for a while now – they will ship you nice, original installation CD’s free of charge. These ship with not only Solaris Express, but also 3 … Continue reading

10 Comments

Vi or Emacs? Which one do you use?

I’m not planning to start a flame war here. Just curious of your opinion. Personally I’m a vi (or rather vim) person – simply because it’s the editor I know better. It’s smaller, simpler, and easier to configure (ie. you … Continue reading

22 Comments

Upgrading to Vim 7 on Dapper

I’m updating all my systems to Vim 7 because of the nifty new features such as the built in spell check and tabs. I don’t care that much about undo branches, but the above two features are quite awesome. :) … Continue reading

Leave a comment

Find All Files Created in Specified Time Interval

This is totally dumb, but I just can’t figure out how to do this “in place”. I want to find all the files of a given type in a certain directory, and it’s subdirectories that were created in a given … Continue reading

2 Comments

Dell Selling Windows Free Laptops

Holly Shit! When did this happen? Dell has been selling desktops without the Windows for quite some time now, but I didn’t realize they will also extend this offer to laptops. It seems that they are now offering Latitude systems … Continue reading

7 Comments

ClamAv Outdated on Ubuntu Dapper

Lately I noticed that my ClamAv installation is having some issues. Observe: # freshclam ClamAV update process started at Fri Feb 16 16:14:54 2007 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.88.2 Recommended version: 0.90 DON’T PANIC! Read … Continue reading

4 Comments

How hard is it to AWK it?

I emailed the dude that maintains the mail server today to get me an up to date list of all our mailboxes. Our email gets handled by a 3rd party company so I don’t get access to that box. I … Continue reading

4 Comments

Maintaining Sun Java Desktop System (R2)

Here is a question for you – how do I do anything with a Sun JDS Release 2 system? Sun has end-of-life’d it, and there is no community around it. So I have an old system here that no one … Continue reading

2 Comments

Convert PNG to EPS

If you are a LaTex user like me you will instantly recognize what I’m getting at here. LaTex does not work well with most of the popular image formats such as JPG, BMP, PNG or GIF. It does like encapsulated … Continue reading

35 Comments

Get a md5 of a string on a command line

One of the web applications I maintain stores md5 hashes in the database, instead of the actual passwords. This is a good practice – passwords are not stored in plain text, and knowing the has still does not give you … Continue reading

5 Comments

Quick Vi Tip

If you need to delete massive amounts of text in Vi try these next time: <d><G> deletes everything below the cursor <d><1><G> deletes everything above the cursor. <d>/foo deletes everything till the next occurence of foo And finally: <m><a> and … Continue reading

2 Comments