Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 88 89 90 91 92 ... 553
0 1443 posted 14 years ago by pruntrut
0 1524 posted 14 years ago by pruntrut
0 1333 posted 14 years ago by pruntrut
0 1582 posted 14 years ago by pruntrut
0 1382 posted 14 years ago by pruntrut
0 1279 posted 14 years ago by pruntrut
0 1275 posted 14 years ago by pruntrut
Magento getting stock status of a product
1 1730 posted 14 years ago by duzenz
Sample code to read tiff in C# and cropp it
1 4118 posted 14 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 1869 posted 14 years ago by rtperson
a handy class to manage facebook connections using as3
0 4010 posted 14 years ago by Matias
Force NSLocalizedString to use a specific language
1 2238 posted 14 years ago by kajinka13
List out all your Zombie processes
0 1358 posted 14 years ago by kajinka13
Shows the load of the cpu graphically in ssh (note you must install htop first)
0 1651 posted 14 years ago by klovera
this snippet of code is getting the qty of product in magento
1 1637 posted 14 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 5643 posted 14 years ago by TimoZachi
Add trim method to String class
0 2691 posted 14 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 2440 posted 14 years ago by timothypwalter
Mantenere in background (musica, location)
0 1651 posted 14 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 1522 posted 14 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 2555 posted 14 years ago by ferro
Simple jQuery accordion function for jQuery version 1.7.1 and above.
3 1728 posted 14 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 1678 posted 14 years ago by cyberpunkstudio
Insert inside the loop
0 1354 posted 14 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 1857 posted 14 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 3622 posted 14 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 1517 posted 14 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 2730 posted 14 years ago by rengber
ABC - Address Binding Contract Note that the Service Name and Contract must match a real live type (case Sensitive) Binding name is also case sensitive.
0 2737 posted 14 years ago by rengber
Getting files, folders, file count, folder count in a directory with php and writing them to a web page
1 3932 posted 14 years ago by duzenz
1 ... 88 89 90 91 92 ... 553