Welcome To Snipplr


Everyone's Recent Snippets



1 ... 391 392 393 394 395 ... 553
0 1485 posted 16 years ago by deepsoul
2 1602 posted 16 years ago by iTony
1 1667 posted 16 years ago by Meander365
das plugin muss über das Temp verzeichnis installiert werden siehlink
0 1160 posted 16 years ago by nico65
To prevent multiple submit from sending more than one request, bind the submit event and store a "disabledOnSubmit" data. Next time the event "submit" will be fire, the following jQuery code will return false. All submit buttons are also disabled (...
9 1954 posted 16 years ago by dalexandre
Slightly more efficient than "as.numeric(as.character(f))"
0 3571 posted 16 years ago by fonnesbeck
Converts dates in Numbers to SQLite format.
0 1550 posted 16 years ago by fonnesbeck
sed is required because hg status returns paths with \ (backslash) instead of / (slash). I'm using the Windows version of Mercurial, in a linux version you can omit the sed part.
0 1445 posted 16 years ago by geekiuscaesar
this function formats a web address for use in a link.<br> echo formatWebAddress("google.com");<br> http://www.google.com/
1 1595 posted 16 years ago by jlvallelonga
0 1320 posted 16 years ago by terrencewood
Probably not the most elegant solution, but it works. Needed this for a capistrano deploy task which shows the most recent tagged releases in my repository. Very bare bones, and needs tweaking if your versions are not in X.X.X.X format.
1 1672 posted 16 years ago by bananastalktome
Use this to quickly clean-up a file which has opening braces on a new line, a particular annoyance of mine.
1 1566 posted 16 years ago by Zenithus
0 1135 posted 16 years ago by radarseven
Doesn't work in IE6, so use this to enhance sites rather than use thenm for required information. Very handy for adding a PDF icon behind a link. Make icons very small (16px x 16px) and with transparent space on left and top to make it look more al...
4 1552 posted 16 years ago by carriegates
Displaying values as hex in a PropertyGrid by using a TypeConverter class. The TypeConverter class is assigned as a property to the PropertyGrid's data element. Consider improving by making the UInt32HexTypeConverter a generic/template as in HexTy...
0 2505 posted 16 years ago by jimfred
0 1257 posted 16 years ago by pdswan
Sometimes you click a link like faq.html#item5 and, after the browser jumps you to the anchor, you have trouble spotting the item you're looking for. anchorAway is a little function that helps you call a function on anchored items, maybe something li...
0 1391 posted 16 years ago by dougunderscorenelson
0 1078 posted 16 years ago by laurenceosx
This is one of my favs to use and reuse. Essentially, we make a select box on what is in the table filled values/labels. Download the ISO countries list to make a country table and Bam! with this function you got a country select box... Also grea...
1 1318 posted 16 years ago by brownrl
works in IE6/IE7 with the css expression.
3 1745 posted 16 years ago by coreypurcell
use this function to insert a string into another string at a certain position.<br> echo insertString("legendary", " wait for it ... ", 5);<br> legen wait for it ... dary
0 1313 posted 16 years ago by jlvallelonga
Every now and then I need a form select list of all provinces and states... I figured I'm not the only one, so here you go, hope it helps!
1 3021 posted 16 years ago by ecardoza
From StackOverflow. I'm still not quite happy with my understanding of it, but it looks an order of magnitude more elegant than most I've found.
0 1590 posted 16 years ago by rengber
1 1236 posted 16 years ago by disc0nnect
1 1667 posted 16 years ago by jseltzer
1 1625 posted 16 years ago by njhamann
1 ... 391 392 393 394 395 ... 553