Welcome To Snipplr


Everyone's Recent Snippets Tagged list



0 1485 posted 15 years ago by smashu
Türkçe ülkeler listesi
0 1322 posted 15 years ago by metoikos
You can get all countries list by this method. Also you can find some details for countries like; - original name, - three letter ISO region name, - three letter WINDOWS region name, - currency symbol etc..
1 1699 posted 15 years ago by emregulcan
0 1157 posted 15 years ago by tomaszsimon
Markup for a nested list of checkboxes.
0 1257 posted 16 years ago by jofan
Quick and dirty but it does the job.
0 1542 posted 16 years ago by vagrantradio
listsEqual(["1","2"], ["1","2"]) is true;
0 1360 posted 16 years ago by prudnikov
A class which wraps a parent list containing mixed object types, to provide smaller strongly typed sub-lists of objects. These sub-lists can be modified, which then modifies the parent list concurrently (without events being triggered). Supports the...
0 1491 posted 16 years ago by bryanlyman
0 1315 posted 16 years ago by giak
0 1423 posted 16 years ago by Zwendel
This function takes a list of string and sorts them based on their similarity. The percent at which they match can be defined in the second parameter (default 75%).
0 1697 posted 16 years ago by gdvickery
This is another way to get a list of files ordered by upload time.
1 1892 posted 16 years ago by fackz
1 1561 posted 16 years ago by CDIDevs
create a dictionary from the data in two lists
0 1582 posted 16 years ago by magicrebirth
// Is there a way in python to convert a list say [1,2,3,4] to a string and // also how to convert a string to a list? // use str() or repr() to convert to a string. // eval() will convert back to a list.
0 1312 posted 16 years ago by magicrebirth
1 1650 posted 16 years ago by magicrebirth
This will delete all items in a SharePoint list. Better than looping through a SPListItemCollection and doing a .delete();
0 1795 posted 16 years ago by blackf0rk
In order to accurately get the next ID from a SharePoint list you need to access the content database for one reason: If you delete all the items from a list, and execute this simple code: list.Items[list.ItemCount -1].ID) + 1 the ID will always retu...
0 1449 posted 16 years ago by blackf0rk
1 1299 posted 16 years ago by stancox
0 1389 posted 16 years ago by paulgrenwood
I modified this helpful snippet: http://snipplr.com/view/9904/aspdropdownlist-us-states-abbreviated/ to work for the Telerik RadComboBox control.
0 1434 posted 16 years ago by sonofabit
Perl hash sets are hashes used to represent sets. Their keys are the set elements, and the corresponding values are just 1. For keys that are not set elements, the hash will return undef, equivalent to false. Adding a whole array to a hash set i...
0 1692 posted 16 years ago by deepsoul