Welcome To Snipplr


Everyone's Recent Snippets



1 ... 319 320 321 322 323 ... 554
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 1367 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 764 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 1119 posted 15 years ago by jessibird
0 906 posted 15 years ago by inkdeep
0 942 posted 15 years ago by inkdeep
0 1299 posted 15 years ago by inkdeep
0 769 posted 15 years ago by inkdeep
This template code will work only in the WordPress Loop to include a map if the Geo Mashup plugin is active and the current post has a location.
0 1086 posted 15 years ago by cyberhobo
This small function receive a text as input and returns an html text with links if the source text contains urls (http://www… but also ftp://… and every other protocol), emails, twitter’s usernames (with @ at the beginning) and also twitter tag...
0 1425 posted 15 years ago by ginoplusio
A simple skeleton for python scripts with utf-8 encoding
1 993 posted 15 years ago by blackthorne
original source - http://www.filamentgroup.com/lab/update_styling_the_button_element_with_css_sliding_doors_now_with_image_spr/ Overides default styling
0 882 posted 15 years ago by tennison
Directory listing on a web server at http://yourhost:8000/
1 956 posted 15 years ago by blackthorne
Create a new utf8 database in MySQL
1 941 posted 15 years ago by manuelstofer
0 704 posted 15 years ago by nflamel
As of revision 11031 of the Flex 4 SDK compression is supported inline with the embed metadata tag.
0 729 posted 15 years ago by aphex
Drupal allows hook_update_N to run any sort of code. Most of the time, however, people only use this to alter the database scheme. But you can use it for much more. Like setting variables, creating nodes, importing views and so on. This code show...
2 1260 posted 15 years ago by berkes
0 780 posted 15 years ago by dalcacer
0 707 posted 15 years ago by assbach
1 927 posted 15 years ago by dalcacer
1 844 posted 15 years ago by dalcacer
1 885 posted 15 years ago by dalcacer
0 830 posted 15 years ago by dalcacer
1 875 posted 15 years ago by dalcacer
1 ... 319 320 321 322 323 ... 554