Welcome To Snipplr


Everyone's Recent Snippets



1 ... 506 507 508 509 510 ... 552
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 1752 posted 18 years ago by cczona
1 4061 posted 18 years ago by jpdamen
0 1801 posted 18 years ago by jpdamen
1 2409 posted 18 years ago by jpdamen
1 2124 posted 18 years ago by jpdamen
1 2256 posted 18 years ago by jpdamen
I got halfway making this but switched to another method. Thought I'd save it just in case... options_for_select(): http://pylonshq.com/WebHelpers/module-webhelpers.rails.form_options.html#options_for_select Based on http://snipplr.com/view/169/u...
0 1568 posted 18 years ago by pr1001
To change the amount of context change the number after -U
0 2674 posted 18 years ago by jachin
0 1586 posted 18 years ago by dima767
Easiest way to get the last day in the current month.
2 2722 posted 18 years ago by alli14404
Unable to use CSS for select tag? Simple changes approve it. P.S. Don't forget about prototype framework ()
1 1535 posted 18 years ago by timka
Not mine. Changed from the original it to suit my needs.
2 2042 posted 18 years ago by cubit
A basic function to return the last used row for a given row
0 1838 posted 18 years ago by fabboi03
1 2103 posted 18 years ago by raulintosh
Jquery is awesome. Requires jquery!
4 1850 posted 18 years ago by lagrangeapex
Convert headings to have id's with the content of the heading
2 1653 posted 18 years ago by lagrangeapex
I use in textmate / e to convert whitespace to underscores.
6 2275 posted 18 years ago by lagrangeapex
Create a copy of a text file with blank lines removed.
0 1922 posted 18 years ago by ches
adapted from http://www.gotocode.com/art.asp?art_id=275&
0 2291 posted 18 years ago by clapfouine
1 ... 506 507 508 509 510 ... 552