Welcome To Snipplr


Everyone's Recent Snippets



1 ... 135 136 137 138 139 ... 553
This code will be used to bind an xml file to gridview
0 3607 posted 14 years ago by tabook22
This code snippet is used to add data to an existing xml file
0 3859 posted 14 years ago by tabook22
Create smaller tiles out of a larger bitmap image
0 2335 posted 14 years ago by miohtama
Use in the WP loop. User's registered email account on WP must also be assigned to Gravatar.
0 1205 posted 14 years ago by jacksaidwhat
0 1118 posted 14 years ago by ahdriel
0 1301 posted 14 years ago by iroybot
Cocoa provides NSTask to run subprocesses. It can be used to run shell scripts, but all this manual pipe and file handling is a bit cumbersome. Fortunately, for a simple script, we can use the trusty old system and redirect its result to a file.
0 1933 posted 14 years ago by zingo
look through the list items in your main nav and based on href of anchor tags this will set the top level link to have an 'active' class.
0 2713 posted 14 years ago by iammikecohen
This sql statement enables to detect duplicates entries over a key and creates a seq column which says which one is the sequence of the duplicates. This way you can take only the seq = 1 and still be able to identify all duplicates
0 3488 posted 14 years ago by xavsio4
I was working on a project where the timestamp string I was getting from the backend developer was pretty dirty in the way it was formatted. For example, it looked like "/Date(1310127448000+0100)/". I needed to get a nicely formatted time from it in...
0 1855 posted 14 years ago by adrianparr
html skeleton 4.01 Strict!
0 1749 posted 14 years ago by mortu
Convert number of seconds to HH:MM
0 1033 posted 14 years ago by odavy
Artificial intelligence basics : This is a backward chaining implementation which works with horn form knowledge bases. Had some trouble finding any simple and easy to understand examples online - so here's my version!!! http://en.wikipedia.org/wiki/...
0 2232 posted 14 years ago by bjornredemption
Artificial intelligence basics : This is a forward chaining implementation which works with horn form knowledge bases. Had some trouble finding any simple and easy to understand examples online - so here's my version!!! http://en.wikipedia.org/wiki/...
0 2663 posted 14 years ago by bjornredemption
For displaying logo graphic with CSS
0 876 posted 14 years ago by disgruntledillon
For this to work you need the as3corelib classes from here ... https://github.com/mikechambers/as3corelib
0 4695 posted 14 years ago by adrianparr
Enables you to easily select older version of CSS by class rather than having a seperate CSS file for each version of IE.
0 2366 posted 14 years ago by plesh
0 2275 posted 14 years ago by devnull69
If you want to use PHP as a command line program, this code can serve s a reference to read the arguments passed to the program.
0 1335 posted 14 years ago by tcam27
Bei vielen Applikationen fällt auf, dass beim Start ganz kurz ein komplett schwarzer Screen auf dem Display erscheint, der jedoch gleich wieder verschwindet. Über diesem Screen ist dann ein schmaler grauer Balken, in dem der Name der Applikation st...
0 1229 posted 14 years ago by UTA2000
0 1443 posted 14 years ago by arunpjohny
See https://github.com/clemens/i18n_demo_app/blob/master/config/locales/de.yml for the source of the month names etc.
1 1266 posted 14 years ago by riddla
1. Open lib/zend/locale/data/en.xml 2. Locate territories tag in this file 3. copy one of territory tags for the syntax and paste it within the territories tag 4. hard part here is to add country code in this file as might not be able to fin...
0 1438 posted 14 years ago by JustMadMike
Connect to three sites using threads and without using them. Fetch the response. Measure the benchmark.
0 1050 posted 14 years ago by Shamaoke
Convert a string to friendly string.
0 1199 posted 14 years ago by alyssonweb
1 ... 135 136 137 138 139 ... 553