Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Create a random password using a Dictionary database table.
Selects a random word, and then appends two random numbers to the end, creating passwords in the form of: foozling98 or laicism11
1
1219
posted 16 years ago by mynameisharry
This snippet shows how to restore HEAD after using Git's reset method (see http://gitready.com/2009/01/17/restoring-lost-commits.html?disqus_reply=5271828#comment-5271828).
0
1265
posted 16 years ago by narkisr
<p>How to use: HTML:
<img id="image" src="image.png" alt=""/></p>
<p>JavaScript:
add_reflection (document.getElementById ( 'image'), 1, 1, 0.1, 0); </p>
<p>As a result, the script wrap image in the div, ask him to the desired height and...
2
1241
posted 16 years ago by Jman
Sometime, you need unique classes on the leave join button of the groups page. Place this script in your AC footer.
--<br>
For more tips and tricks checkout the <a href="http://www.kickdeveloper.com/resources">KickApps resources page</a>.
0
1356
posted 16 years ago by krunkosaurus
There are several fixes out there that work in different ways, but none of them are perfect (especially regarding background images). Here's a list of the ones I've found that work reasonably well—try them out to find one that works for your w...
0
1060
posted 16 years ago by wizard04
Some java application do not get focus or have strange behaviours under no standard Window Managers like Awesome.
0
1008
posted 16 years ago by escalant3
# Export MySQL Data as CSV
This code takes a `mysql_query()` resource and outputs its rows into CSV spreadsheet format. Edit the `header('Content-Disposition...` declaration to tell the user's browser to either display the data as plain text or do...
6
1922
posted 16 years ago by mikegreen
Find out how to do rounded corners in CSS. A new method has recently come out that makes it extremely easy to implement.
3
2022
posted 16 years ago by neal_grosskopf