Welcome To Snipplr


Everyone's Recent Snippets



1 ... 171 172 173 174 175 ... 553
Syntax check for Red hat / Centos
0 1580 posted 15 years ago by hamsterbacke82
If a string exceeds x characters (defaults to 100), trims the string to the first x characters and appends a tail to the end of the truncated string (defaults to an ellipsis).
0 1643 posted 15 years ago by bluecap
Execute function / action when an element has loaded or clicked. Originally seen here: http://www.codingforums.com/archive/index.php/t-144582.html
0 1489 posted 15 years ago by reverend
0 1329 posted 15 years ago by marvin9000
Der Code für's Firefox Such Plugin (in der Suchleiste)
0 1547 posted 15 years ago by Anarchon
Determines if splash screen is iPad or iPhone.
0 1639 posted 15 years ago by vagrantradio
Hi Guys, I had a job to remove all kinds of comments from the Lua file. I tried to find a usable Python script to this on the net, but Google did not help. Therefore, I made one. This script recognizes all types of comments such as single and mul...
0 2600 posted 15 years ago by Woodoo
Transforms string to it's possessive form and return it's original case form.
0 1282 posted 15 years ago by Arvi
Sometimes you have a load of HTML that is difficult to write up as a String from within a javascript function so this is an example of a simple Panel with an event for after rendering that injects it with content from a file.
0 2182 posted 15 years ago by LeeProbert
Just save this as MY_Router.php and upload to application/core/ and now you'll be able to use us :alpha along with :num and :any in your routes to signify that you just want to match a-z.
0 1806 posted 15 years ago by Josh
Better way to hide content whilst still making it available to
0 1575 posted 15 years ago by lamebollock
This is a jquery full screen background image plugin for indexhibit using http://srobbin.com/jquery-plugins/jquery-backstretch/
0 1331 posted 15 years ago by orionrush
1 1942 posted 15 years ago by mb2o
1 2094 posted 15 years ago by mb2o
0 1137 posted 15 years ago by dbugger
0 2868 posted 15 years ago by shodan_uk
Adapted from CakePHP
0 1619 posted 15 years ago by shodan_uk
Ruby uses created_at and updated_at. Here cake will do the same thing. based on http://book.cakephp.org/view/1015/created-and-modified
0 1909 posted 15 years ago by kendsnyder
Hide the url bar on page load in webkit mobile browsers.
0 2758 posted 15 years ago by vagrantradio
If you are developing for iOS with AIR and are deleting/removing applications from iTunes/device each time you want to test you will want to read this.
0 1944 posted 15 years ago by renaun
0 1551 posted 15 years ago by jmccartie
Add to the <head> of your page after the main stylesheet to serve different stylesheets for different versions of Internet Explorer
0 1468 posted 15 years ago by amyb
A implement of itoa with c++, std string. itoa is function that convert a integer to a string.
0 1607 posted 15 years ago by vikiyou
1 ... 171 172 173 174 175 ... 553