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 1751 posted 18 years ago by cczona
1 4058 posted 18 years ago by jpdamen
0 1800 posted 18 years ago by jpdamen
1 2405 posted 18 years ago by jpdamen
1 2122 posted 18 years ago by jpdamen
1 2254 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 1566 posted 18 years ago by pr1001
To change the amount of context change the number after -U
0 2671 posted 18 years ago by jachin
0 1583 posted 18 years ago by dima767
Easiest way to get the last day in the current month.
2 2718 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 1837 posted 18 years ago by fabboi03
1 2101 posted 18 years ago by raulintosh
Jquery is awesome. Requires jquery!
4 1849 posted 18 years ago by lagrangeapex
Convert headings to have id's with the content of the heading
2 1651 posted 18 years ago by lagrangeapex
I use in textmate / e to convert whitespace to underscores.
6 2271 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 2289 posted 18 years ago by clapfouine
1 ... 506 507 508 509 510 ... 552