Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 215 216 217 218 219 ... 552
This will require a user to log back in if they are inactive for more than 10 minutes. In order for this feature to be used you must have a last_request_at datetime column in your table for whatever model you are authenticating with.
0 2188 posted 15 years ago by gmericksen
A nice little code snippet for displaying images randomly when a page is reloaded.
0 1767 posted 15 years ago by danielwrobert
Use as follow in your style.less file : <pre> .example{ .rotation(9deg); } </pre>
1 1808 posted 15 years ago by kanouf
Easiest way to switch theme styles for WordPress demos.
1 2151 posted 15 years ago by vagrantradio
If you are trying to solving one or both of these problems: + If the window is resized to a smaller size that was designed for - a scrollbar would be nice. + If the content is larger than the original design - a scrollbar would be nice Then use...
1 1978 posted 15 years ago by chrisaiv
0 2078 posted 15 years ago by rccc
Use this function if you need to get the same day in the next month (or how many you need). Using defaults functions of php you got this: echo date('Y-m-d', strtotime( " + 1 month " , strtotime('2010-01-31'))); (Output: '2010-03-03') and if yo...
0 1637 posted 15 years ago by vitorbari
0 1882 posted 15 years ago by madr
This seems to be a bug.. or not.. But explains how to fix it anyway.
0 1988 posted 15 years ago by godstroke
An idea of Nicolas Gallagher : pure CSS folded corner. To apply this, you simply have to create a <div> element with the CSS class "note"
2 1673 posted 15 years ago by arnaudbrousseau
Summary ======= A useful function for masking arrays. Very useful if you have a function or method that takes arguments in an array, and you would like to force that array to have a specific structure. Its also great for setting defaults due to...
0 2455 posted 15 years ago by RobertWHurst
# Need $.cookie plugin
1 1700 posted 15 years ago by touffies
0 1757 posted 15 years ago by touffies
Had to track it down through web archives.
0 2004 posted 15 years ago by chendrix
http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip-display-elements-sequentially-with-jquery/
0 1656 posted 15 years ago by alyssonweb
1 2149 posted 15 years ago by polly42
Taken from http://ubuntuforums.org/showthread.php?t=255556
0 1832 posted 15 years ago by sergeygerasimov
as3query written by nitoyon. http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html Package download: http://bit.ly/as3query
0 1905 posted 15 years ago by adamcoulombe
as3query written by nitoyon. http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html Package download: http://bit.ly/as3query
0 1667 posted 15 years ago by adamcoulombe
1 ... 215 216 217 218 219 ... 552