Monday, August 31, 2009
Thursday, June 11, 2009
Disable Finder Auto-Opening of Mounted External Drives
I recently made a DMG of OSX 10.5.6 off of the original Apple Install DVD via Disk Utility. I then restored it to a partition on my PCI ExpressCard to act as an installer and boot from it when needed.
The problem I am having is that when I rebook, Finder opens as if I had inserted the actual optical disc. To solve this problem, you need to open Terminal and execute:
sudo bless -folder /Volumes/X
Where X is the drive name.
Tuesday, June 9, 2009
LifeTime of a Solid State Hard Drive (SSD)
Solid State Hard Drives (SSD) are incredibly fast. Nowadays, you don't replace your laptop, you replace your hard drive. However, there are a couple of things you need to know about SSDs. For example, their limited lifetime. Let's take for example Intel X25-M 80GB SSD.
Intel aimed to make it last AT LEAST 5 years under NORMAL USAGE CONDITIONS, the 5 year estimate is based on a ludicrously high amount of writes per day.
Only Intel guarantees that their SSDs will lasts 5 years at least. If you manage to somehow use it up before that they will replace it under warranty. However, it is totally unrealistic even on a heavy server load.
80GB x 100,000 life-time writes * (1 data unit /1.1 write amplification overhead) = 7.27 million GB lifetime writes of data. Write speed 70 MB/s = 0.07 GB/s
7.27 million GB lifetime writes of data / 0.07 GB/s = 103.8 million seconds lifetime writes of data
103.8 x 1,000,000/1 million x minute/60 seconds x hour / 60 minutes x day / 24 hours x year / 365 days = 3.29 year lifetime writes of data. (double it for the 160GB version)
So if you max out the sequential writes at a nice flat 70MB/s which is the drive's max, and it has a write amplification of 1.1, and you do that 24/7/365 non stop, it will last 3.29 years.
of course, to put this in perspective:
0.07 GB/s x 60 seconds / minute x 60 minutes / hour x 24 hours / day = 6048 GB a day written to an 80GB drive. every day, 24/7/365 non stop writing.
Thursday, June 4, 2009
Windows Live Messenger Configurations
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger]
"AppSettings"=hex:42,00,01,00
"AlwaysOnTop"=hex:00,00,00,00
Another settings I use is to disable the tabs, and the annoying MSN Today window, logging, and enable showing messenger in the task bar. NOTE: open your registry and change XXXXX according to your specific number.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\PerPassportSettings\XXXXX]
"DisableTabs"=dword:00000001
"DisableMSNToday"=hex:01,00,00,00
"MessageLoggingEnabled"=dword:00000000
"ShowTaskbar"=hex:01,00,00,00
Tuesday, May 19, 2009
Remove AcroRd32Info.exe
- Click on Start->Run
- Type:
- regsvr32 "C:\Program Files\Common Files\Adobe\Acrobat\ActiveX\pdfshell.dll" /u
- Click Ok
Sunday, June 22, 2008
PeerGuardian 2 and history.db
If you don't know what PeerGuardian 2, the possibilities of your PC making an unwanted connections to P-2-P or other sites on the last 24 hours is close to 99.99%!
PeerGuardian 2 is premier IP blocker for Windows that protects your privacy and make tracking you back specially when you're using P-2-P difficult if not impossible.
| File | Description | Size |
|---|---|---|
| pg2-9x.exe | PeerGuardian 2 for Windows 98/ME | 0.82MiB |
| pg2-nt.exe | PeerGuardian 2 for Windows 2000/XP/2003 | 0.84MiB |
| pg2-x64.exe | PeerGuardian 2 for Windows XP/2003 x64 Edition | 1.07MiB |
| pg2-src.zip | PeerGuardian 2 source code (for programmers) | 1.33MiB |
The only drawbacks of PeerGuardian 2 is, it keeps log of your blocked connections and the problem is even worse if you are logging the allowed connections. What that means is, with time your history.db size could take up some Gigabytes of your hard drive.
In my situation, I'm pretty comfortable with the connections I make and I don't want any history logging. The best way to solve this is
- Disable PeerGuardian 2
- Go to C:\Program Files\PeerGuardian2\
- Delete the history.db
- Enable PeerGuardian 2
Sunday, June 8, 2008
CHM Viewers For Apple Mac
If you're like me reading a lot of eBooks, Adobe Acrobat and Microsoft CHM engine are great tool if you are working under windows. However, under Apple Mac, For PDF, we have (Preview) which I think is even better than Adobe Acrobat as well as we have Adobe Acrobat for Macs.
The challenge is what about those Microsoft compiled HTML files or CHM? Well, we have a couple of choices:
- Chmox - No Search function
- xCHM - Slow and bad rendering of HTML
- Chimp - Discontinued & It's the best
luckily, Chimp 1.1 can be downloaded from here: Chimp 1.1
Thursday, June 5, 2008
War Of The Launchers
- Slickrun <- Small, light, and powerful.
- SmartStartMenu <- Powerful and I recommend it since it does auto-indexing of your start menu.
- slimKEYS <- Not Free. AppRocket is better choice.
- Colibri <- Failed to launch some of my applications.
- Launchy <- Terrible, word completion is not working properly.
- AppRocket <- Not Free. Looks good and works well but uses .NET Technology.
- ActiveWords <- Don't even look at it.
- Dave’s Quick Search Bar <- See the above
- Google Desktop <- Google, the name says it all! Too big on system resources.
- Find and Run Robot <-Failed to launch some of my applications.
Literally, I have tried all of these applications. Non of them come close to QuickSilver except one that is not mentioned above here. The reason is you have to spend some extra $$$ to get it. It is called Dash Command and you can download it from here. (Download). Dash is the latest attempt for the Microsoft Windows platforms to emulate the power, flexibility, and usefulness of QuickSilver. Dash Command seems to be a great step in the right direction unlike many of the above listed applications. It’s elegant, and very light of system resources, and the functionality is even fairly fluid.
You can try use it for free and it will do everything from launching your applications on the start menu, except you can't define your own actions nor launch system commands. You have to buy a license for that, but if launching applications on the tip of your finger is all what you're seeking, Dash Command is your friend!
Read the full review here Replacing Start Run - The Quest Continues.
How To Enable Root Account on Mac OSX
Some of us need to have the root account enabled, in my case I need it to run Dynamips for labs.
- Login using the Admin account
- Open up a the Terminal application by selecting -
- Macintosh HD
- Applications
- Utilities
- Terminal
- Type this command
- sudo passwd root
- You will then get the following prompts.
- Enter Password:
- The password of the admin account for verification
- New password:
- Enter your new password for root
- Verify password:
- Verify the password from step2
- The root account is now enabled, with your chosen password
Tweak Leopard's Hidden Features with Secrets
There are a lot of web sites that carries Mac secrets and code to improve your OS X. The truth is, non of them come close to this web site:
secrets.textdriven.com
Here is what you need to do:
- Download and install Secrets
- Un-zip it and double click on (Secrets.prefPane)
- Run System Preferences
- On the bottom under (Other) section, you should see secrets icon. Click it
- If you are connected to the internet, secrets should automatically download secrets file
- Tweak Leopard to your liking!
Wednesday, June 4, 2008
Clone Your Hard Drive
BartPE is a great program, but the truth is you only need SysLinux with some free cloning program. So how do you clone your hard drive for future recovery?
The hard part is done for you! Download and Burn on CD
Speed Up FireFox!
Firefox is fast but can be faster! Depending on your situation, do the following:
- If FireFox is running, you need to close it. Copy the instructions into WordPad then close FireFox
- Run Notepad
- Click File->Open and change the (Files of type) to (All files)
- Navigate to:
C:\Documents and Settings\YOUR USER NAME\Application Data\Mozilla\Firefox\Profiles\SPECIAL NUMBER.default - Select the file prefs.js
- Click Save As, and Save it as prefs.js_Backup
- Re-open prefs.js
- Paste the following code at the end of the file:
- IF YOU HAVE FAST COMPUTER AND FAST INTERNET CONNECTION:
- user_pref("network.http.pipelining", true);
- user_pref("network.http.proxy.pipelining", true);
- user_pref("network.http.pipelining.maxrequests", 8);
- user_pref("content.notify.backoffcount", 5);
- user_pref("plugin.expose_full_path", true);
- user_pref("ui.submenuDelay", 0);
- user_pref("content.interrupt.parsing", true);
- user_pref("content.max.tokenizing.time", 2250000);
- user_pref("content.notify.interval", 750000);
- user_pref("content.notify.ontimer", true);
- user_pref("content.switch.threshold", 750000);
- user_pref("nglayout.initialpaint.delay", 0);
- user_pref("network.http.max-connections", 48);
- user_pref("network.http.max-connections-per-server", 16);
- user_pref("network.http.max-persistent-connections-per-proxy", 16);
- user_pref("network.http.max-persistent-connections-per-server", 8);
- user_pref("browser.cache.memory.capacity", 65536);
- IF YOU HAVE FAST COMPUTER, SLOWER CONNECTION:
- user_pref("network.http.pipelining", true);
- user_pref("network.http.proxy.pipelining", true);
- user_pref("network.http.pipelining.maxrequests", 8);
- user_pref("content.notify.backoffcount", 5);
- user_pref("plugin.expose_full_path", true);
- user_pref("ui.submenuDelay", 0);
- user_pref("content.max.tokenizing.time", 2250000);
- user_pref("content.notify.interval", 750000);
- user_pref("content.notify.ontimer", true);
- user_pref("content.switch.threshold", 750000);
- user_pref("network.http.max-connections", 48);
- user_pref("network.http.max-connections-per-server", 16);
- user_pref("network.http.max-persistent-connections-per-proxy", 16);
- user_pref("network.http.max-persistent-connections-per-server", 8);
- user_pref("nglayout.initialpaint.delay", 0);
- user_pref("browser.cache.memory.capacity", 65536);
- IF YOU HAVE FAST COMPUTER, SLOW CONNECTION:
- user_pref("network.http.pipelining", true);
- user_pref("network.http.proxy.pipelining", true);
- user_pref("network.http.pipelining.maxrequests", 8);
- user_pref("content.notify.backoffcount", 5);
- user_pref("plugin.expose_full_path", true);
- user_pref("ui.submenuDelay", 0);
- user_pref("browser.xul.error_pages.enabled", true);
- user_pref("content.interrupt.parsing", true);
- user_pref("content.max.tokenizing.time", 3000000);
- user_pref("content.maxtextrun" 8191);
- user_pref("content.notify.interval", 750000);
- user_pref("content.notify.ontimer", true);
- user_pref("content.switch.threshold", 750000);
- user_pref("network.http.max-connections", 32);
- user_pref("network.http.max-connections-per-server", 8);
- user_pref("network.http.max-persistent-connections-per-proxy", 8);
- user_pref("network.http.max-persistent-connections-per-server", 4);
- user_pref("nglayout.initialpaint.delay", 0);
- user_pref("browser.cache.memory.capacity", 65536);
- IF YOU HAVE SLOW COMPUTER, FAST CONNECTION:
- user_pref("network.http.pipelining", true);
- user_pref("network.http.proxy.pipelining", true);
- user_pref("network.http.pipelining.maxrequests", 8);
- user_pref("content.notify.backoffcount", 5);
- user_pref("plugin.expose_full_path", true);
- user_pref("ui.submenuDelay", 0);
- user_pref("content.max.tokenizing.time", 3000000);
- user_pref("content.notify.backoffcount", 5);
- user_pref("content.notify.interval", 1000000);
- user_pref("content.notify.ontimer", true);
- user_pref("content.switch.threshold", 1000000);
- user_pref("content.maxtextrun", 4095);
- user_pref("nglayout.initialpaint.delay", 1000);
- user_pref("network.http.max-connections", 48);
- user_pref("network.http.max-connections-per-server", 16);
- user_pref("network.http.max-persistent-connections-per-proxy", 16);
- user_pref("network.http.max-persistent-connections-per-server", 8);
- user_pref("dom.disable_window_status_change", true);
- IF YOU HAVE FAST COMPUTER AND FAST INTERNET CONNECTION:
Tuesday, June 3, 2008
Windows Live (Mail/Messenger/Writer/Photo) Installers
When you want to install one of the following:
- Windows Live Messenger
- Windows Live Mail
- Windows Live Writer
- Windows Live Photo
You have to download a small online installation file (WLinstaller.exe), but where are the standalone installers?
Download and save the below original installation files, next time you want to install any of the above on another machine or reinstall them, you don't need to be under the mercy of Microsoft Online Installer (WLinstaller.exe).
Download The Standalone Installers - Originals from download.microsoft.com:
- Windows Live Messenger - 8.5.1302.1018 (Download)
- Windows Live Mail - (Download)
- Windows Live Writer - (Download)
- Windows Live Sign-in Assistant - (Download)
- Windows Live Photo Gallery - (Download)
Monday, June 2, 2008
Check Hotmail using Outlook Without Subscription
For people who have Microsoft Outlook 2003 or Outlook 2007, Microsoft has released a free utility for Microsoft Outlook called "Microsoft Office Outlook Connector" that allows you to Read/Write emails from your Windows Live Hotmail account using Microsoft Office Outlook WITHOUT Live Hotmail Plus subscription
Download Outlook Connector
OR
Click Here
Microsoft Office Outlook Connector only works with Microsoft Outlook 2003 and 2007. Earlier version of Microsoft Outlook and also Outlook Express won't work.
Configuring:
Install soft Office Outlook Connector
After soft Office Outlook Connector has been installed, a menu option (Outlook Connector) is added in Outlook:
Click on Outlook Connector menu option , choose "Add a new Account..." and just fill up the email information - user name and password.
Tuesday, May 27, 2008
Speed Up Microsoft Windows
There are a lot of software that claim to speed up Microsoft Windows, some stand up to that claim, but wisdom says (If you don't know how to drive, don't buy a car!) <--My wisdom! So, let's see how we can speed up Windows!
Click Start->Run->Type (services.msc) without the parentheses
Find the below services and stop them (Double Click on them, change startup type to Disabled)
- .NET Runtime Optimization Service v2.0.50727_X86 (or similar version)
- Alerter
- Automatic Updates (Run it manually when needed)
- ClipBook
- Computer Browser
- Error Reporting Service (Yeah, just close the program if error happens)
- Fast User Switching Compatibility (If you have only one user using the PC)
- Help and Support (For dummies)
- Indexing Service (Slowing my PC as hell!)
- Messenger (Should be disabled since SP1-security reasons)
- Net.Tcp Port Sharing Service
- Network DDE
- Network DDE DSDM
- Remote Registry (Hackers love this one when it's running)
- Routing and Remote Access
- Secondary Logon (If you have only one user using the PC, plus for security reasons)
- Server
- SSDP Discovery Service
- System Event Notification
- Task Scheduler
- TCP/IP NetBIOS Helper
- Telnet
- Visual Studio 2008 Remote Debugger
- Windows Image Acquisition (WIA)
Either download and run this TweakRegistry or Do it manually!
Run Notepad, copy and save all what's between the lines as tweaks.REG - Make sure you change the (save as type) to all. Double click the file when you copied the below lines and click ok.
--------------------
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000001
"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AlwaysUnloadDLL]
@="1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout]
"EnableAutoLayout"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Disable Script Debugger"="yes"
"Show_FullURL"="yes"
"Start Page"="about:blank"
"Page_Transitions"=dword:00000000
"FullScreen"="no"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisable8dot3NameCreation"=dword:00000001
"NtfsDisableLastAccessUpdate"=dword:00000001
[HKEY_CURRENT_USER\Control Panel\Desktop]
"AutoEndTasks"="1"
"HungAppTimeout"="500"
"MenuShowDelay"="0"
"WaitToKillAppTimeout"="500"
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"AutoEndTasks"="1"
"HungAppTimeout"="500"
"MenuShowDelay"="0"
"WaitToKillAppTimeout"="500"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPerServer"=dword:00000080
"MaxConnectionsPer1_0Server"=dword:00000080
[HKEY_CLASSES_ROOT\lnkfile]
"IsShortcut"=-
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoResolveTrack"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
"EnablePrefetcher"=dword:00000003
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{2227A280-3AEA-1069-A2DE-08002B30309D}]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stisvc]
"Start"=dword:00000004
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"NoNetCrawling"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoRemoteRecursiveEvents"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisableLastAccessUpdate"=dword:00000001
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\10.0\Outlook\InstantMessaging]
"ForceDisableIM"=dword:00000001
--------------------
- Smooth Edges of screen fonts
- use drop shadows for icons and labels on the desktop
- use visual styles on windows and buttons
- C:\Documents and Settings\
\Local Settings\Application Data\Adobe\Acrobat\8.0\Updater\ - C:\Documents and Settings\
\Local Settings\History\ - C:\Documents and Settings\
\Local Settings\Temp\ - C:\Documents and Settings\
\Cookies\ - C:\WINDOWS\Temp\
- C:\WINDOWS\Internet Logs\
- C:\WINDOWS\assembly\temp\
- C:\Documents and Settings\
\Local Settings\Application Data\ApplicationHistory\ - C:\WINDOWS\WinSxS\InstallTemp\
- C:\WINDOWS\Downloaded Installations\
- C:\WINDOWS\pchealth\helpctr\Logs\
- C:\WINDOWS\pchealth\helpctr\Temp\
- C:\WINDOWS\SoftwareDistribution\Download\
- C:\Program Files\Common Files\WindowsLiveInstaller\Logs\
- C:\Program Files\Common Files\WindowsLiveInstaller\Temp\
Stop Windows Live Messenger Ads
There are a lot of patches and such to stop and remove ads from Windows Live Messenger. I even tried some (without naming), at the cost of stability of the program (Video/Audio chat stopped working), also these patches don't actually stop pulling the ads from Microsoft Ad Server! They just remove the banner ad at the bottom of Windows Live Messenger!
So, what's the easiest most effective way to stop Windows Live Messenger from pulling the Ads from Microsoft servers while you know what's going on? Well, the old plain loopback trick!
- Click Start->Run
- Type: cmd and hit OK
- Type and Hit enter after each line:
- echo 127.0.0.1 rad.msn.com >> c:\WINDOWS\system32\drivers\etc\hosts
- echo 127.0.0.1 rad.live.com >> c:\WINDOWS\system32\drivers\etc\hosts
That's it! No more ads from Micro$oft!