Skip to content

Instantly share code, notes, and snippets.

View matthieua's full-sized avatar

Matt Delac matthieua

View GitHub Profile
@matthieua
matthieua / setup.md
Created August 27, 2011 11:35
Setup

#Chrome Alexa Web developer toolbar Delicious Buffer App Clearly Cortext BuiltWith 1Password

@matthieua
matthieua / Cucumber Plain Text Feature.tmLanguage
Created September 6, 2011 00:52 — forked from unixmonkey/Cucumber Plain Text Feature.tmLanguage
Cucumber Language definition file for TextMate; modified to work with Sublime Text 2
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>feature</string>
</array>
<key>firstLineMatch</key>
<string>기능|機能|功能|フィーチャ|خاصية|תכונה|Функціонал|Функционалност|Функционал|Особина|Могућност|Özellik|Właściwość|Tính năng|Savybė|Požiadavka|Požadavek|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Fīča|Funzionalità|Funktionalität|Funkcionalnost|Funkcionalitāte|Funcționalitate|Functionaliteit|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Feature|Egenskap|Egenskab|Crikey|Característica|Arwedd(.*)</string>
@matthieua
matthieua / coffeescript-presentation.md
Created October 25, 2011 06:34
CoffeeScript Presentation - Envato - 25/10/2011
@matthieua
matthieua / gist:1311614
Created October 25, 2011 06:46
CoffeeScript Presentation Examples - Envato - 25/10/2011
# ::::::::: :::::::::: ::: ::: ::::::::
# :+: :+: :+: :+:+: :+:+: :+: :+:
# +:+ +:+ +:+ +:+ +:+:+ +:+ +:+ +:+
# +#+ +:+ +#++:++# +#+ +:+ +#+ +#+ +:+
# +#+ +#+ +#+ +#+ +#+ +#+ +#+
# #+# #+# #+# #+# #+# #+# #+#
# ######### ########## ### ### ########
# ::::::::::: ::::::::::: ::: ::: ::::::::::
# :+: :+: :+:+: :+:+: :+:
# +:+ +:+ +:+ +:+:+ +:+ +:+
@matthieua
matthieua / gist:2840043
Last active October 5, 2015 16:57
GIT: Cheatsheet
# add all tracked files that have been changed.
git add -u
# choose which changes to commit.
git add -p path/to/file
# interactive mode
git add -i path/to/file
# delete a branch
@matthieua
matthieua / Rails Cheatsheet
Created June 4, 2012 06:10
Rails: Cheatsheet
# Debug
## In a view
<%= debug @object %>
<%= debug 'string' %>
<%= 'string'.inspect %>
##In a controller / model
logger.debug "The object is #{@object}"
RAILS_DEFAULT_LOGGER.debug @object
@matthieua
matthieua / Jasmine: Cheatsheet
Created June 7, 2012 03:04
Jasmine: Cheatsheet
// Jasmine Cheatsheet
// Resources
https://github.com/pivotal/jasmine-ajax //make ajax testing fun
http://sinonjs.org/ //stubing framework
http://johnbintz.github.com/jasmine-headless-webkit/ //headless testing
https://github.com/creynders/grunt-jasmine-task //headless testing
// Use guard-jasmine
gem "guard"
@matthieua
matthieua / Dev Environment: Cheatsheet
Created June 8, 2012 01:17
Dev Environment: Cheatsheet
# Dev environment: cheatcheat
# POW
## Install POW
curl get.pow.cx | sh
## Rbenv
## In ~/.powconfig
PATH="/Users/matthieuaussaguel/.rbenv/shims:/Users/matthieuaussaguel/.rbenv/bin:$PATH"
@matthieua
matthieua / RSpec: Cheatsheet
Created June 8, 2012 03:00
# RSpec: Cheatsheet
# RSpec: Cheatsheet
INSTALL
=======
$ gem install rspec
RSPEC-RAILS
===========
@matthieua
matthieua / Capybara: Cheatsheet
Created June 8, 2012 03:31
Capybara: Cheatsheet
Capybara
========
Webrat alternative which aims to support all browser simulators.
API
===
Navigating
----------