Aug 13

download ttfinstall.sh and save it to your computer to the folder containing TTF fonts you want to install.
Open up terminal and run
cd directory_with_script_and_fonts
sudo chmod +x ttfinstall.sh

than run
./ttfinstall.sh
Script will ask for your password and move all the fonts from current directory to the TTF installation folder /usr/share/fonts/truetype/custom

Aug 01
Jul 05

Jun 16

We have started our tourist season from yesterday!

See more on http://nordichuskyfarm.com/!

May 29

Canada I am writing from Cochrane, Canada - just behind Calgary.

We have arrived yesterday in the afternoon (local time) and went to bed at 22h local time, which meant 6 in the morning of european time. We were up for 25hours straight, but thanks to going to the bed at normal time, we should be in quite normal time-rythm since today.

Today we should drive with Lee to Banff National Park and tomorrow to Jasper National Park. We’ll stay overnight in some hotel and tomorrow drive back here to Cochrane.

May 19

May 09

PHP logoSince PHP 6, there will be no register_globals option, so you will not see output of form input directly as corresponding variables in PHP.
Also a lot of webhosting servers have register_globals turned off. How to get your form output without having to declare form variables at the beginning of every script? It is very simple.
All you have to do is put one line in the beginning of every script you want to see the variables automatically:

foreach($_POST as $variablename => $value) ${variablename} =$value;

This will transform variables from $_POST supervariable containing all form output in array into PHP variables. So if you had textfield named NAME in your form, so the script processing this form will see it as $name. Clean and easy.
I believe that this can help a lot.

Apr 28

Apr 23

Here is little How-to for blocking Microsoft installing shit (unwanted :) )in your computer:
Maybe you would think that it’s none of my business, since I have Linux, but I believe that this could be interesting for many others. Please note: this will disable automatic updates completely, so there will be no security updates installed also, but since Windows is like colander, full of holes anyway, it is just on you to decide. Or, maybe perform better solution: send Windows to hell and install Linux instead.

So… how to do it?
Put following words in your Router’s (or DSL modem’s) site blocking filter (if there is some)
update.microsoft
windowsupdate
windowsupdate.com
windowsupdate.microsoft

If you want to block this just on your computer (and you have no router to use), put the following to your “%SystemRoot%\system32\drivers\etc\hosts” file:
windowsupdate.com 127.0.0.1
windowsupdate.microsoft.com 127.0.0.1

… and reboot

Following will deny any access to those “updating” sites.

Apr 16

Demonoid
Unbelieveable became true! Demonoid.com is back!

Apr 08

Today, I found the perfect way to make my Garmin Geko 201 little bit more useful. I’ve always wanted to use it when I am driving car. Navigating to one point isn’t the best option, because it thinks about the trip as about flight on a direct line to the destination.
I was searching for some simple solution to store trip’s track in the memory and than driving by it. Today I found one:

Prerequisities:
* Garmin Geko 201 GPS unit (or anything like that)
* cable to connect GPS to PC
* Firefox browser (I’ve tested it on 3.0beta 5, so it should be in fact any version 2+)
* access to the internet

Let’s start:
1) Set the protocol to Garmin in the GPS’s Interface settings
2) Download EasyGPS, free application for Windows, set it up to work with your GPS (choose COM port)
3) Download and unpack GPSBabel to perform some track cleanup (to fit in 500point per track Geko’s limit)
4) Open http://www.elsewhere.org/journal/gmaptogpx/ and drag the yellow link found on the page in your Firefox’s Bookmark toolbar (if not displayed, click right mouse button on for example Home icon and select to display the toolbar)
5) 4) Open Google Maps “Get directions” , write in the departure place (address) and the destination and get the track description
6) Click on GmapToGPX button in bookmark toolbar (must have javascript enabled in Firefox, but it is quite normal)
7) New page opens with the track description in GPX format.
8 ) Click on Full
9) Copy generated code to clipboard and save as for example track.gpx file in GPSBabel’s directory
10) open command line in GPSBabel’s directory and run following:
gpsbabel -i gpx -f track.gpx -x simplify,count=500 -o gpx -F track2.gpx
11) Now we have track simplified to 500points, which is Geko’s limit
12) Open file track2.gpx in EasyGPS and upload it to Geko
13) Voila! We have very detailed track to use for navigation!
14) Sit in the car, start Geko, select from Track menu GOOGLEDRIVDIT and select navigate - from beginning to the end, or opposite on the way back

That’s all. It seems like many steps, but it is VERY easy, I’ve just wrote too much description for better understanding. Today I’ve driven 150km by the generated track and it was perfect. Simplification of the track didn’t affect accuracy at all!

Enjoy!

Apr 05

I have put my first cache! If you wonder what i mean with that, you can be sure, that I didn’t play with my web cache, or anything like that.

I registered myself on http://www.geocaching.com. So if you like searching for treasures and have GPS, you can start right now!

Here are details of my first cache - I did put a little encrypted note, real coin with king Gustav :) and a key to decrypt the note. In the note you will find the message, which will tell you what you can do next. I think it is quite valuable treasure in very nice scenery of Vatudallen lake.

Mar 20

Feb 22

This is video taken on the newest part of our trail, it connects the part from our house with the rest of trails without reaching mainroad. It is little bit wild….

Feb 11