Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Make the background attached to the body as fixed such that it does not scroll along with the content of the page.
0
581
posted 12 years ago by maxjerin
The General Hash Functions Library has the following mix of additive and rotative general purpose string hashing algorithms.
* RS Hash Function
A simple hash function from Robert Sedgwicks Algorithms in C book. I've added some simple optimization...
0
1549
posted 12 years ago by davince
Ha az internet explorerben nem sikerül a fájl letöltése(olyan hibát dob, hogy nem tudja letölteni), akkor ezt a headerbe kell belerakni és már töltődik is a fájl.
0
651
posted 12 years ago by oozolii
http://line25.com/tutorials/create-a-grid-based-web-design-in-html5-css3
0
507
posted 12 years ago by resting
Program that sums all the values (including big positive/negative integers)
0
638
posted 12 years ago by apoz
Don't go through what I did. Just copy and paste this into the Contact Form 7 plugin for an easy date of birth picker.
0
3087
posted 12 years ago by ethicka
The usual way to resolve a url file path doesn't work with JWPlayer. You'll need a different one because the "+" in ... ?guid="+ Eval("fieldName"))%> will throw an error...
0
721
posted 12 years ago by inreflection7
Sometimes (ex. django templates section at setting.py), a function expects an absolute path, but it's more practical when developing to refer it to the current file position in our code base. The rel function does exactly that.
0
1085
posted 12 years ago by jarnaldich
jQuery
jQuery: Input text default value, clear value on click, if typed value erased, get default value back
Specifiy a default value to input text field. OnFocus, the default value clear and let you type a new value. If typed value is erased then the default value is set back.
2
893
posted 12 years ago by cdurocher
Esto es para obtener los codigos de paises desde geonames.org y almacenarlos en una tabla. Se iso bajo CodeIgniter.
0
675
posted 12 years ago by jrobinsonc
This can be used to generate a random MAC address which can be used for spoofing or other purposes.
0
559
posted 12 years ago by james0rion