cczona


Member since 12/15/2007

42 snippets

3998 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 709 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 589 posted 16 years ago by cczona
Beware of requiring 'CGI'. There's trouble in them thar hills/
1 333 posted 16 years ago by cczona
Forces a recalcitrant port to install by *uninstalling* it completely first
0 392 posted 16 years ago by cczona
//for options available, see: http://www.ss64.com/bash/shopt.html
1 687 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 742 posted 16 years ago by cczona
0 363 posted 16 years ago by cczona
Preferences > Advances > Folder References
0 4212 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 524 posted 16 years ago by cczona
1 2 Next »