Skip to content

Instantly share code, notes, and snippets.

Reading List

Culled from NPR/Guardian/Goodreads

  • Freedom's daughters : the unsung heroines of the civil rights movement from 1830 to 1970 / by Lynne O
  • Hands on the freedom plow : personal accounts by women in SNCC / edited by Faith S. Holsaert ... [et
  • Parting the waters : America in the King years, 1954-63 / Taylor Branch.
  • Judgment days : Lyndon Baines Johnson, Martin Luther King, Jr., and the laws that changed America / N
  • Martin & Malcolm & America : a dream or a nightmare / James H. Cone.
  • Ready for revolution : the life and struggles of Stokely Carmichael (Kwame Ture) / Stokely Carmichael
  • Toward the African revolution : political essays / Frantz Fanon ; translated from the French by Haako
@import compass/reset.sass
*:focus
outline: #ccc dotted medium
!base_font_size = 12px
!base_rhythm_unit= 1.5
!h2_font_size = 14px
!h2_font_size = 24px
!base_rhythm_unit = 18px
@if (!h2_font_size > !base_rhythm_unit)
line-height = ceil(!h2_font_size/!base_rhythm_unit)*!base_rhythm_unit
@else
line-height = !base_rhythm_unit
//** Vertical Rhythm **//
// By Chris Eppstein, with adjustments by Eric Meyer
// The IE font ratio is a fact of life. Deal with it.
!ie_font_ratio = 16px / 100%
// The base line height is the basic unit of line hightness.
!base_line_height ||= 18px
// Image Replacement Mixin
// Uses Compass's image_url(), image_width() & image_height() function
=image-replacement(!imageurl)
background-image = image_url(!imageurl)
width = image_width(!imageurl)
height = image_height(!imageurl)
display: block
overflow: hidden
text-indent: -1000px
// CSS declared in for HTML5 elements http://www.whatwg.org/specs/web-apps/current-work/#bindings
button,
input,
meter, progress,
select,
textarea,
keygen,
{ display: inline-block; }
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Detect Credit Card Type</title>
</head>
<body>
@nimbupani
nimbupani / generategrid.scss
Created January 3, 2011 03:34
Generate a grid with CSS gradients
@import "compass";
@mixin generategrid(
$vertical: 18px,
$verticalcolor: rgb(0, 0, 0),
$horizontal: 30px,
$horizontalmargin: 10px,
$horizontalcolor: rgb(0, 43, 255)) {
@include linear-gradient(color-stops($verticalcolor 5%, rgba(0, 0, 0, 0) 5%, rgba(0, 0, 0, 0) 100%));
@nimbupani
nimbupani / classnames.txt
Created February 22, 2011 12:15
Web Structure Three-Letter Acronyms
The following is a proposal for a standardized three-letter acronyms classnames system used for in web content structures.
doc, seg, sec
Document Elemental
------------------
doc = document
dpt = document part
dhd = document header
dft = document footer
#!/bin/bash
#
# Copyright 2011, Tim Branyen @tbranyen <tim@tabdeveloper.com>
# Dual licensed under the MIT and GPL licenses.
#
# Automatically clone single or multiple repos into a folder,
# great for setting up a git projects folder.
#
# Install: curl http://t.no.de/gist/github.sh | sh
#