Friday, November 30, 2012

Mount /tmp as ramdisk

If you computer have more than 16 gigs RAM you can mount your /tmp folder in ramdisk.
add this extra line in /etc/fstab.
tmpfs            /tmp             tmpfs       defaults,size=5G 0   0
This will mount 5GB temp drive.

Saturday, November 17, 2012

Clone USB Drive using dd (linux)

Resume from:
http://www.linuxforums.org/forum/red-hat-fedora-linux/135681-how-list-all-disk-drives.html
http://www.almahdi.cc/linux/clone-disks-using-linux-dd/

1) You need to know how big is your flash drive.
2) Plug you flash drive in USB. In this example i will plug 4GB flash drive.
3) Open terminal and type cat /proc/partitions. This will show:
major minor  #blocks  name

   8        0  244198584 sda
   8        1   10485760 sda1
   8        2          1 sda2
   8        5  233710776 sda5
   8       16  117220824 sdb
   8       17  117217248 sdb1
   8       32    3915776 sdc
   8       33    3914752 sdc1
4) Note your flash drive device. In this example flash drive is sdc
5) Make a clone to home directory with dd if=/dev/sdc of=~/clone.img.
This will show:
7831552+0 records in
7831552+0 records out
4009754624 bytes (4.0 GB) copied, 220.605 s, 18.2 MB/s
6) Now plug anothe flash drive at least with 4GB capacity. In this example i will plug 16GB flash drive and run dd if=~/clone.img of=/dev/sdc.

UserPreferencesMask

When you take this value in HEX

and convert to binary

you can tweak various windows settings.
  1. 0 Active window tracking
  2. 1 Menu animation
  3. 1 Combo box animation
  4. 1 List box smooth scrolling
  5. 1 Gradient captions
  6. 0 Keyboard cues
  7. 0 Active window tracking Z order
  8. 1 Hot tracking
  9. 0 This bit reserved for future use
  10. 1 Menu fade
  11. 1 Selection fade
  12. 1 Tool tip animation
  13. 1 Tool tip fade
  14. 1 Cursor shadow
  15. 0 This bit reserved for future use
  16. 0 This bit reserved for future use
  17. 0 This bit reserved for future use
  18. 0 This bit reserved for future use
  19. 0 This bit reserved for future use
  20. 0 This bit reserved for future use
  21. 0 This bit reserved for future use
  22. 0 This bit reserved for future use
  23. 0 This bit reserved for future use
  24. 0 This bit reserved for future use
  25. 0 This bit reserved for future use
  26. 0 This bit reserved for future use
  27. 0 This bit reserved for future use
  28. 0 This bit reserved for future use
  29. 0 This bit reserved for future use
  30. 0 This bit reserved for future use
  31. 0 This bit reserved for future use
  32. 1 UI effects
You can change some value from 0 to 1 or 1 to zero.
Then convert back to hex. Set this new value in registry.
Logout user and login again to see the change.

Source:
http://technet.microsoft.com/en-us/library/cc957204.aspx

Friday, November 16, 2012

SumatraPDF AutoInstall

SumatraPDF is none-pokemon PDF and DjVu reader. You will never-ever find any fastest reader. This application is only for best computing experience. So keep out and keep using Adobe Reader!
SumatraPDF-2.1.1-install.exe /s
Download leatest installer here

Tuesday, November 13, 2012

Customize Windows 7

x64 version 1.7.0
https://drive.google.com/uc?export=download&id=0BxmEiwnrWfmmU0NoWUYtMm1KSkU
4814997de91684233bc7eab50d9cf524
a06b3b3f8273860973262c6963ca02154e5dafe9
original file name:
rt_7_lite_win7_Vista_x64.exe

x86 version 1.7.0
https://drive.google.com/uc?export=download&id=0BxmEiwnrWfmmX0NzbE5RTzdMUXc
723a3f35b0fc0b0fd27faf713183753d
8afd116c1a524cf1772c972860bc390af713cb6c
original file name:
rt_7_lite_win7_Vista_x86.exe

x64 version 2.6.0
https://drive.google.com/uc?export=download&id=0BxmEiwnrWfmmWEVLZFEwcVlFbHM
01cc97fdd1324a0a7ff867d6de21fff6
34747ad48305aaa08d9dc875cc5b52e629c305e0
original file name:
rt_7_lite_win7_Vista_x64_sp1.exe

x86 version 2.6.0
https://drive.google.com/uc?export=download&id=0BxmEiwnrWfmmSVBlRl81NnZScEU
ac74aec1c3e2c71ee6320e7afa89d1e1
2da4483a0f58925957ed2ffcead69a0c44e4d843
original file name:
rt_7_lite_win7_Vista_x86_sp1.exe

RAMDrive, RAMDisk, TMPFS, Linux, mount

