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”