Skip to content

Instantly share code, notes, and snippets.

Avatar

nykac lucasad

View GitHub Profile
@lucasad
lucasad / dabblet.css
Created May 28, 2013
CSS Modals (no Javascript)
View dabblet.css
/**
* CSS Modals (no Javascript)
*/
.modal-input, .modal-outer, .modal-inner
{
display: none;
}
:checked + .modal-outer {
View dabblet.css
/**
* CSS Calendar
*/
.cal {
width: 14.4375rem;
border: solid black;
border-width: 0 1px 1px 0;
}
View dabblet.css
/**
* CSS Calendar
*/
.cal {
width: 14.4375rem;
border: solid black;
border-width: 0 1px 1px 0;
}
@lucasad
lucasad / dabblet.css
Created Aug 7, 2013
The first commented line is your dabblet’s title
View dabblet.css
/**
* 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 Aug 13, 2013
Expanding input
View dabblet.css
/**
* Expanding input
*/
/*
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;*/
#s {
transition: width 1s;
@lucasad
lucasad / dabblet.css
Created Aug 13, 2013
Indeterminate progress bar
View dabblet.css
/**
* 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 Aug 19, 2013
Indeterminate progress bar
View dabblet.css
/**
* 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%;}
View urlencode.zsh
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 Sep 10, 2013
Filterlist for anoying things
View filterlist.txt
https://ssl.google-analytics.com/ga.js
View dust.js
define('ndust', [], function() {
var dust = {};
dust.helpers = {};
dust.cache = {};
dust.register = function(name, tmpl) {
if (!name) return;
dust.cache[name] = tmpl;