Skip to content

Instantly share code, notes, and snippets.

@erin-lee
erin-lee / gist:5be5ab498ca59f6e5aec
Created June 4, 2014 12:25 — forked from dustinsmith1024/gist:1686977
Installing vim on a unix
curl -Lo- http://bit.ly/janus-bootstrap | bash
#errored out...had to install git first, derrr
sudo apt-get install git
curl -Lo- http://bit.ly/janus-bootstrap | bash
# error! had to install rake next
sudo apt-get install rake
curl -Lo- http://bit.ly/janus-bootstrap | bash
@erin-lee
erin-lee / css_resources.md
Created April 5, 2014 17:54 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@erin-lee
erin-lee / 0_reuse_code.js
Created April 5, 2014 15:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@import compass
$icons: sprite-map("icons/*.png")
$icons-hd: sprite-map("icons-hd/*.png")
i
background: $icons
display: inline-block
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
background: $icons-hd

##Gh-pages

Problem

You have git repository with the following directory structure

myproject
|- source
|- docs
@erin-lee
erin-lee / sublime_shortcuts.textile
Created February 13, 2014 05:35 — forked from lucasfais/gist:1207002
Shortcuts for sublime text to learn

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌃G go to line
⌘KB toggle side bar
⌘T go to file
⌘⌃P go to project
⌘R go to methods