Skip to content

Instantly share code, notes, and snippets.

View dyoung522's full-sized avatar

Donovan C. Young dyoung522

View GitHub Profile
@dyoung522
dyoung522 / proxy-settings.md
Last active July 17, 2017 19:27
Proxy ON/OFF scripts
  1. create a file named ~/.env-proxy-on with the following:
### PROXY STUFF
export NO_PROXY=127.0.0.1,localhost,192.168.99.100
export PROXY_HOST=192.168.50.100
export PROXY_PORT=3128
export PROXY=$PROXY_HOST:$PROXY_PORT
export PROXY_URL=http://$PROXY
export ALL_PROXY=$PROXY_URL
export HTTP_PROXY=$PROXY_URL
@dyoung522
dyoung522 / .rubocop.yml
Last active June 2, 2020 15:19
Rails rubocop.yml
AllCops:
TargetRubyVersion: 2.6.6
Exclude:
- db/**/*
- config/**/*
- script/**/*
- bin/**/*
- node_modules/**/*
Style/HashEachMethods:
ProxyCommand ssh aws-gateway exec nc -w 10 %h %p
@dyoung522
dyoung522 / .gitconfig
Last active March 12, 2020 20:59
git config file
[user]
email = [email protected]
name = Donovan Young
[credential]
helper = osxkeychain
[alias]
co = checkout
promote = !$ZSH/bin/git-promote
wtf = !$ZSH/bin/git-wtf
rank-contributers = !$ZSH/bin/git-rank-contributers
@dyoung522
dyoung522 / pa-docker.zsh
Created January 27, 2022 15:28
Docker compose aliases and commands
# Summary
# dc-start - starts docker-compose
# dc-stop - shuts down docker-compose and runs cleanup commands
# dc-restart - stops and then starts docker-compose
# dc-logs - displays and tails the docker-compose log files
# pa-docker | pa-docker-v3 <command> - runs the command inside the primary PA docker container
# Change this to be whatever docker-compose file you wish to use
COMPOSE_FILE=docker-compose-dev.yaml