Skip to content

Instantly share code, notes, and snippets.

View EricTheGray's full-sized avatar

Eric Leong EricTheGray

  • Paystone
  • Vancouver
View GitHub Profile
#IfWinActive, ahk_class Chrome_WidgetWin_1
!#Left::Send ^{PgUp}
!#Right::Send ^{PgDn}
@EricTheGray
EricTheGray / example.js
Created January 10, 2020 20:05
serverless router
import Router from './_services/Router.js';
const router = Router();
const middleware = (req, res, next) => {
return next(req, res);
};
router.get(middleware, (req, res) => {
alias ll="ls -al"
alias ln="ln -v"
alias mkdir="mkdir -p"
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ni='npm install'
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@EricTheGray
EricTheGray / .eslintrc.json
Created October 6, 2019 02:21
my eslint rules
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"globals": {
require 'csv'
class Importer
attr_reader :options
def initialize(options = {})
@options = options
@all_rows = []
@duplicate_rows = Hash.new
@incomplete_rows = []