Skip to content

Instantly share code, notes, and snippets.

View menor's full-sized avatar

José Menor menor

View GitHub Profile

Capybara

save_and_open_page

Matchers

have_button(locator)
@menor
menor / SassMeister-input.scss
Created April 7, 2014 18:31
Generated by SassMeister.com.
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// Bitters (v0.9.2)
// Bourbon (v3.2.0.beta.1.a)
// Neat (v1.5.0)
// ----
@import "bourbon/bourbon";
@import "bourbon/bourbon";
@menor
menor / diffux_translation_notes.md
Created April 27, 2014 17:04
Spanish translation notes for Diffux

###Steps###

  • I forked the repo.
  • Add the original repo as an origin git remote add upstream https://github.com/diffux/diffux.git
  • Check that the origin is now right with git remote -v
  • Create a new branch git checkout -b spanish_translation
  • Install libraries, and gems and create the database following the guide from the repo.
  • I renamed database.yml.example to database.yml to be sure that I wasn't breaking things.
  • I tried to run the tests but I couldn't figure it out how to make them pass, so I worked without tests (I know, I know...)
  • I duplicated config > locales > en.yml and renamed it according to the ISO 639-1 two letter language code for Spanish.

jQuery Conference Austin

10 Sept 2013

The State of jQuery - Dave Methvin

// Node.js CheatSheet.
// Download the Node.js source code or a pre-built installer for your platform, and start developing today.
// Download: http://nodejs.org/download/
// More: http://nodejs.org/api/all.html
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@menor
menor / git_cheatsheet.md
Last active August 29, 2015 14:03
Git commands I keep searching for

git rm -r --cached <folder> Unstage a folder before a commit.
git commit --amend To change the message form the last commit.
git stash then git stash drop to delete all the unstaged and uncommited changes.

iTerm2 – Useful Shortcuts (Mac OS X)

with a hat tip to Sublime Text 2 Shortcuts

The Awesome

⌘; autocomplete
⌘⌥B instant replay
⌘⌥E search across all tabs
@menor
menor / frontend_mania.md
Last active August 29, 2015 14:04
A place to keep track of tools and techniques to improve the joy of coding front end.

##CSS Tools## Pleeease is a CSS post-processor. The main goal of this tool is to perform all treatments that a pre-processor shouldn't have to do! (eg, dealing with prefixes, convert rem to px, support older browsers, etc.).
Stress CSS JavaScript bookmarklet to test each CSS class on a page and report which are hindering performance.

##Email Design## PutsMail It's a mail test tool to test your HTML mails before sending them.

##Icons## Licon is a simple, useful and lightness pack—icon that made with Pure CSS3.

Sublime to Vim

  • Use Control+W instead of Alt+Backspace
  • To unindent a line, use Ctrl+D
  • To indent a line, use Ctrl+T
  • Upper-case J joins lines (same as Cmd+J in Sublime Text)
  • Use :edit! to force a reload of the current file from disk.
  • To skip to the first non-whitespace character on a line, press ^
  • yy copies (yanks) a line

Window Commands