Skip to content

Instantly share code, notes, and snippets.

@lucasad
lucasad / dabblet.css
Created May 28, 2013 04:11
CSS Modals (no Javascript)
/**
* CSS Modals (no Javascript)
*/
.modal-input, .modal-outer, .modal-inner
{
display: none;
}
:checked + .modal-outer {
@lucasad
lucasad / dabblet.css
Created August 1, 2013 19:17
CSS Calendar
/**
* CSS Calendar
*/
.cal {
width: 14.4375rem;
border: solid black;
border-width: 0 1px 1px 0;
}
@lucasad
lucasad / dabblet.css
Created August 7, 2013 19:58
CSS Calendar
/**
* CSS Calendar
*/
.cal {
width: 14.4375rem;
border: solid black;
border-width: 0 1px 1px 0;
}
@lucasad
lucasad / dabblet.css
Created August 7, 2013 19:59
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
/*
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;*/
#s {
transition: width 1s;
@lucasad
lucasad / dabblet.css
Created August 13, 2013 20:13
Expanding input
/**
* Expanding input
*/
/*
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;*/
#s {
transition: width 1s;
@lucasad
lucasad / dabblet.css
Created August 13, 2013 20:16
Indeterminate progress bar
/**
* Indeterminate progress bar
*/
@import url('http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css');
@keyframes push
{
0% {width: 0%;}
50% {width: 70%;}
100% {width: 0%;}
@lucasad
lucasad / dabblet.css
Created August 19, 2013 01:05
Indeterminate progress bar
/**
* Indeterminate progress bar
*/
@import url('http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css');
@keyframes push
{
0% {width: 0%;}
50% {width: 70%;}
100% {width: 0%;}
@lucasad
lucasad / urlencode.zsh
Created September 7, 2013 09:40
ZSH urlencode
urlencode() {
setopt localoptions extendedglob
input=( ${(s::)1} )
print ${(j::)input/(#b)([^A-Za-z0-9_.\!~*\'\(\)-])/%${(l:2::0:)$(([##16]#match))}}
}
@lucasad
lucasad / filterlist.txt
Created September 10, 2013 02:12
Filterlist for anoying things
https://ssl.google-analytics.com/ga.js
@lucasad
lucasad / dust.js
Created September 10, 2013 18:06
dust-amd
define('ndust', [], function() {
var dust = {};
dust.helpers = {};
dust.cache = {};
dust.register = function(name, tmpl) {
if (!name) return;
dust.cache[name] = tmpl;