Skip to content

Instantly share code, notes, and snippets.

View daneden's full-sized avatar

Daniel Eden daneden

View GitHub Profile
@daneden
daneden / .block
Last active August 3, 2017 23:11 — forked from mbostock/.block
Circle Packing
license: gpl-3.0
height: 960
border: no
@daneden
daneden / README.md
Last active March 19, 2017 10:06 — forked from agnoster/README.md
Custom fork of the Agnoster theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

<!DOCTYPE html>
<html>
<head>
<!-- Meta -->
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Toast.css Nested Divs</title>
<!-- /Meta -->
@daneden
daneden / dabblet.css
Created June 15, 2012 05:35 — forked from anonymous/dabblet.css
Reset
/* Reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; }
:focus { outline:0; }
a:active { outline:none; }
body { line-height:1; color:black; background:white; }
ol,ul { list-style:none; }
table { border-collapse:separate; border-spacing:0; }
caption,th,td { text-align:left; font-weight:normal; }
blockquote:before,blockquote:after,q:before,q:after { content:""; }
@daneden
daneden / dabblet.css
Created March 22, 2012 09:46 — forked from anonymous/dabblet.css
Transition aliasing bug
/* Transition aliasing bug */
body {
font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
font-weight: 700;
}
div {
width: 100px;
height: 100px;
@daneden
daneden / animate.js
Created December 6, 2011 13:23
A function to apply animate.css classes dynamically
// Use the animate.css animations
function animate(element, effect, delay, callback) {
// Set a delay if needed
var animation = setTimeout(function () {
// Add the animation effect with classes
$(element).addClass('animate ' + effect);
// Check if the elemenr has been hidden to start with to prevent FOUC
if ($(element).css('visibility') == 'hidden') {
// If it has, show it (after the class has been added)