July 31, 2008 - Posted by admin- 0 Comments
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
July 31, 2008 - Posted by admin- 0 Comments
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)
July 31, 2008 - Posted by admin- 0 Comments
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
July 30, 2008 - Posted by admin- 0 Comments
More native functions can be found here
http://in2.php.net/ctype_alnum
July 30, 2008 - Posted by admin- 0 Comments
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 [...]
July 30, 2008 - Posted by admin- 0 Comments
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 [...]