Skip to content

Instantly share code, notes, and snippets.

@dciccale
dciccale / LICENSE.txt
Created August 2, 2011 00:00 — forked from 140bytes/LICENSE.txt
FormValidator.js - Form validation in 114 bytes of JavaScript
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Denis Ciccale <http://webdecs.wordpress.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@dciccale
dciccale / LICENSE.txt
Created July 31, 2011 09:30 — forked from 140bytes/LICENSE.txt
Detect if Flash Player is installed in your browser (120bytes)
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Denis Ciccale <http://webdecs.wordpress.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@dciccale
dciccale / reset.css
Created May 18, 2011 13:09
One-line CSS Reset
*{margin:0;padding:0;outline:0;font-size:1em;font-weight:normal;font-style:normal;border:0;text-decoration:none;list-style-type:none}
@dciccale
dciccale / insertAfter
Created April 27, 2011 18:47
JavaScript insertAfter function
// JavaScript function to insert a node after another node
function insertAfter(node, nodeToInsert) {
node.parentNode.insertBefore(nodeToInsert, node.nextSibling);
}