This file contains hidden or 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/sh | |
# Sets up ESLint for my projects | |
# 1. install dev deps | |
yarn add -D \ | |
eslint babel-eslint eslint-loader \ | |
prettier eslint-config-prettier eslint-plugin-prettier \ | |
eslint-config-standard eslint-plugin-standard \ | |
eslint-plugin-node \ |
This file contains hidden or 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.exports = { | |
extends: [ | |
'standard', | |
'plugin:react/recommended', | |
'plugin:jsx-a11y/recommended', | |
'prettier', | |
'prettier/react', | |
'prettier/standard' | |
], | |
plugins: [ |
This file contains hidden or 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
const HtmlWebpackPlugin = require('html-webpack-plugin') | |
const path = require('path') | |
module.exports = { | |
entry: './src/index.js', | |
output: { | |
filename: 'main.js', | |
path: path.resolve(__dirname, 'dist') | |
}, | |
module: { |
This file contains hidden or 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
DECLARE { | |
@company as varchar(4) | |
,@user as varchar(7) | |
} | |
WITH | |
ACCRUALTRANS AS ( | |
SELECT | |
N.HOMELABORLEVELNM1 AS 'COMPANY' | |
,A.PERSONNUM |
This file contains hidden or 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
# Set <prefix> to ctrl+a | |
set -g prefix C-a | |
unbind-key C-b | |
bind-key C-a send-prefix | |
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on |
NewerOlder