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
947
posted 13 years ago by liamchapman
Very useful sql to find which responsibility has access to a report or request.
0
2270
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
720
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
1828
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
809
posted 13 years ago by oozolii
http://line25.com/tutorials/create-a-grid-based-web-design-in-html5-css3
0
650
posted 13 years ago by resting
Program that sums all the values (including big positive/negative integers)
0
814
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
3333
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
1305
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
1062
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
825
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
709
posted 13 years ago by james0rion