Skip to content

Instantly share code, notes, and snippets.

View azevedo's full-sized avatar

Bruno Azevedo azevedo

  • Subvisual
  • Portugal
View GitHub Profile
@bendrucker
bendrucker / karma.json
Created October 1, 2014 13:08
Karma config for test coverage with browserify
{
"frameworks": ["browserify", "mocha", "chai-sinon", "env"],
"files": [
"components/angular/angular.js",
"components/angular-mocks/angular-mocks.js",
"node_modules/angular-ui-router/release/angular-ui-router.js",
"./components/firebase/firebase.js",
"./components/angularfire/angularfire.js",
"test/unit/**/*.js"
],
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')