This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"esnext": true, // true: Allow ES.next (ES6) syntax (ex: `const`) | |
"browserify": true, // Browserify (node.js code in the browser) | |
"quotmark": "single", // Quotation mark consistency | |
"indent": 4, // {int} Number of spaces to use for indentation | |
"curly": true, // true: Require {} for every new block or scope | |
"plusplus": false, // true: Prohibit use of `++` & `--` | |
"eqeqeq": true, // true: Require triple equals (===) for comparison | |
"forin": true, // true: Require filtering for..in loops with obj.hasOwnProperty() | |
"freeze": true, // true: prohibits overwriting prototypes of native objects such as Array, Date etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
export JIRA_URL="http://jira.mlbam.com" | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="robbyrussell" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# install brew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# cask for brew | |
brew tap phinze/cask | |
brew install brew-cask | |
# cask versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var program = require('commander'); | |
var request = require('request'); | |
var chalk = require('chalk'); | |
program | |
.version('0.0.1') | |
.usage('[options] <keywords>') | |
.option('-o, --owner [name]', 'Filter by the repositories owner') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"serve": "http-server -p 9966", | |
"start": "npm run serve & npm run build", | |
"start-dev": "npm run serve & npm run watch", | |
"build-js": "browserify -u bootstrap -u jquery -u lodash -u isomorphic-fetch src/scripts/g5-component.js --s 'g5-component' | uglifyjs -mc drop_console > src/static/g5-component.js", | |
"build-js-vendor": "browserify -r bootstrap -r jquery -r lodash -r isomorphic-fetch | uglifyjs -mc > src/static/g5-component-vendor.js", | |
"build-js-full": "browserify src/scripts/g5-component.js --s 'g5-component' | uglifyjs -mc drop_console > src/static/g5-component.js", | |
"build-css": "lessc src/styles/component.less > src/static/bundle.css", | |
"build": "npm run build-js", | |
"watch-js": "watchify -u bootstrap -u jquery -u lodash -u isomorphic-fetch src/scripts/g5-component.js --s 'g5-component' -o src/static/g5-component.js -dv", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* @module dict-es | |
* @author Greg Babula [greg.babula@mlb.com] | |
* @description scoreboard dictionary - Espanol | |
* | |
*/ | |
define(function(require, exports, module) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.dict('es', 'scoreboard', { | |
/* Postseason */ | |
'Wild Card': 'Comodin', | |
'Division Series': 'Series Divisionales', | |
'League Championship Series': 'Series de Campeonato', | |
'World Series': 'Serie Mundial', | |
'If Necessary': 'Si es necesario', | |
'Gm': 'Jgo', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.dict('es', 'mig', { | |
/* Game States */ | |
'Pre-Game': 'Previo', | |
'Warmup': 'Calentamiento', | |
'Start': 'Inicio', | |
'Rain': 'Lluvia', | |
'Snow': 'Nieve', | |
'Grounds': 'Terreno', | |
'Venue': 'Sede', |