Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Simple file concatenation target using the concat task. The to and from directories are set in properties at the top. The first concat clears the file and writes a JS comment with the date on it, the second uses both a filelist (where you write filen...
0
587
posted 14 years ago by gotofritz
Quick Look is the little window you get in Finder when you select a file and press the space bar. You can get the same from the command line with the following command (-p is a full window, -t is a thumbnail). You can even output it to a file with th...
0
820
posted 14 years ago by gotofritz
This make a nice and cool transition effect when you mouse over on links.
1
814
posted 14 years ago by simonbouchard
CSS
CSS - CSS3 Safari style toolbar buttons rounded box shadow pressed border radius for Moz, Firefox, KHTML
1
1050
posted 14 years ago by brandonjp
<p>Method 1</p>
<p>The -c directive creates a file .htpass in the directory somepath/outside/of/root/ containing a username user1. The -b directive means you must supply the password password1 at the command line when running the command - not rec...
3
864
posted 14 years ago by beneberle
Put this in an .htaccess file to protect the directory it is in and anything below it. This requires that a file named .passwdfile exists in the directory \\\"/full/path/to/\\\" and contains at least one username/password combination.\\r\\n\\r\\nUse...
2
683
posted 14 years ago by beneberle
For use in bash script. First two lines are an example of usage. This is one of several solutions to this problem. Works well for cleaning database output. Takes a regex and two files as arguments - first one is raw db output - second is merged outpu...
1
944
posted 14 years ago by bubnoff
Select a shape with text of any kind inside. Run the macro. A timer is generated. Change the macro to switch counter resolution, length, up/down, etc.
Modified original to make it work in PPT 2007.
0
753
posted 14 years ago by wesalvaro
I\'ve added an additional case to handle videos linked from a user\'s channel.
2
1210
posted 14 years ago by Jamie
Zurb didn't post the full code, but they made a short post tutorial and it appears to be open source. I found the code here and fixed a border problem, and I also cleaned it up so it's easier to read.<ul><li>Sizes: small, medium, large</li>...
0
737
posted 14 years ago by illegal3alien
This code adds the specified library to the header in WordPress unless you are in the admin section.
2
773
posted 14 years ago by jonkemp