How To Disable the Brightness Keys in MacOSX

Author: , July 26th, 2012

Download and install the prefpane FunctionFlip. Then set the F1 and F2 keys to default to having Fn pressed, which effectively disables the “Change Brightness” feature… http://kevingessner.com/software/functionflip/

How To Disable Swap On MacOSX

Author: , July 25th, 2012

DON’T DO THIS UNLESS YOU ARE EXPERT LEVEL SYSADMIN!! YMMV… As root: launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist rm /private/var/vm/swapfile* BONUS LINKS: How to move your swapfile: http://superuser.com/questions/28414/moving-the-swapfiles-to-a-dedicated-partition-in-snow-leopard Apple Memory Docs: https://developer.apple.com/library/mac/#documentation/Performance/Conceptual/ManagingMemory/Articles/AboutMemory.html

How To Disable A Button In A jQuery UI Dialog

Author: , May 17th, 2011

Important Note: This solution REQUIRES jQuery UI 1.8 or better and the .button() plugin/widget (contained in the full download):

Original Post: http://stackoverflow.com/questions/3646408/how-can-i-disable-a-button-on-a-jquery-ui-dialog