otrdiena, 2008. gada 30. septembris

ISPmanager PHP script from cron

Add the line below into the scheduler
/usr/local/bin/php -q /home/user/data/www/domain_name/script.php


If your script runs through a web browser, use the following line
/usr/local/bin/GET http://domain_name/required_script.php


http://www.minivds.com/technology/faq/firststeps.html
http://en.wikipedia.org/wiki/Cron

trešdiena, 2008. gada 24. septembris

DVD capacity

Capacity and nomenclature[10][11]
Designation Sides Layers
(total)
Diameter Capacity
(cm) (GB) (GiB)
DVD-1[12] SS SL 1 1 8 1.46 1.36
DVD-2 SS DL 1 2 8 2.66 2.47
DVD-3 DS SL 2 2 8 2.92 2.72
DVD-4 DS DL 2 4 8 5.32 4.95
DVD-5 SS SL 1 1 12 4.70 4.37
DVD-9 SS DL 1 2 12 8.54 7.95
DVD-10 DS SL 2 2 12 9.40 8.74
DVD-14[13] DS DL/SL 2 3 12 13.24 12.32
DVD-18 DS DL 2 4 12 17.08 15.90

DVD - Wikipedia, the free encyclopedia

4.7GB = 4.38GB.

Long story short - media companies / salesmen and women claim that 1GB = 1000 MB, 1MB = 1000KB and 1KB = 1000B. Of course we all know that 1GB = 1024 MB, 1MB = 1024KB and 1KB = 1024B.

So, 4.7GB = 4,700,000,000B according to the companies.

But really, 4,700,000,000 / 1024 / 1024 /1024 = 4.377GB

http://www.videohelp.com/forum/archive/can-you-make-a-4-7-gb-dvd-r-actually-fit-4-7-gb-t313580.html

ceturtdiena, 2008. gada 18. septembris

Mozilla Firefox about:config

This is a reference to the entries in about:config, where all user preferences can be viewed and modified. Entries that apply to Firefox or Thunderbird may also apply to Mozilla Suite/SeaMonkey and vice versa.

About:config entries - MozillaZine Knowledge Base

trešdiena, 2008. gada 17. septembris

Change language The GIMP

In windows, you should be able to change the languge of gtk+ to english by adding a new environment variable 'lang' with a value of 'c'.
( right-click on My Computer -> properties -> Advanced -> Environment Variables )

http://www.kirupa.com/forum/showthread.php?t=244236

Snippet (programming)

Snippet is a programming term for a small region of re-usable source code or text. Ordinarily, these are formally-defined operative units to incorporate into larger programming modules. Snippets are often used to clarify the meaning of an otherwise "cluttered" function, or to minimize the use of repeated code that is common to other functions.

Snippet management is a feature of some text editors, program source code editors, IDEs, and related software. It allows the user to persist and use snippets in the course of routine edit operations.

Snippet (programming) - Wikipedia, the free encyclopedia