Welcome To Snipplr


Everyone's Recent Snippets Tagged list



1 1016 posted 15 years ago by benackles
I found this today and don't want too lose it. In windows the following command will create a text file named fileListing.txt which will contain a list of all the files in the current directory ( including fileListing.txt )
1 5864 posted 15 years ago by theonlyalterego
0 1252 posted 15 years ago by sorinspanu
1 1524 posted 15 years ago by electroNik
1 1376 posted 15 years ago by nveselinov
0 1291 posted 15 years ago by resting
1 1233 posted 15 years ago by resting
2 1531 posted 15 years ago by g8rpal
0 1004 posted 15 years ago by incompany
Gets the date, pulls a list of upcoming events (posts from cat 6) and sorts by custom field \\\"event_date\\\" . Add to sidebar via [PHP Code Widget](http://wordpress.org/extend/plugins/php-code-widget/).
0 1490 posted 15 years ago by hussong
0 1090 posted 15 years ago by loric
0 2369 posted 15 years ago by iloveitaly
This JavaScript code snippet checks each integer in an array. If necessary, one or more leading zeros are added to an integer. Note that each integer becomes a string.
1 1176 posted 15 years ago by DADU
This PHP code snippet checks each integer in an array. If necessary, one or more leading zeros are added to an integer. Note that each integer becomes a string.
2 1652 posted 15 years ago by DADU
0 1163 posted 15 years ago by almazom
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery. If needing to perform this process more than once on a page, make sure namedListItem variable is unique for each case (...
0 1703 posted 15 years ago by rumremix
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.
0 1501 posted 15 years ago by rumremix
0 1445 posted 15 years ago by ekinertac
1 1324 posted 15 years ago by iloveitaly
Separates an html list of words with a comma using CSS.
0 1308 posted 15 years ago by hotdiggity
This parameter determines the image address which serves as a list marker. This attribute is inherited; therefore value none is used for separate elements of the list for marker restoration. Syntax list-style-image: none | url (a path to a file...
0 2362 posted 15 years ago by Masis
Turning a dictionary into a list or an iterator is easy. To get a list of keys, you can just cast the dict into a list. It's cleaner, though to call .keys() on the dictionary to get a list of the keys, or .iterkeys() to get an iterator. Similarly, yo...
0 1125 posted 15 years ago by magicrebirth
.net 2.0+ Generic classes make code size much smaller and casting objects (boxing) a cinch. However, currently there are some unsupported IDE options when trying to cast objects to and from generic objects that use mixed object types (inherited from...
0 1434 posted 15 years ago by bryanlyman
0 1225 posted 15 years ago by smashu