Wednesday, December 11, 2013

Installing ntfs-3g on Mavericks

http://crosstown.coolestguidesontheplanet.com/os-x/56-how-to-write-to-a-ntfs-drive-from-os-x-mavericks

Friday, November 15, 2013

Interface builder for bootstrap CSS

Here it is... A tool to build bootstrap websites quickly.

http://www.layoutit.com/

Bootstrap CSS

Bootstrap provides a Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.

Check it out at http://getbootstrap.com/

Sunday, November 10, 2013

Good explanation of python decorators

By Simeon Franklin

http://simeonfranklin.com/blog/2012/jul/1/python-decorators-in-12-steps/

Thursday, November 7, 2013

Installing python-ldap in Ubuntu

$ sudo apt-get install python-dev libldap2-dev libsasl2-dev libssl-dev 
$ pip install python-ldap

Wednesday, November 6, 2013

Where are books stored in iBooks in Mavericks

At the following path.

~/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books

Checking the PYTHONPATH interactively

You can see the value of your Python path using the Python interactive interpreter and tying this:

>>> import sys 
>>> print sys.path

Thursday, October 3, 2013

Computer powers on itself after shutdown.

I used to run into a problem in which my newly built computer would power on itself after being shutdown. Most of the online posts talked about Windows Scheduled Tasks. However, these come into play only when the computer is in 'Sleep' mode not in shutdown.

Finally, I found the solution. The problem was a default setting on Asus motherboard (Z87 Pro) which kept the Wireless adaptor powered on even though the computer was shutdown. This would cause the box to boot up anywhere between 2 and 20 mins after shutdown.

The solution was to enable "ErP Ready" under the APM Configuration in the BIOS. When the machine shuts down with the Wifi adapter enabled, the Wifi LED will go off (instead of staying on like before). The ErP mode setting will disable the Wifi wakeup at the BIOS level. The setting description says, "This item allows user to switch off some power at S5 to get the system ready for ErP requirement."

S5 state is the shutdown/OFF state. So it makes sense when it says it switches off power at the S5 state; it switches off power to the Wifi module, essentially disabling it and not allowing it to turn the machine on.

Tuesday, September 17, 2013

Formatting JSON files

Oftentimes you have JSON files which need to be formatted and checked for validity. You can use the following ways of going about it.

1. Using Python
cat file.json | python -mjson.tool > newfile.json

2. Uing jsonlint
Install jsonlint using 'sudo apt-get install  python-demjson'

Then use the command 

jsonlint -fv file.json > newfile.json 

Tuesday, April 16, 2013

Best uninstaller for mac

Uninstalling mac apps is easy. Just drag them to the Thrash. But you are often left with files in the ~/Library folder created by the app. To completely get rid of these files, its always a good idea to use an  uninstaller.

The best uninstaller for Mac is free and is called AppCleaner. Download it from http://www.freemacsoft.net/appcleaner/

Sunday, March 31, 2013

Repairing a time chaine volume

http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html

Tuesday, January 29, 2013

How to manually uninstall the Altiris Agent for Mac

See details at http://www.symantec.com/business/support/index?page=content&id=HOWTO59038