Welcome To Snipplr


Everyone's Recent Snippets



1 ... 300 301 302 303 304 ... 554
WPF unleashed pg 303
0 840 posted 15 years ago by ethansimmons
This code will execute a postback.
0 822 posted 15 years ago by blackf0rk
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 1247 posted 15 years ago by Masis
Actualizado D7
0 766 posted 15 years ago by jmaties
0 1210 posted 15 years ago by arnekolja
0 1435 posted 15 years ago by leonelsantos
Dictionaries cant be sorted, so you need to transform it into a list and sort that one!
0 833 posted 15 years ago by magicrebirth
// Taken from : // http://www.west-wind.com/weblog/posts/42319.aspx
0 915 posted 15 years ago by delikassap
jQuery has a built in method that allows developers to store information inside elements. Learn how to use the .data() method and view some examples of how this can be used.
1 1133 posted 15 years ago by neal_grosskopf
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 948 posted 15 years ago by magicrebirth
1 864 posted 15 years ago by tvanzele
this is all the actions needed for auth and the users login/register system
0 845 posted 15 years ago by sevennbsp
this is the entire app_controller code with auth setup and use in it.
0 839 posted 15 years ago by sevennbsp
If you accidentally exit while doing an interactive rebase, you can clean it with this command.
0 1023 posted 15 years ago by stayce
Paste this in address bar a viola!
0 1002 posted 15 years ago by landonmiller
Another common use of Auth component variables is to allow access to certain methods without the user being logged in (by default Auth restricts access to every action except the login and logout methods).
0 986 posted 15 years ago by TioSolid
cleanly display the memory used so you know when your going over, especially useful for memory hog drupal sites.
1 991 posted 15 years ago by electblake
This code will walk all elements from a given selector.
0 1287 posted 15 years ago by linusx
1 1080 posted 15 years ago by jepedo
0 1027 posted 15 years ago by cs2css3
0 758 posted 15 years ago by cs2css3
0 756 posted 15 years ago by cs2css3
0 1114 posted 15 years ago by cs2css3
the os x version of realpath works differently than the linux version; the following allows you to attain the same functionality in a shell on os x as `readlink -f $0` on a standard linux dist.
0 1264 posted 15 years ago by iloveitaly
1 ... 300 301 302 303 304 ... 554