I found that this was actually not a very good idea nor did it make my system faster. This will disable your computer's ability to use virtual memory. sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist To turn it back on sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist However, note the command-line tool "purge"...Read More
I got this error whenever I ran sudo apachectl restart starting after a recent upgrade to 10.6.5: /usr/sbin/apachectl: line 82: ulimit: open files: cannot modify limit: Invalid argument After this reading this post1, I changed /usr/sbin/apachectl line 64 from this: ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`" to this: ULIMIT_MAX_FILES="" References1....Read More
When using App Loader, geting this error when trying to upload my zip file (happens right after you click "Send"): "The CodeResources file must be a symbolic link to _CodeSignature/CodeResources" Do this while at the root of your project: ln -s _CodeSignature/CodeResources CodeResources ...Read More
Apture - (Tristan Acher) "We give readers power to search and explore information without leaving the page." Financial Times is their customer. It is embedded software that displays an in-page window popped up when a user selects text on the page. Used by newspapers (NY...Read More
Last week that Apple said that the new iTunes 10 logo has dropped the CD. This logo change received much bally-hooed flack in the media, with designers even spawning replacement suggestions, such as this one. Then, the popular spoof Steve Jobs tweeter @CEOSteveJobs sent this: "We're...Read More
Here’s a common pattern and good rails thing to know about: read_attribute(:symbol)
Basically what it does is read the attribute from the object’s database field, even if you have over-ridden the name of that attribute with a virtual attribute of the same name.