Skip to content

Instantly share code, notes, and snippets.

View sebastien-p's full-sized avatar

Sebastien Paul πtt° sebastien-p

View GitHub Profile
@sebastien-p
sebastien-p / LICENSE.txt
Created June 14, 2011 09:10
Tweet-sized JavaScript implementation of the Lempel–Ziv–Welch universal lossless data compression algorithm.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Sebastien P. https://twitter.com/#!/_sebastienp
Special thanks to @subzey (you rock) and @kbjr !
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.
@sebastien-p
sebastien-p / LICENSE.txt
Created June 15, 2011 15:49 — forked from 140bytes/LICENSE.txt
LZW compression
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Sebastien P. https://twitter.com/#!/_sebastienp
Special thanks to @subzey (you rock) and @kbjr !
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.
@sebastien-p
sebastien-p / LICENSE.txt
Created June 23, 2011 16:11 — forked from 140bytes/LICENSE.txt
Array.prototype.some
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Sebastien P. https://twitter.com/#!/_sebastienp
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
@sebastien-p
sebastien-p / LICENSE.txt
Created June 25, 2011 21:02 — forked from 140bytes/LICENSE.txt
Array.prototype.reduceRight
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Sebastien P. https://twitter.com/#!/_sebastienp
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
@sebastien-p
sebastien-p / LICENSE.txt
Created August 24, 2011 16:13 — forked from 140bytes/LICENSE.txt
base62 encode
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Sebastien P. https://twitter.com/#!/_sebastienp
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
@sebastien-p
sebastien-p / LICENSE.txt
Created August 25, 2011 13:00 — forked from 140bytes/LICENSE.txt
base62 decode
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Sebastien P. https://twitter.com/#!/_sebastienp
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
@sebastien-p
sebastien-p / production.js
Created September 11, 2011 21:09
jQuery CORD plugin boilerplate
/*!
* Copyright (c) 2011 Sebastien P.
* http://twitter.com/_sebastienp
* Licensed under the MIT license
*
* Wed Sep 14 2011 11:53:40 GMT+0200 (CEST)
*/
;!function (PLUGIN_NAME, WINDOW, DOCUMENT, TRUE, FALSE, NULL, UNDEFINED, $, PLUGIN_DEFAULTS, j) {
@sebastien-p
sebastien-p / main-min.js
Created December 18, 2011 17:18
jQuery (or Zepto) plugin AMD adapter
;!function(a,b,c){typeof(c=this.define)=="function"&&c.amd?c(a,b):b(this[(c=/(^|[/!,])(jquery|zepto)(,|!|$)/.exec(a))&&(c[2]=="zepto"?"Zepto":"jQuery")])}(["jquery"],function($){return $});
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Infinite carousel using YMslider 1.0.8</title>
<link rel="stylesheet" href="jQuery.YMslider.core-min.css">
<link rel="stylesheet" href="jQuery.YMslider.default-min.css">
<link rel="stylesheet" href="jQuery.YMslider.infinite.css">
</head>
<body>
@sebastien-p
sebastien-p / dabblet.css
Created December 17, 2012 14:31
Untitled
body { background: #666 }
.flower,
.flower > *,
.flower > * > * {
-webkit-user-select: none;
display: block;
margin: 0;
padding: 0