Manually start MySQL server in XAMPP on Windows

To manually start MySQL server one should call from the console:

[code language=”shell”]
cd d:\Internet\XAMPP Lite\mysql\bin
mysql.exe –user=me –password=thepass123 –database=test
[/code]

This is just a memo-reminder for me, as this is an obvious knowledge to most of you.

Human population counter

I’ve found a simple and cool JavaScript counter that is able to count current human population and it’s increase every second.

It:

  • takes current date and time,
  • calculates its different toward July 1, 1995 at 00:00:00 (when human population was 5 733 687 096)
  • multiply known “human population increase” factor by the number of seconds that passed since then till now

In this particular (very old — year 1995) example result is printed into form’s text box. With a simple modifications you can have this turned into a actual JavaScript function to return result.

Read More “Human population counter”

God Mode or admin’s power panel in Windows 7

The magic word is Admin.{ED7BA470-8E54-465E-825C-99712043E01C}.

Create a new folder in any folder you like (make it root folder on your first drive or deeply hidden secret dir) and use exactly above string as folder’s name. Folder’s icon will change to confirm that you’ve succeeded.

Double clicking this folder — instead of showing contents of empty directory — will give you an access to a really impressive list of shortcuts to most powerful and hidden features of Windows 7.

Happy hacking, folks!

FujitsuSiemens AmiloPro V2060 no HDD found

When installing Windows XP Professional on FujitsuSiemens AmiloPro V2060 laptop in most cases it will turn out, that the hard disk is not found. This is because many Windows XP Installation CDs do not contain drivers for the Intel SATA HDD support, that is available in AmiloPro family of FujitsuSiemens laptops. This article may help in this situation.

Read More “FujitsuSiemens AmiloPro V2060 no HDD found”

Quickly switching network connection in Windows XP

A lot of people uses the same notebook to access Internet from many places or networks. For example from home and office. If all these networks are using DHCP-assigned IP addresses and network parameters or if you’re using different medium (i.e. One at home, wireless at work) then there is no problem. However, if both networks uses static parameters over the same medium, then the only option you’re left is manually changing network parameters, as Windows does not allow you to create more than one connection for single hardware (network medium). Hopefully, you can easy your life with a set of simple batch scripts.

Read More “Quickly switching network connection in Windows XP”

Autosave and revisions in WordPress

WordPress by definition performs automatic saves of each post being currently edited and also, for each post update, it creates a revision. This enlarges database and sometimes can make life a little bit harder, because both WordPress and browser can get a little bit wako on any of these mechanisms. So, here is a quick way of disabling these features.

This post is based on Revision Management in Wrodpress Codex. Refer to it for details.

Read More “Autosave and revisions in WordPress”

Redirect page in HTML

To redirect user to another page directly in browser (without using server-side and HTTP error codes) one just have to add this to <head> section of HTML document:

<meta http-equiv="refresh" content="x; url=http://.../strona.html"/>

This is just to remind me, what to use in this case. Nothing more.

A very introduction to steganography

In very short words steganography is a method or technique to hide some message within another message or other kind of media (like image, painting, sound etc.). The masquerade is so subtle that person not expecting to find a hidden message won’t notice anything.

With the IT era possibilities are getting bigger and bigger. You can change just a one bit of each byte in i.e. image to store (encode) hidden images and the viewer won’t notice any difference in most cases. In the same, the size of encoded image is really impressive. You can store around 175 thousand letters (or seventeen thousand typical words) in a single 800×600 pixels image!

This article describes how to write a simple Delphi / Pascal code as an example of steganography — to encode (and decode) some mysterious text message within simple bitmap.

Read More “A very introduction to steganography”