cczona


Member since 12/15/2007

42 snippets

5552 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 441 posted 16 years ago by cczona
Forces a recalcitrant port to install by *uninstalling* it completely first
0 509 posted 16 years ago by cczona
//for options available, see: http://www.ss64.com/bash/shopt.html
1 856 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 921 posted 16 years ago by cczona
0 500 posted 16 years ago by cczona
Preferences > Advances > Folder References
0 4466 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 675 posted 16 years ago by cczona
1 2 Next »