Friday, October 10, 2008

Thoughts about Apple computers

What I like most about Apple is Mac OS X.
The design of their computers is also important for me but not so much.

We own a Mac Mini G4 and we like it but time has come and some parts became defective. The Superdrive and the ethernet port.

So I started to look around for this parts and their prices. During this I looked also to prices of other computers. What a surprise. Most of the PCs are half the price. That's very disappointing. I've also discovered gOS which looks fabulous.

All this makes me think. Are Apple Computers overpriced? Do I really want to pay extra for Apple logo and OSX?

May be if my renter would pay me as he should I would simply buy those faulty parts as external devices + USB Hub and all would be OK.

Money, Money, Money, must be funny in a rich man's world.

Monday, September 15, 2008

Onehundredpushups

I done it after 3 months. I had to do week 6 couple of times more because we were traveling a lot during August and beginning of September and I was not able to follow the plane precisely.

Saturday, July 26, 2008

I bought an iPod

it's been almost three weeks after I've finaly received iPod Touch. I wished to buy an iPod since we moved to Brno. Primary to listen music when going to work. After three years I've finally found enough courage and funds to buy it. It wasn't so easy. I not good at decisions. I thnk long, comparing all versions, looking where to buy it for best value. Petruska, my wife, almost got crazy from my inability to decide. After all it was her who helped me to decide. I would like to thank her now encouragement.

Thank you my dear.

It's a really nice device. Although it's highly under Apple's contoll. People have to hack it to fully unveil it's potential. I still like it. I don't have to fight for some computer time with Petruska. Which was main reason why I decided for Touch. Maybe I will try to develop some app for it also.

But right now I'm going to devote my time to Peruska.

Tuesday, June 10, 2008

Thursday, January 24, 2008

How-to get absolute path of currently executing script

I googled this:

On 2006-06-15, Seb wrote:
> Hello,

> In a script shell (sh, bash, ksh, csh etc), how to get the absolute path
> of the script file's enclosing directory ?

Usually, if you want this, you are doing something wrong, or trying
to solve the wrong problem.

In a POSIX shell (ksh, bash, most recent versions of sh):

progdir=${0%/*}

In a Bourne shell:

progdir=`dirname $0`


Csh is not recommended for scripting.