Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I've used Textmate since I started hand-coding websites. My boss loves BBEdit. This script allows me to do the thing I missed most from Textmate creating and wrapping tags around text. Enjoy!
2
1629
posted 16 years ago by conspirator
Add class \"clear\" to elements that contain floated elements and they will hold the height correctly
2
1129
posted 16 years ago by mihael
This example shows how to clean up git's reflogs entries in order save space (see http://www.newartisans.com/blog/2008/04/diving-into-git.html).
0
2630
posted 16 years ago by narkisr
The function content should work in any theme, it's just wrapped in a function wrapper for insertion into the Thesis theme.
2
1600
posted 16 years ago by kristarella
This CSS is nice to use with this function:
.custom .avatar {float:left; border:3px solid #ddd; margin-right:1em;}
2
1439
posted 16 years ago by kristarella
This shows how to add content (in this case a linked image) to the end of a post using WordPress custom fields and the Thesis theme.
6
1888
posted 16 years ago by kristarella
So. You have some minutes and want a "human readable" version? Sure thing baby!
2
8618
posted 16 years ago by optimal
Populate your states table with US States. Easy rake task for it.
2
1639
posted 16 years ago by twofivethreetwo
Click on an input field with a prefilled value, if that value equals the default then select it, if not leave it as it was. Relies on jQuery.
2
2138
posted 16 years ago by 1man