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

@menor
menor / javascript_goodies.md
Last active December 30, 2018 07:36
Javascript tools that may come handy.

#Javascript Plugins# Require.js Needs no introduction, but just in case is a a JavaScript file and module loader optimized for in-browser use.
Enquire.js Media queries in Javascript.
Headroom.js is a lightweight, high-performance JS widget (with no dependencies!) that allows you to react to the user's scroll.
Move.js is a small JavaScript library making CSS3 backed animation extremely simple and elegant.
Skrollr Stand-alone parallax scrolling library for mobile (Android + iOS) and desktop. No jQuery. Just plain JavaScript.
Scroll Depth a small Google Analytics plugin that allows you to measure how far down the page your users are scrolling.
Async.js is a utility module which provides straight-forward, powerful functions for working with asynchronous

// 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.