Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 359 360 361 362 363 ... 552
requires Rails libraries. could be rewritten to just use core Ruby libs, but I'm too lazy right now and I use this entirely in my Rails apps.
0 2296 posted 16 years ago by mepatterson
1 1769 posted 16 years ago by fatihturan
2 2909 posted 16 years ago by fatihturan
0 1941 posted 16 years ago by tobewan
Replace *foo* with your module name
0 1818 posted 16 years ago by Ateneatech
1 1814 posted 16 years ago by level09
1 1762 posted 16 years ago by level09
4 7427 posted 16 years ago by traeregan
I recently had to remove some files from a svn repo. should work pretty much out of the box, just fill in blatantly exampleish text and read the comments
0 2022 posted 16 years ago by spreelanka
0 1529 posted 16 years ago by ReeceMarsland
For some reason, Snipplr has decided not to HTML-encode <code>&lt;</code> and <code>&gt;</code> signs (i.e., replacing them with `&lt;` and `&gt;`) that a user inputs into a comment box, and instead strips anything that looks like a tag from the comm...
0 2162 posted 16 years ago by wizard04
This code appends a class of external to all all outbound links It includes a fix for Safari which does not recognise internal links that use a different port
1 2371 posted 16 years ago by flicity
0 1554 posted 16 years ago by fatihturan
**work in progress**
0 2224 posted 16 years ago by manatlan
Ruby provides a platform independent way of displaying file paths. Here are a few common ways to show absolute and relative paths.
0 2094 posted 17 years ago by chrisaiv
1 1487 posted 17 years ago by inthewayboy
1 1787 posted 17 years ago by adrianparr
This javascript greets visitors to your website depending on where they come from. There are messages for visitors coming from Entrecard, Twitter, and search engines. It should be easy to adapt the code to include other referral sites as well. In...
0 1776 posted 17 years ago by benjamin
1 1872 posted 17 years ago by laurenceosx
0 1799 posted 17 years ago by benjaminpearson
1 ... 359 360 361 362 363 ... 552