Remount existing RAM disk and set size to 6 gigs:
mount -o remount,size=6G /dev/shm
Remount existing RAM disk, set size to 6GB and grand all users rw access
mount -o remount,size=6G,mode=0777 /dev/shm
Maka a directory:
mkdir /space
mount 50% of RAM into accesible RAMDisk:
mount /t tmpfs tmpfs /space
Mount 6GB RAM to accesibe memory:
mount -t tmpfs -o size=6G,nr_inodes=6k,mode=0700 tmpfs /space
Test RAMdrive speed:
hdparm -tT /space
Related links:
http://www.cyberciti.biz/tips/what-is-devshm-and-its-practical-usage.html
http://www.cyberciti.biz/faq/howto-create-linux-ram-disk-filesystem/

Friday, November 9, 2012

Monday, November 5, 2012

Download Adobe Reader (Adobe Reader download page)

Adobe Reader 11
installations:
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.00/en_US/AdbeRdr11000_en_US.exe
bddd3d06af44ff7497f2c5125553a5ba
e7dd04e037c40b160a2f01db438dba9ea0b12c52
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.01/en_US/AdbeRdr11001_en_US.exe
3a7a5f9da27c00d455df175e3179fb15
0a58387822806e162cb11a7a87738a4614b8b777

windows installer:
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.00/en_US/AdbeRdr11000_en_US.msi
4eb9eaf5326d61ef4de30b353e878551
8cc8a0dbb57ad3efbbb930f945287fb63247a20a

patches
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.01/misc/AdbeRdrUpd11001.msp
e9692a6ad6c62525df8611d1b084d950
b777445636e179087d75b91dae715abdb20d5853
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.02/misc/AdbeRdrSecUpd11002.msp
a04c16ee0d8296f749952b4ed72dc565
608316e94803a143f8d12cf207f9304bf32bb280
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.03/misc/AdbeRdrUpd11003.msp
14b87b2871a2b6fc0d86f3cfc472cb44
3c49810c900034758069764d82938a990be96a36
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.04/misc/AdbeRdrUpd11004.msp
3e7edc6fcd45c69d3d1f5dbfed2f9302
cacb8e13495f34a8e56d3e04e94071d883608448
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.05/misc/AdbeRdrSecUpd11005.msp
5cb14bb6d9e25238b451535aa3f33dfd
6117f8b7545966b4b57fad13bf9636ca329139c8
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.06/misc/AdbeRdrUpd11006.msp
4c585337e2432e1df6dc76e9953abe4a
61d8ce50296c70e3214530d7c1e09a6add3f0442
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.07/misc/AdbeRdrUpd11007.msp
91e56177cc2dd244914d990542411547
46dfeef6101798bb39cc1b610cfcec19c8e6609c
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.08/misc/AdbeRdrSecUpd11008.msp
84891ac5487b67a75aeba6d0454e3734
272ec9bc18972592779cb60a171260d4b73a51f6
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.09/misc/AdbeRdrUpd11009.msp
87844a778844167aeba62a3320e0d2bd
da4a6df1be31cc1b483f39e26e2140a0904dc804
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.10/misc/AdbeRdrUpd11010.msp
d4102694d4e6f67f70ebc75b1a818672
1113af9d70b0d054dd7335c2f9fa84516ac03d68
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.11/misc/AdbeRdrUpd11011.msp
7fe8f3b2775a5eabbe2ef3c5441bae29
182eb5b4ca71e364f62e412cdaec65e7937417e4
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.12/misc/AdbeRdrUpd11012.msp
8e7402599eca578b02e8d4c83474337b
c5a5f2727dd7dabe0fcf96ace644751ac27872e7
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.13/misc/AdbeRdrUpd11013.msp
8dfe082e68a456a8088776d3aa204ed9
89317596ffe50e35c136ef204ac911cbf83b14d9
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.14/misc/AdbeRdrUpd11014.msp
72e1b2f807a58916f291d0c544b98d71
d7b990117d8a6bbc4380663b7090cd60d2103079
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.15/misc/AdbeRdrSecUpd11015.msp
f86ca61b07c241d374b309abb0179a87
16922610e09d73622fef62102077a705c8982316
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.16/misc/AdbeRdrUpd11016.msp
b82b68ab2da1fdb4dbd1494789c47ed8
ca825c50ed96a2fec6056c94c1bb44eedbaed890
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.17/misc/AdbeRdrUpd11017.msp
7306f7baf0893eaf41424a7fabd7c17d
c5fe501856be635566e864fe76f6d6a7ff3874ca
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.18/misc/AdbeRdrUpd11018.msp
74cb509a39157d0074c0d0787e4e5d88
420d64c064cd9904836a60066a222c64b0ea060e
http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.19/misc/AdbeRdrUpd11019.msp
615a18034c41dd718e99eb5be8698340
98fdf7a15fb2486ee7257767296d4f7a0a62ac92

customization wizard
http://ardownload.adobe.com/pub/adobe/acrobat/win/11.x/11.0.03/misc/CustWiz11003_en_US.exe
e4aa57872b03b6f03b54a3c74bd91fd4
24e565fa5944cc8b01024fc63eeb87fc0741b627


Adobe Reader 10
installations:
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.0/en_US/AdbeRdr1010_en_US.exe
a4023795a8c9f126462798396a619b21
84e019ff96256254ce5fe38cf1e095c7faefe3a3
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.4/en_US/AdbeRdr1014_en_US.exe
b5516233ac8eb5d0e8faff582138a455
fe6808d5d11e94dc5581f33ed386ce552f0c84d6

