Welcome To Snipplr


Everyone's Recent Snippets



1 ... 88 89 90 91 92 ... 554
defining a printable area from a html web page. Making only one place printable
0 1484 posted 13 years ago by duzenz
0 1015 posted 13 years ago by pruntrut
0 856 posted 13 years ago by pruntrut
0 895 posted 13 years ago by pruntrut
0 819 posted 13 years ago by pruntrut
0 807 posted 13 years ago by pruntrut
0 725 posted 13 years ago by pruntrut
0 794 posted 13 years ago by pruntrut
Magento getting stock status of a product
1 1084 posted 13 years ago by duzenz
Sample code to read tiff in C# and cropp it
1 3115 posted 13 years ago by caringprogrammer
Two versions of binary search -- one recursive, one iterative -- for an array of strings. Both assume that your array index fits within an integer.
0 1178 posted 13 years ago by rtperson
a handy class to manage facebook connections using as3
0 1302 posted 13 years ago by Matias
Force NSLocalizedString to use a specific language
1 1126 posted 13 years ago by kajinka13
List out all your Zombie processes
0 794 posted 13 years ago by kajinka13
Shows the load of the cpu graphically in ssh (note you must install htop first)
0 920 posted 13 years ago by klovera
this snippet of code is getting the qty of product in magento
1 976 posted 13 years ago by duzenz
This is a function that receives a string as an argument (along with other config optional arguments) and locates all keywords (words that appear most) from that string, returning the keywords as an array or as a string separated by commas. The funct...
2 3529 posted 13 years ago by TimoZachi
Add trim method to String class
0 1037 posted 13 years ago by kajinka13
If you a flick a web app past the bottom or top of the page, the page itself gets elastically tugged away from the URL bar or the button bar (or the bottom/top of the screen if it's in full-screen mode). This behavior is another giveaway that your...
0 901 posted 13 years ago by timothypwalter
Mantenere in background (musica, location)
0 868 posted 13 years ago by kajinka13
Django's middleware for global app login. With this middleware you don't have to decorate views by login_required decorator.
0 955 posted 13 years ago by lukasvinclav
I create this script which let me add the gitk in the Programming Application menu in my gnome this way I don't need to open a shell and go to the repository base to view the rep tree
0 948 posted 13 years ago by ferro
Simple jQuery accordion function for jQuery version 1.7.1 and above.
3 1108 posted 13 years ago by digitalclubb
Grab jQuery library from Google's CDN this way its faster, burns Google's bandwidth and not yours. Also users will have this cached if other sites are using it as well. Downside of course is Google's servers do go down. This script will check if...
1 1033 posted 13 years ago by cyberpunkstudio
Insert inside the loop
0 829 posted 13 years ago by jwaldeck
Displays the attribute label and value by using the attribute code. This works on the Product Detail page in Magento.
1 1079 posted 13 years ago by axertion
update your catalog.xml in your app/design/default/THEMENAME/layout/catalog.xml with this XML definition to remove the category filters from the left-layered navigation in Magento.
0 1130 posted 13 years ago by axertion
Select wp_users and wp_posts to retrieve data from both tables in order to display post title, post date, author name with gravatar (gravatar isn't listed in this code) Note: probably not idea solution, but it's one of many fixes
0 963 posted 13 years ago by ninacess
Again, A-B-C. All the Behaviour garbage that "Add Service Reference" inserts for the TCP binding is unnecessary, especially if the Operation Contract is only for simple value types.
0 1067 posted 13 years ago by rengber
1 ... 88 89 90 91 92 ... 554