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 1481 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 819 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 1203 posted 15 years ago by jessibird
0 982 posted 15 years ago by inkdeep
0 1006 posted 15 years ago by inkdeep
0 1382 posted 15 years ago by inkdeep
0 834 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 1165 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 1511 posted 15 years ago by ginoplusio
A simple skeleton for python scripts with utf-8 encoding
1 1078 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 946 posted 15 years ago by tennison
Directory listing on a web server at http://yourhost:8000/
1 1023 posted 15 years ago by blackthorne
Create a new utf8 database in MySQL
1 1017 posted 15 years ago by manuelstofer
0 761 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 770 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 1335 posted 15 years ago by berkes
0 834 posted 15 years ago by dalcacer
0 780 posted 15 years ago by assbach
1 993 posted 15 years ago by dalcacer
1 926 posted 15 years ago by dalcacer
1 946 posted 15 years ago by dalcacer
0 889 posted 15 years ago by dalcacer
1 965 posted 15 years ago by dalcacer
1 ... 319 320 321 322 323 ... 554