windows installer:
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.0/en_US/AdbeRdr1010_en_US.msi
d480c75d865f80120c0b3ddbc021f554
5972f2cfbd99e1b40a696ac95fcb0410016a0371

patches:
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.1/misc/AdbeRdrUpd1011.msp
ab18327429d55f0f71e417150a66e726
a7bd31679fa5620e9e64beb270752786ab6fe7a1
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.2/misc/AdbeRdrUpd1012.msp
82723ad2cf9ba82ab46debd915c95aff
11ede6859aad919851a08f90fe6a9e8c094a80f7
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.3/misc/AdbeRdrUpd1013.msp
fba7ebd975e572319a41583366c7d08b
a8ea497251f56d83f380b6df26598fcf228105b3
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.4/misc/AdbeRdrUpd1014.msp
39a573338a47038e9ac75e7d257bdc48
5336e845f313ad59e5508946d18e15300bebdf09
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.5/misc/AdbeRdrUpd1015.msp
97c86b48091632000a94433147589472
441a40daf33dcd67545d938cdefff9f1043da5ee
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.6/misc/AdbeRdrSecUpd1016.msp
cb44e552aed1312b3c07de921443fb0a
3bfe343a86a97d35321600763ef15baec11f7fc7
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.7/misc/AdbeRdrUpd1017.msp
e25edbcce190f1894734df8a04991797
716d1e3ac2ec6e019dcf0fd03c46a6d68f0facf1
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.8/misc/AdbeRdrUpd1018.msp
839b3fdd01d96ac7535bc196f2a83d98
6a51c18ac746219c1b6405a4d836596d2bf94e53
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.9/misc/AdbeRdrUpd1019.msp
dfb6bf9259d80f50f675227c91f31883
0b8e8f05df01a9317118043daa270eab03da7ae1
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.11/misc/AdbeRdrSecUpd10111.msp
5bb44db69604b17e6753c875905edd40
6c0b9ba914435cb7b41123155cdb28f018fab904
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.12/misc/AdbeRdrUpd10112.msp
43b45f7155ae337577b3e64f00e7fe4d
bdc69544af4e330f35910940707917e4a9beffe9
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.13/misc/AdbeRdrUpd10113.msp
d0acd07efabf2625c12e462ac4f1f1fd
2d0d0c7d25ecf41d781adcc65814c6dd446ac475
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.14/misc/AdbeRdrUpd10114.msp
2f5ee6e6cc407042fd7de44658e53f97
0a92fa2269a1a123851461caf2c246ab480c281f
http://ardownload.adobe.com/pub/adobe/reader/win/10.x/10.1.15/misc/AdbeRdrUpd10115.msp
86b8e5292385b410b40c3f3e446266ba
e65aa6885415364e3f4beca92b6e76b9acefe469

customization wizard:
http://ardownload.adobe.com/pub/adobe/acrobat/win/10.x/10.0.0/misc/CustWiz1000_en_US.exe
7a6992b53ebc064baea53b30e2ff21d4
5954b7ff03a2565ceb0381ea460b98422adad869

Adobe Reader 9
installations:
http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.5.0/en_US/AdbeRdr950_en_US.exe
ebd8758eb2b721cf8d07dfbeaa9bef7c
e46000691a6dbcd7892078b46c8ee13613683545

windows installer:
http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.5.0/en_US/AdbeRdr950_en_US.msi
76b5ea32c360ee7acea260bd2cc828d9
556e7b8b95486c2c54d7c41aea900707a2967f63

patches:
http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.5.1/misc/AdbeRdrUpd951_all_incr.msp
ffbd3e31f0c0db6ee054738f37a21680
eae1c93a7588228849602ae015ce6409bd4ced34
http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.5.2/misc/AdbeRdrUpd952_all_incr.msp
8b9dbbe35fc2e70bdc23528bc39d9137
ea7cf5c29d77ba54c990c5b58ece4e70bdb30a83
http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.5.3/misc/AdbeRdrUpd953_all_incr.msp
955bee80e58578c9fc3c82b21e731bab
aedcecfe7410d39f0e7229eb513083e7e13c8e8a
http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.5.4/misc/AdbeRdrUpd954_all_incr.msp
2a6c0afdba356bdca60de288a98e691e
07239c9a052b4122fc0fb664b6ca65d8a2be6ced
http://ardownload.adobe.com/pub/adobe/reader/win/9.x/9.5.5/misc/AdbeRdrUpd955_all_incr.msp
f04831afa3306bafb7f6e0aef5da4544
86091768b622d490c257f21c3e22bd24b9a4c441

customization wizard:
http://ardownload.adobe.com/pub/adobe/acrobat/win/9.x/9.0/misc/CustWiz90_en_US.exe
dd485f7cc155a9fb3bd3c18baab7f23d
855e9b265bbb81e1c9360125efbcaf06242dde78

Thursday, November 1, 2012

Multi user resource to maped network drive

for %%a in (user1 user2 user3 user4) do if %%a==%username% (
net use w: /delete /yes
net use w: \\server\share
)