Welcome To Snipplr


Everyone's Recent Snippets Tagged c



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 1457 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 808 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 1186 posted 15 years ago by jessibird
0 967 posted 15 years ago by inkdeep
0 996 posted 15 years ago by inkdeep
0 1369 posted 15 years ago by inkdeep
0 817 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 1150 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 1496 posted 15 years ago by ginoplusio
A simple skeleton for python scripts with utf-8 encoding
1 1061 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 932 posted 15 years ago by tennison
Directory listing on a web server at http://yourhost:8000/
1 1006 posted 15 years ago by blackthorne
Create a new utf8 database in MySQL
1 1008 posted 15 years ago by manuelstofer
0 753 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 763 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 1324 posted 15 years ago by berkes
0 819 posted 15 years ago by dalcacer
0 771 posted 15 years ago by assbach
1 980 posted 15 years ago by dalcacer
1 915 posted 15 years ago by dalcacer
1 935 posted 15 years ago by dalcacer
0 877 posted 15 years ago by dalcacer
1 951 posted 15 years ago by dalcacer
1 ... 319 320 321 322 323 ... 554