Thursday, 6 October 2011

Where do android stores incomming bluetooth files?

Android stores incoming bluetooth files under /mnt/sdcard/downloads/bluetooth

Tuesday, 23 August 2011

MySQL change root password

To change the root password for the database in linux you use mysqladmin utility. The parameters you need to pass are:
-u root the username used for logging in. In this case we want to be root obviously
-p'currentPassword' the password for logging in. Notice there are no space between p and quote.
password newPassword define the new password.

So for example:
mysqladmin -u root -p'myoldpassword' password mynewpassword

Friday, 19 August 2011

Outlook 2007 certificate install

A time ago a wrote how to solve the certificate issue in Outlook 2010 . I was explaining how to set up Outlook 2010 with your own POP3 server in case you are using SSL authentication with self made certificate.
While in Outlook 2010 you just needed to install your certificate, on Outlook 2007 the process for adding certificate is bit more complex so follow these steps to add your own created certificate to trusted publishers on windows machine.

Start->run, or +R

type "mmc" and hit enter

On opened window choose File->Add/Remove Snap-In...

From Availbale Snap-Ins select Certificates and click Add


In new window choose Computer Account, press next

Select Local computer: (the computer this console is running on)

Click Finish, and click Ok

Expand the folder Colsole Root->Certificates->Trusted root certification

Right click on Certificiates, select All Tasks->import and now you need to import your SSL certificate.

The easiest way to get your certificates is by saving it from the dialogue Outlook warns you about the invalid certificate. Select View certificate and save it in the file to use in import



Saturday, 30 July 2011

Convert between points, pixels, ems and percents

Ok, sometimes you get an *.ai file to convert it to the HTML and there the fonts are set to the points, but you rather would use pixels.
Or what ever is the reason, so I will kindly give you a list of points, pixels, ems and percents so you can convert between them.
NB this is an approximation but quiet a good one.



Points Pixels Ems Percent
6pt 8px 0.5em 50%
7pt 9px 0.55em 55%
7.5pt 10px 0.625em 62.5%
8pt 11px 0.7em 70%
9pt 12px 0.75em 75%
10pt 13px 0.8em 80%
10.5pt 14px 0.875em 87.5%
11pt 15px 0.95em 95%
12pt 16px 1em 100%
13pt 17px 1.05em 105%
13.5pt 18px 1.125em 112.5%
14pt 19px 1.2em 120%
14.5pt 20px 1.25em 125%
15pt 21px 1.3em 130%
16pt 22px 1.4em 140%
17pt 23px 1.45em 145%
18pt 24px 1.5em 150%
20pt 26px 1.6em 160%
22pt 29px 1.8em 180%
24pt 32px 2em 200%
26pt 35px 2.2em 220%
27pt 36px 2.25em 225%
28pt 37px 2.3em 230%
29pt 38px 2.35em 235%
30pt 40px 2.45em 245%
32pt 42px 2.55em 255%
34pt 45px 2.75em 275%
36pt 48px 3em 300%

Friday, 15 July 2011

Google's public DNS service

If you are in need for a free, stable and accessable from anywhere DNS server you can use Google's public DNS server with easy to remember IP address - 8.8.8.8 or 8.8.4.4. Or if you prefer IPv6 - 2001:4860:4860::8888, 2001:4860:4860::8844

Please rate this post