Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 208 209 210 211 212 ... 553
0 1070 posted 15 years ago by takel
0 1361 posted 15 years ago by takel
0 1137 posted 15 years ago by takel
4 2843 posted 15 years ago by takel
0 1237 posted 15 years ago by gabbo
possibilitar a leitura de cada chave específica do google maps para cada domínio respectivo à chave
0 1330 posted 15 years ago by rbulgueroni
Nothing special, just need it here to remember
0 1154 posted 15 years ago by RWolford
This tiny jQuery plug in forces a user to enter only numeric values on an input field by silently removing non-numeric values as they're entered. (Caution: Never rely on client-side validation; use server-side validation as well)
2 1968 posted 15 years ago by BrunoDeBarros
0 2728 posted 15 years ago by StephFR
Previously, I posted a little snippet I found on how to generate a special body class on each .php page. I, later, needed to get that body class and echo out a piece of HTML, which depended on my current page. So here is the snippet that I came up wi...
0 1466 posted 15 years ago by danielwrobert
A very simple HTML redirect that I found useful for a contact form confirmation. The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new url. For example, you could set this to...
0 1616 posted 15 years ago by danielwrobert
The filter only needs to know which requests need to be returned as JSONP, doesn't care how. Modify "OnBeginRequest" accordinly. If original .asmx doesn't return JSON, extend it like example shows. JSONP only works for GET requests, so don't forget...
0 1449 posted 15 years ago by FMalk
No permite ingresar la ñ o Ñ
0 1436 posted 15 years ago by elquemero
Also seen for now at carinsurancerates.com Assembled this in 2008 and have used it numerous times since then, reliable chunk of code. Jquery can be used to add a nice slide down option like on carinsurancerates.com
2 1566 posted 15 years ago by toltmanns
Check for empty variable. proceed accordingly
0 987 posted 15 years ago by yoblob
Use this static class to encode and decode HTML Entity Names. For some reason Snipplr doesn't display all the code, so download the ZIP file for a full working demo and source code.
0 2851 posted 15 years ago by adrianparr
Implementacija binarnog stabla pomocu polja
0 1160 posted 15 years ago by vjalsic
0 1067 posted 15 years ago by anspevec
0 870 posted 15 years ago by matijaplastic
0 2251 posted 15 years ago by AndreasKT
It's working now. Just having issue with it applying to all columns. Need to keep checking. (IE. have to tax's for testing, only one has the additional meta info attached, but they are both showing in the column as having the address as "active" (usi...
1 1242 posted 15 years ago by thefrosty
This was more of a go at learning the basics of OOP, however I decided to document it well in case anyone had any comments. Note: It only works with single files, no directory usage.
0 1266 posted 15 years ago by asdasDan
Just syntax examples here. First block reads, second writes. Top function just a debugging helper. Using jquery 1.5, $(xData.responseXML).find("nodeName=z:row]").each(function(i)... may need to be written as $(xData.responseXML).find("nodeName='z...
0 2094 posted 15 years ago by rumremix
Add this in the functions.php file, in your Wordpress theme.
0 1883 posted 15 years ago by ddavidd
From an awesome comment on how you can use PHP to apply the unique ID to to the body element. This will return the name of the PHP file being executed as the ID (e.g. body id="index.php"). To leave off the .php part, just remove the ".php" part.
0 1799 posted 15 years ago by danielwrobert
1 1398 posted 15 years ago by adambundy
1 ... 208 209 210 211 212 ... 553