Know about Bits and Bytes

1 Bit = Binary Digit
8 Bits = 1 Byte
1024 Bytes = 1 Kilobyte
1024 Kilobytes = 1 Megabyte
1024 Megabytes = 1 Gigabyte
1024 Gigabytes = 1 Terabyte
1024 Terabytes = 1 Petabyte
1024 Petabytes = 1 Exabyte -
1024 Exabytes = 1 Zettabyte
1024 Zettabytes = 1 Yottabyte
1024 Yottabytes = 1 Brontobyte
1024 Brontobytes = 1 Geopbyte



Zlib,bz2 and Gzip compression in Python..

Zlib compression and Decompression in Python
a=”ASDADASDASDASDASD”
import zlib
c = zlib.compress(a)
#to decompress
d=zlib.decompress(c)

//Bz2 Compression and Decompression in Python
import bz2
c =bz2.compress(a)
#to decompress
d=bz2.decompress(c)



Base64 encoding and Decoding in Python…

 Base64 encoding
import base64
page=”spmethingsadasd”
a=base64.b64encode(the_page)
print a
Base64 decoding in Python:
import base64
b=base64.b64decode(a)
print b



Php native functions to check for aplhanumeric words

More native functions can be found here
http://in2.php.net/ctype_alnum



100 Keyboard shortcuts

Hi,
These are 100 keyboard shortcuts
CTRL+C (Copy)
CTRL+X (Cut)
CTRL+V (Paste)
CTRL+Z (Undo)
DELETE (Delete)
SHIFT+DELETE (Delete the selected item permanently without placing the item in the Recycle Bin)
CTRL while dragging an item (Copy the selected item)
CTRL+SHIFT while dragging an item (Create a shortcut to the selected item)
F2 key (Rename the selected item)
CTRL+RIGHT ARROW (Move the insertion point to the beginning [...]



Superb Death Case

At the 1994 annual awards dinner given for Forensic Science, AAFS President Dr Don Harper Mills astounded his audience with the legal complications of a bizarre death.
Here is the Case:
On March 23, 1994 the medical examiner viewed the body of Ronald Opus and concluded that he died from a shotgun [...]