Welcome To Snipplr


Everyone's Recent Snippets



1 ... 475 476 477 478 479 ... 554
Convert a number to a different base.
0 1066 posted 16 years ago by wizard04
1 886 posted 16 years ago by burnsra
Uses jQuery to add a class to odd table rows, for purposes of alternating colors, etc.
1 1117 posted 16 years ago by breakerjump
Line 6 starts a loop (which ends with line 15). The ls command returns a list of filenames which are sequentially assigned to the shell variable x. The if test (lines 8 through 10) checks to see if the current filename is that of a plain file. If not...
0 1475 posted 16 years ago by jonhenshaw
When you run this script you will see the result like this Image width 379 Image height 344 Image type 2 Image attribute width="379" height="344" You will get the width, height, type of an image and also attribute of an image, I use this fun...
3 3317 posted 16 years ago by jamesming
Select some text, click the bookmarklet, and the definition(s) will open up in [Ninjawords](http://www.ninjawords.com). [Ninjawords](javascript:(function(){function%20t(f){try{if(f.getSelection)return%20f.getSelection().toString(&#...
0 780 posted 16 years ago by wizard04
This simple little snippet will allow you to change two iframes with the click of just one link.
1 1039 posted 16 years ago by aristoworks
uri: http://organic.qualitywordpress.com/
0 874 posted 16 years ago by ChaosKaizer
Can use without jquery
2 1636 posted 16 years ago by DesTincT
This assumes that you want the resulting JAR file to be named BangBean.jar, and that you’ve put the manifest in a file called BangBean.mf
0 764 posted 16 years ago by Uzbekjon
Substitute and update keywords like $HeadURL$, $Revision$, etc. in a file on every commit to subversion repos. 1. Set svn:keywords on repos: $ svn propset --recursive svn:keywords 'HeadURL Revision LastChangedBy Date' /path/to/repo 2. Use this...
0 1234 posted 16 years ago by zingo
Magic Quotes is a great feature of PHP but sometimes it can just get annoying. It's simple enough to turn it off at the .ini and restart apache but here's a quick .htaccess workaround
2 1288 posted 16 years ago by aristoworks
This is a simple example of how to read and write XML that includes reading attributes and nodes.
1 1141 posted 16 years ago by donkeykong
英語のタイトルが適当な英訳なので、誰かOK/NGを教えてください。
1 1195 posted 16 years ago by octech
1 1123 posted 16 years ago by sjtai
Been wanting to made one of these for a while and finally I got round to it. For some examples please visit the post: http://www.dom111.co.uk/blog/coding/db/8 Any comments suggestions appreciated. CreativeCommons ShareAlike
3 1993 posted 16 years ago by dom111
Remove all the keys of the application’s preferences file from ~/Library/Preferences with Cocoa’s NSUserDefaults class.
2 1384 posted 16 years ago by zingo
Place this in your ~/.bash_profile then type tab in your terminal window to see some magic happen.
0 1097 posted 16 years ago by zingo
Change only $start variable with your start year. This very simple code will display two dates the next year like this : © Copyright 2008 - 2009, All Rights Reserved. and so on...
1 987 posted 16 years ago by Pat64
1 782 posted 16 years ago by ishkur
This will reset your style properties to the default values, specific to an element and its children. Here are the all the properties that need to be set to default that also don't break modern browsers.... or less then modern, like IE 4/5.
0 9399 posted 16 years ago by marcusrosentrater
1 ... 475 476 477 478 479 ... 554