Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 267 268 269 270 271 ... 554
0 719 posted 14 years ago by joernroeder
Quick and easy way to determine if the HTTP request is an AJAX call or a standard call. Supports the notion of Unobtrusive JavaScript.
3 1485 posted 14 years ago by joshuascott94
0 889 posted 14 years ago by ichnoweb
0 840 posted 14 years ago by ichnoweb
0 957 posted 14 years ago by ichnoweb
Wordpress - 404 problem on physical directories. From the Support Forum.
0 826 posted 14 years ago by kyuumeitai
1 742 posted 14 years ago by torybriggs
Use Collapsorz
0 879 posted 14 years ago by davebowker
If on do nothing. If on make off. If off make on. Alter external value and focus.
0 968 posted 14 years ago by davebowker
A recent update to either Google's search results page or Firefox's Tab Mix Plus add-on has prevented a locked tab from opening links in a new tab. This Greasemonkey script removes the tracking code on the Google links that causes the problem. I don'...
0 1138 posted 14 years ago by wizard04
replace the default 'submit' form button with a custom image
1 945 posted 14 years ago by mumra
1 1282 posted 14 years ago by jiewmeng
different solution by PPK:\\r\\n[http://www.quirksmode.org/book/examplescripts/maxlength/index.html](http://www.quirksmode.org/book/examplescripts/maxlength/index.html)
0 974 posted 14 years ago by cfleschhut
This will fetch the custom post types, displayed as a list with their respective permalinks.
0 1140 posted 14 years ago by ivorpad
Useful snippets for php developers.
0 1017 posted 14 years ago by jamepaul
Also posted at http://pastebin.com/9FzakUcd
0 961 posted 14 years ago by ksaver
So we use Gerrit for code reviewing and I run **git commit --amend** quite a bit, a lot of times I don\\\'t want to amend the message I just want to add my new files to my existing commit and keep working, this makes that part easier. Just add this...
0 802 posted 14 years ago by jturmel
The top image cant be a PNG. This is because the code just make the top image disappear and if the PNG has a transparency to it you will be able to see right through it.
1 975 posted 14 years ago by gera3d
There are many ways to have jQuery open external links for you. Some depend on relative URL\'s for internal links and absolute URL\'s for external links. Some analyze the link to see if it matches your domain. These are great but can sometimes be con...
0 1011 posted 14 years ago by scribbleitdesigns
Simple Javascript test of the HTML 5 geolocation API spec
0 1103 posted 14 years ago by iamjpg
0 950 posted 14 years ago by thesmu
This is just a basic example of how you would allow navigation via left/right arrow keys. This is most commonly used when navigating multiple-image image galleries.
1 923 posted 14 years ago by ATLChris
0 1020 posted 14 years ago by jguiss
1 ... 267 268 269 270 271 ... 554