cczona


Member since 12/15/2007

42 snippets

5611 profile views

2 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

cczona's Recent Snippets



1 2 Next »
URI objects can be opened directly by open-uri
0 874 posted 16 years ago by cczona
You can turn off warnings for a section of your code by setting $VERBOSE to nil. Even better is to codify this in a method. Since this method takes a block as its parameter, you can now pass it arbitrary chunks of code to execute without warnings.
1 726 posted 16 years ago by cczona
Beware of requiring 'CGI'. There's trouble in them thar hills/
1 444 posted 16 years ago by cczona
Forces a recalcitrant port to install by *uninstalling* it completely first
0 511 posted 16 years ago by cczona
//for options available, see: http://www.ss64.com/bash/shopt.html
1 857 posted 16 years ago by cczona
When Apache under OS X throws 'Forbidden' errors on files under the ~/Sites path, and the error log report 'Permission denied: access to /somefile/blah failed because search permissions are missing on a component of the path', check a missing Other E...
1 922 posted 16 years ago by cczona
0 504 posted 16 years ago by cczona
Preferences > Advances > Folder References
0 4470 posted 16 years ago by cczona
To find out how much swap you are using at any given time. If there's more than 1 swapfile you could benefit from more RAM.
0 678 posted 16 years ago by cczona
1 2 Next »