Program Files

Mental note: In Windows 7, do not install android SDK (and maybe also eclipse) inside Program Files folder, because if you do, you’ll need administrator rights whenever you want to update.

Posted in English | Tagged , , | Leave a comment

rdate in moservices for o!play

moServices is a package to add additional services to the Asus O! Play R1 and Asus O! Play Air (R3). One of the services is rdate, which allows the player to synchronize itself with a timeserver. The thing is the TIME protocol is old and its configuration in the O!Play is a bit tricky.

The first problem I encountered was figuring out which string to use for the timezone configuration (/usr/local/etc/mos/rdate/timezone). This page helped and for continental Portugal the timezone is: WET0WEST,M3.5.0/1,M10.5.0/2

The second problem was finding a timeserver that acepted the TIME protocol. The server that moservices uses by default is time-a.nist.gov, but that server is not responding, so, via telnet, I edited the file /usr/local/etc/mos/scripts/rdate and changed the timeserver to: www.nist.gov . You can see a list of timeservers here.

Now everything works and my O!Play’s time is synchronized.

Posted in General | Tagged , | Leave a comment

New domain registrar

Just transfered my domain name to netim.com. The previous registrar was amen.pt but their site was very complicated and their service sucked. They took 5 days to answer a support email, that’s too long! Plus, netim only charges me for the domain name, amen charged me for the hosting, that I didn’t need.

Tagged , , , | Leave a comment

Trojan in new USB disk

Just bought an Memup LX 640GB 2.5-inch External USB Hard Disk Drive and the first time I connect it to my PC it tried to autorun a file called “jeorels.cmd”. On further inspection it turned out to be a trojan. S.M.A.R.T. data had the drive with only 2 power ups.

Posted in General | Tagged , , | Leave a comment

Make chrome open mailto links in google apps

First download and install Google Apps for domains:

http://dl.google.com/tag/s/ap=ctrler.eu/googlewebapps/en/googleappsstandalonesetuptagged.exe

Don’t forget to replace ctrler.eu with your own domain in the above link and also in the text below.

Then in regedit go to:

HKEY_CLASSES_ROOT\mailto\shell\open\command

and change the data field in the default entry to:

C:\Program Files\Google\Google Apps\googleapps.exe –domain=ctrler.eu –mailto.google.com=”%1″

That’s it. This makes the mailto default to Google Apps.

Posted in General | Tagged , , , , , , , | 2 Comments

more EXIF metadata manipulation

GPS Time

I went on vacations and took my new GPS (Garmin eTrex Legend HCX) with me and let it record a track for the whole trip because I was planning to geotag all images. We took two cameras with us and, luckily I remembered to take a picture of the current GPS time with each camera. Now that I got home I realized that one of the cameras was set on the wrong date (1 day late) and started searching for a tool to modify the EXIF metadata.

First I tried ExifTool by Phil Harvey but for some reason it wouldn’t change the file timestamp, only the EXIF metadata, maybe because I was using the Windows version. The one I found that allowed me to correct both the file timestamp and the EXIF metadata was Time Stamp Modifier for JPEG Files. It did all I wanted and the interface is simple and clean.

Now I only have two things to do, modify the video files timestamp accordingly and geotag the pictures. When I’ve done that I’ll update this post.

Update 1:

Modifying the video files timestamp wasn’t easy. The info about the date and time of when the video was taken is recorded into the AVI as RIFF metadata. There only one program that I know that can modify that metadata (one file at a time) is abcAVI and even this one can not modify all the data about the date. The thing is that no other program can read those tags correctly so I just chose to ignore them and concentrate on setting the file timestamp correctly. For this I used Moo0 TimeStamp to edit the timestamps for “date created” and “date modified”, correcting the time difference between the gps and the cameras.

I don’t rely that much on file timestamps, sometimes they can be changed without ones knowledge by some app or they can be ignored by a backup tool. For the pictures I have the EXIF data, that is correct so I don’t need to worry about the timestamps but for video I can’t rely on RIFF metadata because I didn’t bother to change it, so I decided to rename all files so the date and time of the file creation is in the file name itself. Namexif can do that for pictures but for pictures and video I found Stamp, that can rename based on EXIF metadata and on file timestamp information. That way I can use it to rename both pictures and videos. Stamp supposedly can also get the timestamp from RIFF data but that didn’t work.

Update 2:

Finally, to geotag the pictures I used GeoSetter. It worked OK, even thou I had to mess around with the maximum allowed time difference from the time the picture was taken to the last GPS position because there where times when I turned off the GPS because I was standing at the same place for a while.

Posted in General | Tagged , , , , , , , | Leave a comment

Namexif: Rename Photos by EXIF date

Namexif - I have to recommend this great little app for Windows that renames a set of pictures according to the date they where taken. It’s freeware.

Posted in General | Tagged , , , , , | Leave a comment

Stuff after Windows install

My Windows 7 install got compromised with a root-kit or something, the symptom being that I couldn’t access Windows Update. No Anti-Malware/Virus was capable of correcting it so I had to format and re-install Windows. Doing that is a PITA and I leave here a list of the stuff I install and do after a fresh Windows installation.

  • GRUB – I re-install GRUB so I can access Linux again.
  • PuTTY – So I can ssh to the Linux machines. After install I setup some ssh keys so I can login without keyboard authentication.
  • 7-Zip – Open source archive manager
  • Open Office
  • Google Chrome
  • Firefox
  • Delicious extensions for Firefox and Chrome
  • Microsoft Office
  • Virtual Box
  • Google Chat
  • Windows Live Messenger
  • Hack to reduce the delay of Aero peek
  • Garmin Mapsource
  • CutePDF
  • Transmission-remote-dotnet
Posted in General | Tagged , , , , , , , | Leave a comment

Loca

Loca

Connosco desde 2003.

Morreu a 26 de Junho de 2010.

Posted in General | Tagged , | 2 Comments

Ubuntu 10.4 and smbpasswd syncronization

Watch out for this bug when configuring samba using the old fashion smb.conf in ubuntu 10.4.

By default, the samba password is reset to the system password of that user every time you login.

I noticed that although it does this you still need to add the users with smbpasswd -a so they work in samba.

Posted in General | Tagged , , , , , , | Leave a comment