Well today while surfing to find some things in Latex I discovered the following site:
http://en.wikibooks.org/wiki/LaTeX
This site brings a full reference for people using latex. The good thing is that they have a lot of examples that you can copy and paste and use in your documents.
Monday, 14 July 2008
Latex Reference
Postado por
Jean E. Martina
às
17:29
0
comentários
Saturday, 12 July 2008
Ipod Touch V2.0
Well I took a decision today. Upgrade my jailbroken iTouch 1.1.4 to 2.0. The upgrade was smooth. You can do it via the new iTunes by paying $10. Safe and sound. Or you can got in the wild and do an upgrade by other means. If you choose the second options‚ remember:
- Put the the iPod in recovery mode: Hold the home and power button until the iPod turns off. Then wait until you see your iPod turn on with the apple logo. Let go the power button‚ while still holding the home button. When you see the " Connect to iTunes" logo‚ you are in recovery mode.
- Find the firmware somewhere
- plug you iPod in the usb cable and go to iTune.
- cancel the automatic firmware install. click the restore button with shift key pressed (mac alt/option)
- chose your firmware‚ and wait. It takes about 15 minutes to load
Postado por
Jean E. Martina
às
10:16
0
comentários
Monday, 7 July 2008
The Collection of Computer Science Bibliographies
I received from a friend other day the following link, and it is worth posting:
http://liinwww.ira.uka.de/bibliography/index.html
If you are a CompSci (Computer Scientist), you probably know the pain to arrange bibtex bibliography. This search engine gave me the right bibtex entry every single time I tried.
Postado por
Jean E. Martina
às
08:03
0
comentários
How to test Qmail+vpopmail for SMTP AUTH
Well, every time I need to check whether an installation of an email server is completely working I need to search google for this bit of information. Sometime is hard to fin exactly what you want. Suprisingly some of the examples don work with qmail.
To generate the AUTH string you need to issue the following command:
perl -MMIME::Base64 -e 'print encode_base64("\000user\@domain.net\000my.password")'
If you are using qmailrocks instalation, perl should have everything to handle this. If should generate an string like this:
AHVzZXJAZG9tYWluLm5ldABteS5wYXNzd29yZA==
To test you qmail instalation do the following:
> telnet newserver.net 587
Trying 123.123.123.1...
Connected to newserver.net.
Escape character is '^]'.
220 smtp.newserver.net ESMTP
ehlo my.machine.net
250-smtp.newserver.net
250-PIPELINING
250-8BITMIME
250-SIZE 0
250 AUTH LOGIN PLAIN
AUTH PLAIN AHVzZXJAZG9tYWluLm5ldABteS5wYXNzd29yZA==
235 ok, go ahead (#2.0.0)
mail from:
250 ok
rcpt to:
250 ok
data
354 go ahead
Subject: Test
Test
.
250 ok 1215413930 qp 87194
quit
221 smtp.newserver.net
Connection closed by foreign host.
Postado por
Jean E. Martina
às
07:52
0
comentários
Sunday, 6 July 2008
Migrating between two qmail + vpopmail (qmailrocks) servers
This was my problem for today, how to migrate sound and safely from on old system running around 100 domains to a brand new configured qmail system. Both are running with the configuration suggested by www.qmailrocks.org and on a FreeBSD machine. So lets go:
- First things stop the old qmail server to avoid loosing messages. Remember that you need to stop qmail from receiving any messages, and also stopping users from retrieving their email with pop3 or imap. The following commands would do it for you:
/usr/local/etc/rc.d/imap.sh stop
/usr/local/etc/rc.d/imaps.sh stop
- After yo stopped qmail and the pop/imap daemons, you are able to start to transfer the vpopmail contents. Using rsync is a good idea, since that with it you can minimise the downtime, since you can run it in the hot system , before starting. This run is just to sync from the last call to the time you stopped qmail with the commands above. You are running this in your new server and server.xxx.com is you old server.
- Luckily after some time rsync will finish running. If not, leave it working while go to change the other bits. In order to make the new machine recognise all the users and domains from the old server, you need to do the following:
import(merge) from the old server /var/qmail/recipients
import(merge) from the old server /var/qmail/control/rcpthosts
import(merge) from the old server /var/qmail/control/virtualdomains
- To finish add and delete a fake domain using vpopmail. This will make vpopmail read all the files you merged and reorganise them.
Finally, keep checking the email server for a day. It is almost impossible to make everything work without mistakes.
Postado por
Jean E. Martina
às
17:32
2
comentários
Thursday, 3 July 2008
Creating Multiple Volume .tar.gz files
Well, today I came a cross a problem: I have to backup a 29GB file system to recreate it under the new rules here (I have ReiserFS, and as the guy is jailed for killing his wife, the policy is to convert everything to ext3, since it tends to be unmaintained). My external HDD is formatted in FAT32, for compatibility issues (Use in Mac , Linux and windows machines).
I did some research, and to create multiple tar.gz files, you need to use a combination of FIFO, split and tar. First you need to create a FIFO file (which can be reused in later uses):
mkfifo /tmp/test.fifo
After you can issue the following command line to generate the files:
split -b 200m /tmp/test.fifo /media/UNTITLED/filename.tgz- | tar -czvf /tmp/teste.fifo .
Basically what I am doing is sending the tar output to the FIFO (First In First Out), and then splitting the FIFO in 200MB files.
To recover things from the tar.gz file you just need the following:
cat /media/UNTITLED/filename.tgz-* | tar zxvf -
This should put all the bits back together.
Postado por
Jean E. Martina
às
17:53
0
comentários
Thursday, 29 May 2008
Digging the past of the Internet
This week I came across one very interesting web site. I was listening the TWIT (This week in tech‚ with Leo Laporte and John C Dvorak) and one guy that was invited to the show was the founder of this site. When he told the features‚ I said: " no way‚ some one can index the Internet historically"‚ but yes‚ he did
The site is www.archive.org. It contains a bunch of interesting web site‚ dating from 1996 up today. If you want‚ you can give a try in some of them. I suggest google‚ and microsoft‚ but be afraid to test other things. Even my very old page in geocites is available there.
Postado por
Jean E. Martina
às
21:30
0
comentários
Wednesday, 21 May 2008
Very interesting Security device
Today while listening to "Security Now" podcast, the guys mentioned about Yubikey, and I went out on some google search about it. Look very interesting and promising. The designs they developed is really nice indeed.
From the developers:
"The Yubikey is a new authentication solution, designed for the mass market of web 2.0 applications. The user inserts the YubiKey in any computer with a USB port on any platform or browser – no client software install needed – then press the YubiKey button to generate a one time passcode.
The secret behind the YubiKey is the fact that the little device is actually a USB keyboard. But with only one button and designed to do two things: To generate the user’s unique identity and a one time pass code that only works the very second it’s used. Every time the user presses the button it generates a new pass code."
More information can be found at:
http://www.yubico.com/products/yubikey/
Postado por
Jean E. Martina
às
15:37
0
comentários
Tuesday, 20 May 2008
Costumers tracking
Well after reading the latest news from the times:
http://technology.timesonline.co.uk/tol/news/tech_and_web/article3945496.ece
It raised some concerns to me:
- If they detect were you are, they can correlate this data with the CCTV system, and also the shops can correlate your IMEI with you credit card, and so on. Data minig is really powerfull in this cases.
- If this technology is really deployable, don't hey have to at least inform users? So you can turn off your mobile to avoid being tracked.
- If this technology goes to the wrong hands, what would impede people of selective killing others? Something like Bruce Scnheier's idea on road side bombing triggered with RFID passports.
The thing is that, here in the UK people don't often carry their (RFID) passport arround, but for sure, everybody carry at least one mobile.
Really scaring.
Postado por
Jean E. Martina
às
12:24
0
comentários
Monday, 19 May 2008
iAlertU
Today I installed the iAlertU software in my Macbook. Really nice piece of software and it really works as promised.
It is interesting how they managed to use the sensor that detects movement in the Macbook (to avoid problem with the disk when you move it in hibernation), and made it an alarm detection system.
It integrates smoothly with Leopard and if you have the iRemote, that you can use it as you use your car's alarm, to enable it remotely (around 10ft distance)
The link:
http://www.slappingturtle.com/home/
Postado por
Jean E. Martina
às
13:22
0
comentários
