cczona


Member since 12/15/2007

42 snippets

5809 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 900 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 741 posted 16 years ago by cczona
Beware of requiring 'CGI'. There's trouble in them thar hills/
1 461 posted 16 years ago by cczona
Forces a recalcitrant port to install by *uninstalling* it completely first
0 524 posted 16 years ago by cczona
//for options available, see: http://www.ss64.com/bash/shopt.html
1 887 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 946 posted 16 years ago by cczona
0 526 posted 16 years ago by cczona
Preferences > Advances > Folder References
0 4505 posted 17 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 701 posted 17 years ago by cczona
1 2 Next »