RSS Feeds
Browsing all articles in Uncategorized
Posted in Uncategorized      No comments

I’m back to Italy and I’m using an Alice Pirelli router as internet gateway. This kind of router is unfortunately pretty standard here although it’s very crappy.
The Pirelli wireless router is a very basic device and looks that its signal strength is not enough for my macbook pro.
The Pirelli device is placed in the living room and between me and the router there is just a wall. Despite all my devices (Phones/PCs) in this room are able to get a good signal strength, my macbook pro doesn’t.
One time more, I would like to know what makes this laptop cool.. except the brand..

Posted in Uncategorized      No comments

Since my new barebone doesn’t have any CD/DVD reader, I had to install linux via USB HDD.
I hadn’t find a good documentation about this topic, then I’ve decided to write this little post.
Well… things are pretty simple:
1) Install “unetbootin” with “apt-get” or from http://unetbootin.sourceforge.net/
2) Download latest version of KUbuntu from KUbuntu.org
3) plug your usb mass storage device (usb dongle or HDD)
4) format it with mkfs.ex3 /dev/sdX where X is the letter of your device
(to know that letter you could read last dmesg lines)
5) run unetbootin
6) select the image
7) click “Create” 8) unplug the usb device from the first linux box and plug it in to the barebone.
9) Switch the barebone on.
10) Press F8 (If you have an ASUS motherboard) to boot from USB
11) grub will say that it can’t load “linux” kernel
12) to run your image write this: “ubnkern ubninit boot=casper BOOT=casper nopersistent rw

That’s all. Good installation! ;D

Posted in Uncategorized      No comments

Today I found an Interactive fiction interpreter running in several platforms… and of course Linux is one of them…
After trying it in my linux box I tried to compile it for my N900. Still there are some issues compiling JAM (a replacement for make) for X86 target…

The interpreter is called Gargoyle and it claims to be able read all kind of IF file types.

Ubuntu packages are available here: https://launchpad.net/~radix/+archive/ppa
A lot of Quests are available… use google to find them…

Posted in Uncategorized      No comments

This is a test post written with a Firefox add-on..

Posted in Uncategorized      No comments

There are some javascript tricks able to enable the hidden design mode.
To do that you just need to put this: “javascript:document.body.contentEditable%20=%20′true’;%20document.designMode=’on’;%20void%200″ in your address bar and you can switch it off with “javascript:document.body.contentEditable%20=%20′false’;%20document.designMode=’off’;%20void%200″

The latest command doesn’t work in Firefox3.
These commands should instead should work in Firefox3 too:
“javascript:document.body.contentEditable=”true”;void0″ and “javascript:document.body.contentEditable=”false”;void0″

Posted in Uncategorized      No comments

If you are coping a file (uploading/downloading) with ssh and the connection is interrupted. Then if you need to continue to downloading/uploading the latest processed file, then you can define scpresume:
alias scpresume=”rsync –partial –progress –rsh=ssh”
and then you can use it with the same syntax used by scp.

Posted in Uncategorized      No comments

resolvconf: Error: /etc/resolv.conf must be a symlink
fix:
/etc$ sudo ln -s /etc/resolvconf/run/resolv.conf

Posted in Uncategorized      No comments

If you want to mirror a phpbb or other CMS that ask for an authentication, you can get the coockis from the firefox dir.
In my case is:
cp /home/gnuton/.mozilla/firefox/xxxxxx.default/cookies.sqlite .
Then convert the coockies file from sqlite to plain paper with this script

gnuton@iron:/tmp/SS$ cat SS
#!/bin/bash
#

sqlite3 $1 <<EOF
.mode tabs
.header off
select host as domain,
case substr(host,1,1)=’.’ when 0 then ‘FALSE’ else ‘TRUE’ end as flag,
path,
case isSecure when 0 then ‘FALSE’ else ‘TRUE’ end as secure,
expiry as expiration, name, value from moz_cookies;

EOF

The you have your plaintext cookies file and you can run now wget to do the job.
$ wget –load-cookies cookies.txt -m -np http://mywebsite.com

Posted in Uncategorized      No comments

Well, in linux the best tool to take a copy of a entire website is WGet.
Scenario: To get all the pages, images and the other contents that are in a hypothetic book/ directory of a hypothetic website (eg: example.com), we can run:
wget -m -np -p http://www.example.com/book/

where “m” stands for “mirror”, “np” is “no parent” (we want only the pages in the book/ directory) and the “p” flags tells to wget  taking all the resources (like images) needed to display correctly the web pages mirrored in offline mode.

Posted in Uncategorized      No comments

Last.fm, the internet personal radio has played about 2000 songs for me since January. Since a bit the service is not free anymore. The people have to pay to use it. The fee is cheap but I think that it’s too high for the service offered. Then I decided to don’t pay money for that and I decided to explore the ocean of free music available in streaming from websites like magnatune.com, coolstreams.com and similar. I’m using amarok to listen those radios..they are already there. Amarok works great with them!
There I can find a lot of musics genres; Jazz, Rock, Blues and so on.. what’s your favorite one?