Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
a more useful way of printing php arrays in a nice readable format and able to decode serialized and json_encoded strings.
0
944
posted 13 years ago by liamchapman
Very useful sql to find which responsibility has access to a report or request.
0
2268
posted 13 years ago by theonlyalterego
Make the background attached to the body as fixed such that it does not scroll along with the content of the page.
0
716
posted 13 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
1825
posted 13 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
807
posted 13 years ago by oozolii
http://line25.com/tutorials/create-a-grid-based-web-design-in-html5-css3
0
645
posted 13 years ago by resting
Program that sums all the values (including big positive/negative integers)
0
812
posted 13 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
3331
posted 13 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
888
posted 13 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
1304
posted 13 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
1058
posted 13 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
819
posted 13 years ago by jrobinsonc
This can be used to generate a random MAC address which can be used for spoofing or other purposes.
0
707
posted 13 years ago by james0rion