Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a method that I use to easily wrap an HTML container with nice curly quotes. I much prefer this method over using images because the quotes can be easily stylized using css fonts, colors, and sizes. Also, the markup is semantically correct.
1
1686
posted 15 years ago by MikeyLikesIt
A simple script to run with [drush](http://drupal.org/project/drush) to clean all Drupal nodes containing style tags.
1
1474
posted 15 years ago by mongolito404
Documentación en: http://eric.garside.name/docs.html?p=epiclock
0
1066
posted 15 years ago by arantxaortega
note that for the corners to work in IE, you need to install the htc code from http://code.google.com/p/curved-corner/
.curved {
-moz-border-radius:10px; /* Firefox */
-webkit-border-radius:10px; /* Safari and chrome */
-khtml-border-r...
4
1712
posted 15 years ago by MikeyLikesIt
You can replace the library item with whatever you want, or draw a shape in actionscript to use.
TweenMax is used in this snippet, get it here: http://www.greensock.com/tweenmax/ and thank Jack Doyle for being great by donating.
0
1419
posted 15 years ago by IsoJon
Resizing fields using a custom module
You could also resize the field using a custom module.
For example, if you created mysite.module, you could use something like this to reduce the field size to 30 characters
4
2086
posted 15 years ago by marcelodornelas
Put this line in your .bashrc.
If the user has a directory named 'bin' then that will be added to the PATH.
All scripts in that path (wich are executable) will be available as commands to that user.
0
1849
posted 15 years ago by berkes
ElementTree is provided as part of the standard Python libs. ElementTree is pure python, and cElementTree is the faster C implementation:
Here's an example usage, where I'm consuming xml from a RESTful web service:
0
1089
posted 15 years ago by magicrebirth
Just run the following query on your WordPress database, and all revisions (As well as meta associated with it) will be deleted from your database.
2
1620
posted 15 years ago by jessibird