Category Archives: Tech

Mac OS X Sleep and Wake log or history

Type the following command in terminal:

pmset -g log|grep -e ” Sleep ” -e ” Wake ”


How to Clean Install Windows on an mSSD Cache Equipped Laptop

Clean Install Windows on an mSSD Cache Equipped Laptop

Note: It is possible to enable/disable RAID configuration in BIOS if you cannot access windows.

The first step would be to disable acceleration using Intel Rapid Storage Technology software.

Next, you need to Release the Hard Drive “Make available” also using Intel Rapid Storage Technology software. The mSSD is no longer used as a cached drive, and should be available as a separate drive in Windows. Restart computer. If not you need to format it in Windows’s Disk Management.

Then, install Windows and necessary drivers as usual.

Finally, you can enable acceleration again using Intel Rapid Storage Technology software. (You would have to download it again).

Disable ‘Reopen windows when logging back in’

Disable ‘Reopen windows when logging back in’

To permanently disable ‘Reopen windows when logging back in,’ you can use the following command:

defaults write TALLogoutSavesState -bool false

This will effectively disable ‘Reopen windows when logging back in,’ though the checkbox will still be ticked. However, this switch resets itself every time on reboot. To prevent this from happening, again we remove write permissions on the file containing the option:

chmod a-w ~/Library/Preferences/

This should do it. But there’s where OS X gets nasty. When it can’t write to this file, it will try to put the write permissions back itself. The solution is to change the owner to root, effectively preventing anyone (but root) from changing permissions on the file:

sudo chown root ~/Library/Preferences/

To reverse this, simply issue the following commands:

sudo chown $USER ~/Library/Preferences/
chmod a+w ~/Library/Preferences/
defaults write TALLogoutSavesState -bool true

By: SeySayux

Disable Saved Application States in Lion

Disable Saved Application States

1- removes any saved application states:

rm -r ~/Library/Saved\ Application\ State/*

2- Permanently prevent Application from writing its state:

chmod -R a-w ~/Library/Saved\ Application\ State

To re-enable the feature, issue the same command, but replace ‘a+w’ with ‘a-w’:

chmod -R a+w ~/Library/Saved\ Application\ State

What is VPS?

What is VPS? Virtual private server (VPS)

A VPS is a virtual machine running in software on the same physical computer as other customers’ virtual machines and is functionally equivalent to a separate physical computer.

Virtual private servers bridge the gap between “shared web hosting” services and “dedicated hosting” services, giving independence from other customers of the VPS service in software terms but at less cost than a physical dedicated server.

What is Cloud server?

A VPS, which is dynamic, (that is, it can be changed at runtime) is often referred to as a cloud server. Key attributes for this are:

– Additional hardware resources can be added at runtime (CPU, RAM) – Server can be moved to other hardware while the server is running (automatically according to load in some cases)


VPS providers (Monthly cost comparison)

Monthly cost Memory Memory/$ Storage Transfer
Slicehost $20.00 256MB 12.80MB 10GB 100GB
Linode $19.95 360MB 18.05MB 16GB 200GB
Prgmr $20.00 1024MB 51.20MB 24GB 160GB
Rackspace $21.90 512MB 23.38MB 20GB
Amazon $62.05 1.7GB 28.05MB 160GB