Sunday, November 18, 2007

Adding stuff to the Dock

Adding stuff to the Dock: "Just found this really cool hint in order to get the dock a new stack, similar to the one in the image.



All I had to do was to

defaults write com.apple.dock persistent-others -array-add '{ 'tile-data' = { 'list-type' = 1; }; 'tile-type' = 'recents-tile'; }'

in Terminal.app.

Wonder if there are any similar hacks to these...

[1] http://www.macosxhints.com/article.php?story=20071101055329470
"



(Via .)

Monday, January 15, 2007

Setting $HOSTNAME of Debian/NSLU2

Simple things are, well, only simple when you know how to do them. So, I'll be posting a lot about the tiny steps that I'm taking with the NSLU2.


For a start, I'll call him "figaro" ("Sono il factotum della citta").


These steps were taken from:


http://www.cpqlinux.com/hostname.html


Go to /etc/hosts, comment out the first two lines and introduce the next one, since the IP address is assigned through DHCP:


127.0.0.1 figaro localhost.localdomain localhost figaro


Then, execute


localhost:~# echo "figaro" > /etc/hostname


And, to finalize,


localhost:~# hostname figaro



Done!




@@EDIT0@@
Installing Debian/NSLU2


Until now I had Unslung6.8 running on my NSLU2, which I was mainly using for streaming audio (mt-daapd), video (www.twonkymedia.de), and as a print server.
Although it did behave pretty well, I felt like installing a real linux distro.
The fact the Debian is now supporting the NSLU2 was the decisive factor for choosing the distro.

So, what I actually did was:

1) note the current IP address, if it's not being set through DHCP.

2) Format the USB stick [1]

i. Deleted all partitions from the USB stick.
ii. Created a new primary EXT3 partition of about 1750 MB, formatted it and set it active.

3) Connect the slug directly to the laptop, put it in upgrade mode [2] and run the following command from a shell

sudo upslug2 -deth0 --target="00:14:BF:6A:B3:A5" --image="di-nslu2.bin"

the technique [3] might have been a possibility.

Note: As it runs unslung6.8 and not the original firmware, it is not possible to install de image through the web interface of the slug, as shown in [4].


4) Restart the slug, with the formatted USB disk inserted, and wait between 5-15 min before you hear 3 beeps.

5) ssh installer@192.168.0.xxx (see dhcp)
passwd: install

6) launch the Debian installer again and:

i. select the already EXT3 partition and tell the installer to use it as / *without* reformatting it!
ii. from the remaining free 250 MB on the stick create a logical SWAP partition.
iii. write the new settings to the drive and continue installation.
iv. select software packages:

* ext3-modules-2.6.17-2-ixp4xx-di: EXT3 filesystem support
* partman-auto: Automatically partition storage devices (partman)
* partman-ext3: Add to partman support for ext3
* scsi-core-modules-2.6.17-2-ixp4xx-di: Core SCSI subsystem
* usb-storage-modules-2.6.17-2-ixp4xx-di: USB storage support



v. give root password and normal user

7) select software:

basic installation

8) go do something else till it's finished.


TODO:

- mount filesystems by label
- change hostname
- print server (cups)
- make a backup of the image and the stick, in case something goes wrong in the near future.

[1] http://tech.groups.yahoo.com/group/nslu2-general/message/5703
[2] http://www.nslu2-linux.org/wiki/HowTo/UseTheResetButtonToEnterUpgradeMode
[3] http://www.nslu2-linux.org/wiki/HowTo/TelnetIntoRedBoot
[4] http://www.cyrius.com/debian/nslu2/install.html
@@LABELS@@

Friday, May 12, 2006

Publicity

To everyone interested in a nice weekend in a nice castle at regular prices,

http://www.schlosshotel-pommersfelden.de/

I also recommend to organize some good weather, in order to profit from the landscape ;)

Sunday, May 07, 2006

Tired

Sometimes I think I've had enough of this.
Being ignored, ostracized, made feel like crap.
People with such a rude way of being, ready to impose on one that
one's not welcome or that they've simply had a bad day.
Feeling like a number or an improper input to some kind of
administrative rule, made by shortsighted people who are never wrong
or who's rightness is never questioned.

Sometimes I think I hate this country and its people, and how they make me feel.
But I have seen Star Wars and heard the wise teachings of Yoda, and I
don't want to join the dark side of the force.
Otherwise I would shout right here, right now "F*** u D**********".

I know I need to connect...and that I can't connect with the natives
of this country...so it's basically my problem and my problem to
solve...
It's just that it's not really an easy one to deal with...

Wednesday, August 10, 2005

Off topic

Eye halve a spelling chequer. It came with my pea sea.
It plainly marques four my revue miss steaks eye kin knot sea.

Eye strike a key and type a word and weight four it two say
Weather eye am wrong oar write. It shows me strait a weigh.

As soon as a mist ache is maid. It nose bee fore two long
And eye can put the error rite. Its rarely ever wrong.

Eye have run this poem threw it. I am shore your pleased two no.
Its letter perfect in it's weight. My chequer tolled me sew.

Sauce Unknown

(Reader's Digest)

Saturday, August 06, 2005

Going to the market

Today is Saturday.
That means: shopping day!
A small frenzy takes over the city, as thousands of people take advantage of the only free day of the week they can use for shopping. It is a strange premonition of Sunday's desert streets.
More or less spread all over the city are many street markets where one can find everything one needs to fill a table.
Fruit, vegetables, meat, honey and eggs, cheese, bread, home made noodles, delicacies with olives and cheese, and the typical Wurst/Pommes dealers, where one can quickly drown on mayonnaise and ketchup all the expensive dreams of healthy living sold by the neighbouring dealers.
I find it crazy, how far people here are willing to take their obsession for "Bio"-labeled products. Monetary speaking, naturaly. Still, I have to give it away for the feeling of safety that provides the way these products are sold.
In general I like them, these markets. I'd find them even better if it were not for the bruises I always take home with me, due to the natural inability of the german crowd to peacefully sort itself out.

Gonna cook lunch, now.

Friday, August 05, 2005

Hallo!

I will never be German.

It's probably already an interesting thing, that I am starting my new web adventure with a negation: "I will never be a German". But the thing is that this blog is precisely being created from a denial that has on the past year grown inside of me.

Don't get me wrong, germans! You have created many beautiful things, while I have nearly none, and I have made some good friends between you. But even this acknowledgement does not appease this feeling of "nonbelonging" that I've mentioned.

It's simply that 26 years (the most important of my life so far) of immersion in a Latin society have rendered me able to find some things strange in this your land...