Go to content Go to navigation & search

welcome to weekeat.com

Navigation

navigation

feeds

choose: rss / atom


Content

Ubuntu 7.04 Feisty Fawn on Parallels

posted 10 May 2007

Ubuntu Linux You’ve tried to install Ubuntu 7.04 Feisty Fawn on Parallels and it doesn’t start up? Well, so did mine. Here the solution that I found.

read more...

 

Perl: One line search and replace

posted 10 May 2007

Yes, it’s been used for a long long time and I have been using them for quite a while too. But the problem is, I always forget which one to leave out for a dry run. So, I’m putting it here as a quick ref in the future.

read more...

 

Seq command - revisited

posted 12 September 2006

Following up on my previous entry about the seq command, I have had a couple of quick chat with my colleague and a search into how it can be used practically. I have now found a very practical use for seq, especially with the product that I’ll be dealing with (email marketing software).

For geeks, here a quick example:

me@mycomp:~$ seq -s ‘,’ -f “email_%g@example.com” 1 100 > emaillist.txt

read more...

 

A little utility tool called seq

posted 7 September 2006

While I was exploring various binaries on my Ubuntu, I came across this nifty little utility called seq. A very simple little command that generates a sequence of numbers.

The usage is really easy too. Let’s say you need to generate a sequence of 1 – 5, you can use the following command:

me@mycomp:~$
me@mycomp:~$ seq 1 5
1
2
3
4
5

In the above, the FIRST value, 1, is the begining value of the sequence range and LAST value, 5, is the limit of the range. You can use any values for the range like seq 50 100, which will generate values starting from 50 and ends at 100.

So.. what’s the bid deal? I don’t know. Anyone can do that with a simple perl or shell script. But I thought that if you know there’s this utility, you can whip it up in less than a second.

That’s not the only thing that it can do. You can specify the increment value, separator string and apply automatic padding. If you’re interested, read on.

read more...

 

Patching applications with rsync

posted 6 September 2006

Very often, as a developer, you’ll need to apply patches to “live” applications and it is actually quite intimidating when you are paranoid that you may be patching to the wrong directory, or overwriting the wrong files (especially the ones that you’ve hacked).

Going through each file manually to is tiring and time consuming if the patch is quite large. I recently learnt from an experienced colleague of mine, there’s an easier and safer way of patching your applications – using rsync.

read more...

 

Ubuntu resolution on Parallels and Mac

posted 4 September 2006

I’ve been using Parallels on my Macbook Pro 15” for a couple of months now and I have installed various operating systems like Windows XP, Fedora Core 5, Suse 10.1 and Ubuntu.

I wanted very much to get Ubuntu to work properly on my Mac. The installation went fine but one thing that made me pull my hair was really the default screen resolution of Ubuntu, which is set at 1204×768.

After months of dismay, I finally found the solution…

read more...

 

Setting default players in Ubuntu

posted 18 June 2006

Who would have guessed that it could be so easy, but yet quite hard to find for someone who is new to Ubuntu (Dapper Drake) to setup default players for certain files? What, you didn’t fire up the terminal… did you?

read more...

 

Azureus not working on Ubuntu?

posted 17 June 2006

I recently tried to install Azureus on my Ubuntu (Dapper Drake) and for some weird reason it just didn’t work. The interfaces were corrupted, no sysicon and buttons were not responding.

read more...