Skip to content

Instantly share code, notes, and snippets.

@robhurring
robhurring / .eslintrc
Last active Aug 29, 2015 — forked from cletusw/.eslintrc
ESLint starter RC file (updated ECMA6 rules)
View .eslintrc
{
// http://eslint.org/docs/rules/
"ecmaFeatures": {
"arrowFunctions": false, // enable arrow functions
"binaryLiterals": false, // enable binary literals
"blockBindings": false, // enable let and const (aka block bindings)
"classes": false, // enable classes
"defaultParams": false, // enable default function parameters
"destructuring": false, // enable destructuring
View broken_cd.sh
#!/bin/bash
set -e # works without this
set -x # debug
source "$HOME/.rvm/scripts/rvm" #so 'cd' will change gemset when dotfiles present
#setup
rm -rf ~/tmp/dir_with_gemfile
mkdir -p ~/tmp/dir_with_gemfile
You can’t perform that action at this time.