Skip to content

Instantly share code, notes, and snippets.

View hmammana's full-sized avatar

Hernán Mammana hmammana

View GitHub Profile
@necolas
necolas / README.md
Last active August 28, 2025 08:36
Experimenting with component-based HTML/CSS naming and patterns

NOTE I now use the conventions detailed in the SUIT framework

Template Components

Used to provide structural templates.

Pattern

t-template-name
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@karnowski
karnowski / zombie.synchronousChain.coffee
Created April 15, 2011 18:18
Zombie.js + Vows: Capybara-like synchronous chain example
# ... require zombie, vows, etc. ...
events = require("events")
zombie.synchronousChain = (browser, steps)->
promise = new(events.EventEmitter)
zombie._linkInTheChain(promise, browser, steps)
promise
zombie._linkInTheChain = (promise, browser, steps)->