Skip to content

Instantly share code, notes, and snippets.

@BenGitsCode
BenGitsCode / remark-lint.sh
Created January 18, 2017 18:02
Run Remark lint (both verbose and shorthand)
(verbose)
remark README.md -u remark-lint -r ./.remarkrc
(shorthand)
remark <file>
@BenGitsCode
BenGitsCode / .travis.yml
Created January 17, 2017 21:32
.travis.yml Javascript Unit CI Testing
language: node_js
node_js:
- '6'
before_script: # before running scripts
- 'npm install'
- 'npm install -g grunt-cli'
script: # run these scripts
- 'grunt nag'
- 'grunt test'
# whitelist
@BenGitsCode
BenGitsCode / npm-upgrade-bleeding.sh
Created January 11, 2017 05:52 — forked from othiym23/npm-upgrade-bleeding.sh
a safe way to upgrade all of your globally-installed npm packages
#!/bin/sh
set -e
set -x
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3)
do
npm -g install "$package"
done
@BenGitsCode
BenGitsCode / 0_reuse_code.js
Created May 21, 2016 06:51
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

My Atom Config

Atom Editor Screenshot

Theme:

  • atom-dark-ui
  • atom-solarized-dark
  • plus custom styles.less rules