Welcome To Snipplr


Everyone's Recent Snippets



1 ... 507 508 509 510 511 ... 554
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 791 posted 17 years ago by cczona
1 1068 posted 17 years ago by jpdamen
1 1116 posted 17 years ago by jpdamen
1 984 posted 17 years ago by jpdamen
1 1028 posted 17 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 697 posted 17 years ago by pr1001
To change the amount of context change the number after -U
0 1583 posted 17 years ago by jachin
0 720 posted 17 years ago by dima767
Easiest way to get the last day in the current month.
2 1142 posted 17 years ago by alli14404
Unable to use CSS for select tag? Simple changes approve it. P.S. Don't forget about prototype framework ()
1 698 posted 17 years ago by timka
Not mine. Changed from the original it to suit my needs.
2 979 posted 17 years ago by cubit
A basic function to return the last used row for a given row
0 918 posted 17 years ago by fabboi03
1 1025 posted 17 years ago by raulintosh
Jquery is awesome. Requires jquery!
4 830 posted 17 years ago by lagrangeapex
Convert headings to have id's with the content of the heading
2 665 posted 17 years ago by lagrangeapex
I use in textmate / e to convert whitespace to underscores.
6 886 posted 17 years ago by lagrangeapex
Create a copy of a text file with blank lines removed.
0 844 posted 17 years ago by ches
adapted from http://www.gotocode.com/art.asp?art_id=275&
0 1152 posted 17 years ago by clapfouine
1 ... 507 508 509 510 511 ... 554