Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 531 532 533 534 535 ... 553
used to remove unnecessary duplication of code. Code is from Jamis Buck (http://weblog.jamisbuck.org/2007/1/24/object-with_options)
1 1503 posted 19 years ago by andyh
Visit the link for instructions on how to use it.
4 1406 posted 19 years ago by jonhenshaw
My additions to the textdrive .profile
0 1132 posted 19 years ago by ryansobol
paste above in HEAD tag
1 1714 posted 19 years ago by clapfouine
Workaround to remove or rename annoying files with long filenames
0 1712 posted 19 years ago by vanne
Les propriétés racourcies Exemple avec la propriété raccourcie 'font': En clair vous pouvez résumer ça: p { font-size: 1em; line-height: 1.5em; font-weight: bold; font-style: italic; font-variant: small-caps; font-family: verdana...
3 1599 posted 19 years ago by clapfouine
Using instance_eval to abstract values into meaningful methods
1 1211 posted 19 years ago by vanne
put this into lib/tasks and then run rake db:version
1 1299 posted 19 years ago by vanne
in javascript use, for example: myJsonObject["js007"].firstname + ' ' + myJsonObject["js007"].lastnamename to return James Bond
1 1555 posted 19 years ago by markireland
This is a prototype based method for loading functions, this is an alternative to using window.onload = function();
1 1300 posted 19 years ago by vanne
A custom assertion that will allow you to pass a block to find the difference between two values.
1 1214 posted 19 years ago by vanne
Useful for when you need to do a find and map specific results to an array for use later
1 1574 posted 19 years ago by vanne
always forget that.
0 1490 posted 19 years ago by assbach
Helps identify correctly the type of whatever you put as an argument. This was adapted from http://www.planetpdf.com/developer/article.asp?ContentID=testing_for_object_types_in_ja
3 1872 posted 19 years ago by rolandog
I got most of these tips out of a great book published by O'Reilly (my favorite web-design publisher): "Programming PHP, 2nd Ed." by Lerdorf, Tatroe, and McIntyre. Another good book is "Essential PHP Security," also published by O...
2 2346 posted 19 years ago by pckujawa
Most of these come from the book "CSS Mastery: Advanced Web Standards Solutions," a must-read by Andy Budd (seriously, even if you've used CSS for years, you'll learn a good deal of new things from this book; beginners should read this imme...
2 1161 posted 19 years ago by pckujawa
交互に背景色を変えるスクリプト. XHTML basic templateと合わせて参考にどうぞ. 本当はCSSクラスを振って, スタイルはCSSで付けたほうがいいけど取り急ぎ.
1 1160 posted 19 years ago by masaya
0 1819 posted 19 years ago by AlpT
2 1704 posted 19 years ago by gdonald
Usage of Server, Response and Request object with HttpContext declaration from external class
0 1396 posted 19 years ago by miziomon
You can use these attributes to format the display of your form bean properties. This works pretty well in displaying currency and date/time values. For example, you can display 1234.567 as $1,234.57 and 08/12/2006 as Aug 12, 2006. In order to ge...
0 1737 posted 19 years ago by springett
Mirror of library
2 3269 posted 19 years ago by jmah
2 1928 posted 19 years ago by berkes
This handy CSS attribute can be used to keep text from wrapping. It can also be used to keep other HTML elements from wrapping. Simply apply the white-space:nowrap attribute to any HTML element to force text and images to not return within a specifie...
5 5461 posted 19 years ago by jonhenshaw
Simple extension of the string method using string.prototype.
1 1340 posted 19 years ago by 1man
4 2663 posted 19 years ago by assbach
1 ... 531 532 533 534 535 ... 553