Welcome To Snipplr


Everyone's Recent Snippets



1 ... 518 519 520 521 522 ... 552
Convert (comma separated) keywords to (space separated) tags in BibTeX files for use in social bibliography sites (bibsonomy.org, citeulike.org)
0 2127 posted 19 years ago by iblis
Retrieves gif page images from RIFIAS on-line archive and combines them into a single pdf file
0 1626 posted 19 years ago by iblis
4 2329 posted 19 years ago by andrewbowley
Put classes around your bodyy, to allow different colors for seperate pages and areas on your site. IT will simply add a css-safe version of the first argument in an url. Say the url is /about_us/our_company the class will be body.about-us Require...
2 2032 posted 19 years ago by berkes
This will open up the 443 port in your firewall to TCP connections. Run as root.
0 1528 posted 19 years ago by micmath
2 2356 posted 19 years ago by hyperwhat
1 1259 posted 19 years ago by z0rg
3 2249 posted 19 years ago by m10
A shell script to install a Rails production stack on Ubuntu
0 1575 posted 19 years ago by ctran
This function (intended to be an application or view helper) creates a pager bar useful for navigating many pages. It shows the first, last, current, nearby, and halfway-to-end pages. It looks like this (where the current page is 11): < 1 ... 5 .....
1 1498 posted 19 years ago by Agent
This is an extension to Ruby's String class. Just put this code in a file and include it. This basically takes a string and adds literals and padding to it. For example, you can format a phone number with optional area code like this: "5445556...
1 2151 posted 19 years ago by Agent
0 2233 posted 19 years ago by micmath
0 1936 posted 19 years ago by micmath
From http://www.novell.com/coolsolutions/feature/11251.html
1 1839 posted 19 years ago by micmath
based loosely on Eric Meyers sheet but then tweaked to my own.
2 1704 posted 19 years ago by smynett
10 2962 posted 19 years ago by salsajid
replace submit buttons with nice images and does also the rollover. Easy.
1 1785 posted 19 years ago by valcartei
Style form fields
1 1997 posted 19 years ago by valcartei
this layout has a fixed width sidebar and a fluid main body.
1 1579 posted 19 years ago by penguin999
Developed for eclipse but prolly useful elsewhere, put the text after 'find' in the 'find' box and the text after 'replace' in 'replace'. Note: this example uses an html list item 'li', make sure to replace that with the tag you want to find
5 2296 posted 19 years ago by rhlowe
to call this function you would use "asfunction:myFunction,argument1,argument2,argument3" as the href in the tag in an HTML text box.
0 2463 posted 19 years ago by Bonky
have dt and dd inline is done automatically in Firefox, but screws up in IE7. So we need additional css rules, which have to be applied only if IE is used.
0 2248 posted 19 years ago by valcartei
To use css which will only be applied if the browser is IE.
0 1928 posted 19 years ago by valcartei
From railscast #41
2 2194 posted 19 years ago by bordalix
There must also be a JavaScript function defined in the containing HTML page: function makePopup(url,pop_name,width,height) { window.open(url, pop_name, "width="+width+",height="+height+",resizable=yes,scrollbars=yes"); }
1 2097 posted 19 years ago by Bonky
1 ... 518 519 520 521 522 ... 552