mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-27 06:58:16 +00:00
2022-06-14
This commit is contained in:
100
Brewfile
Normal file
100
Brewfile
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
tap "anchore/grype"
|
||||||
|
tap "codeclimate/formulae"
|
||||||
|
tap "github/gh"
|
||||||
|
tap "homebrew/autoupdate"
|
||||||
|
tap "homebrew/bundle"
|
||||||
|
tap "homebrew/cask"
|
||||||
|
tap "homebrew/core"
|
||||||
|
tap "homebrew/services"
|
||||||
|
tap "reviewdog/tap"
|
||||||
|
tap "wpscanteam/tap"
|
||||||
|
brew "act"
|
||||||
|
brew "python@3.10"
|
||||||
|
brew "ansible", link: false
|
||||||
|
brew "aspell"
|
||||||
|
brew "autoconf"
|
||||||
|
brew "brew-php-switcher"
|
||||||
|
brew "glib"
|
||||||
|
brew "openldap"
|
||||||
|
brew "zstd"
|
||||||
|
brew "freetds"
|
||||||
|
brew "icu4c"
|
||||||
|
brew "libpq"
|
||||||
|
brew "php", link: false
|
||||||
|
brew "composer"
|
||||||
|
brew "coreutils"
|
||||||
|
brew "dive"
|
||||||
|
brew "dog"
|
||||||
|
brew "eg-examples"
|
||||||
|
brew "p11-kit"
|
||||||
|
brew "unbound"
|
||||||
|
brew "gnutls"
|
||||||
|
brew "faas-cli"
|
||||||
|
brew "fswatch"
|
||||||
|
brew "gh"
|
||||||
|
brew "git"
|
||||||
|
brew "git-extras"
|
||||||
|
brew "gnu-sed"
|
||||||
|
brew "gnupg"
|
||||||
|
brew "goaccess"
|
||||||
|
brew "netpbm"
|
||||||
|
brew "harfbuzz"
|
||||||
|
brew "librsvg"
|
||||||
|
brew "graphviz"
|
||||||
|
brew "grep"
|
||||||
|
brew "gzip"
|
||||||
|
brew "hadolint"
|
||||||
|
brew "htop"
|
||||||
|
brew "httrack"
|
||||||
|
brew "imagemagick"
|
||||||
|
brew "jq"
|
||||||
|
brew "lastpass-cli"
|
||||||
|
brew "lazydocker"
|
||||||
|
brew "libvoikko"
|
||||||
|
brew "midnight-commander"
|
||||||
|
brew "nmap"
|
||||||
|
brew "nvm"
|
||||||
|
brew "openapi-generator"
|
||||||
|
brew "openfortivpn"
|
||||||
|
brew "php-cs-fixer"
|
||||||
|
brew "php@7.4"
|
||||||
|
brew "php@8.0"
|
||||||
|
brew "phpmd"
|
||||||
|
brew "phpstan"
|
||||||
|
brew "python@3.8"
|
||||||
|
brew "qcachegrind"
|
||||||
|
brew "qt"
|
||||||
|
brew "rcm"
|
||||||
|
brew "ripgrep"
|
||||||
|
brew "ruby"
|
||||||
|
brew "s3cmd"
|
||||||
|
brew "shellcheck"
|
||||||
|
brew "skopeo"
|
||||||
|
brew "terminal-notifier", link: false
|
||||||
|
brew "terraform@0.12"
|
||||||
|
brew "testssl"
|
||||||
|
brew "tfenv"
|
||||||
|
brew "thefuck"
|
||||||
|
brew "tldr"
|
||||||
|
brew "tmux"
|
||||||
|
brew "tree"
|
||||||
|
brew "watch"
|
||||||
|
brew "wget"
|
||||||
|
brew "z"
|
||||||
|
brew "anchore/grype/grype"
|
||||||
|
brew "reviewdog/tap/reviewdog"
|
||||||
|
brew "wpscanteam/tap/wpscan"
|
||||||
|
cask "docker"
|
||||||
|
cask "fog"
|
||||||
|
cask "google-cloud-sdk"
|
||||||
|
cask "insomnia"
|
||||||
|
cask "ngrok"
|
||||||
|
cask "qlimagesize"
|
||||||
|
cask "qlmarkdown"
|
||||||
|
cask "qlstephen"
|
||||||
|
cask "qlvideo"
|
||||||
|
cask "quicklook-json"
|
||||||
|
cask "quicklookase"
|
||||||
|
cask "sequel-ace"
|
||||||
|
cask "suspicious-package"
|
||||||
|
cask "vagrant"
|
||||||
42
alias
Normal file
42
alias
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
|
# macOS specific
|
||||||
|
if [[ $(uname) == 'Darwin' ]]; then
|
||||||
|
alias file_hide="chflags hidden"
|
||||||
|
alias file_show="chflags nohidden"
|
||||||
|
alias brewUp='brew update && brew outdated && brew upgrade && brew cleanup'
|
||||||
|
|
||||||
|
alias php74='$(brew --prefix php@7.4)/bin/php'
|
||||||
|
alias php80='$(brew --prefix php@8.0)/bin/php -d error_reporting=22527'
|
||||||
|
alias phpc='$(brew --prefix php)/bin/php -d error_reporting=22527'
|
||||||
|
alias php80raw='$(brew --prefix php@8.0)/bin/php'
|
||||||
|
|
||||||
|
alias php-server='php -S localhost:9000'
|
||||||
|
|
||||||
|
alias p74c='$(brew --prefix php@7.4)/bin/php -d error_reporting=22527 $(which composer)'
|
||||||
|
alias p80c='$(brew --prefix php@8.0)/bin/php -d error_reporting=22527 $(which composer)'
|
||||||
|
alias p8c='$(brew --prefix php)/bin/php -d error_reporting=22527 $(which composer)'
|
||||||
|
alias p7a='$(brew --prefix php@7.4)/bin/php artisan'
|
||||||
|
alias p8a='$(brew --prefix php)/bin/php artisan'
|
||||||
|
|
||||||
|
alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
|
||||||
|
|
||||||
|
# work related
|
||||||
|
alias geniemvpn='sudo openfortivpn -c ~/.local/openfortivpn.conf'
|
||||||
|
fi
|
||||||
|
|
||||||
|
alias watchx='watch -dpbc'
|
||||||
|
alias zapds='find . -name ".DS_Store" -print -delete'
|
||||||
|
alias t='tail -f'
|
||||||
|
alias dn='du -chd1'
|
||||||
|
|
||||||
|
alias codescanner='docker run --env SOURCE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock registry.gitlab.com/gitlab-org/ci-cd/codequality:${VERSION:-latest} /code'
|
||||||
|
|
||||||
|
alias composerUp='composer global update'
|
||||||
|
alias npmUp='npm -g up'
|
||||||
|
|
||||||
|
alias zedit='code ~/.zshrc ~/.alias'
|
||||||
|
|
||||||
|
if [[ -f "$HOME/.aliases.local" ]]; then
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
source "$HOME/.aliases.local"
|
||||||
|
fi
|
||||||
3
bash_profile
Normal file
3
bash_profile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
|
export PATH="$HOME/.local/bin:/usr/local/sbin:$PATH"
|
||||||
9
bashrc
Normal file
9
bashrc
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
|
PHP_PATH=$(brew --prefix php)/bin
|
||||||
|
|
||||||
|
export PATH="$PHP_PATH:$HOME/.composer/vendor/bin/:/usr/local/opt/ruby/bin:/usr/local/sbin:$PATH"
|
||||||
|
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
|
||||||
|
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
|
||||||
2057
config/antigen.zsh
Executable file
2057
config/antigen.zsh
Executable file
File diff suppressed because it is too large
Load Diff
1
config/gh/config.yml
Normal file
1
config/gh/config.yml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
git_protocol: ssh
|
||||||
38
gitconfig
Normal file
38
gitconfig
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
[user]
|
||||||
|
name = Ismo Vuorinen
|
||||||
|
email = ismo.vuorinen@geniem.com
|
||||||
|
signingkey = 027A74A88B2CC570
|
||||||
|
[core]
|
||||||
|
excludesfile = ~/.gitignore_global
|
||||||
|
[difftool "sourcetree"]
|
||||||
|
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
|
||||||
|
path =
|
||||||
|
[mergetool "sourcetree"]
|
||||||
|
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
|
||||||
|
trustExitCode = true
|
||||||
|
[commit]
|
||||||
|
template = ~/.stCommitMsg
|
||||||
|
[alias]
|
||||||
|
reset-origin = !git fetch origin && git reset --hard origin/master && git clean -f -d
|
||||||
|
reset-upstream = !git fetch upstream && git reset --hard upstream/master && git clean -f -d
|
||||||
|
nah = !git reset --hard && git clean -df
|
||||||
|
|
||||||
|
[filter "lfs"]
|
||||||
|
clean = git-lfs clean -- %f
|
||||||
|
smudge = git-lfs smudge -- %f
|
||||||
|
process = git-lfs filter-process
|
||||||
|
required = true
|
||||||
|
[init]
|
||||||
|
defaultBranch = master
|
||||||
|
[pull]
|
||||||
|
rebase = false
|
||||||
|
|
||||||
|
[color]
|
||||||
|
ui = true
|
||||||
|
|
||||||
|
[color "status"]
|
||||||
|
added = green bold
|
||||||
|
changed = yellow
|
||||||
|
deleted = red bold strike
|
||||||
|
untracked = cyan
|
||||||
|
branch = yellow black bold ul
|
||||||
27
gitignore_global
Normal file
27
gitignore_global
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
.DS_Store
|
||||||
|
.idea
|
||||||
|
.run
|
||||||
|
*.cache
|
||||||
|
*~
|
||||||
|
|
||||||
|
__secret
|
||||||
|
__ignored
|
||||||
|
__test_*.php
|
||||||
|
__test_*.txt
|
||||||
|
__test.php
|
||||||
|
_theme
|
||||||
|
*.sql.gz
|
||||||
|
*.WordPress.*.xml
|
||||||
|
cachegrind.out.*
|
||||||
|
client-*.json
|
||||||
|
composer.phar
|
||||||
|
devops/.infra_ip_cache
|
||||||
|
wp_*.sh
|
||||||
|
|
||||||
|
redirectRules.csv
|
||||||
|
results_redirectRules.csv
|
||||||
|
testRedirect.sh
|
||||||
|
|
||||||
|
uploads-webpc
|
||||||
|
webpc-passthru.php
|
||||||
|
auth.json
|
||||||
23
vuerc
Normal file
23
vuerc
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"useTaobaoRegistry": false,
|
||||||
|
"presets": {
|
||||||
|
"v2-router-vuex-scss-prettier": {
|
||||||
|
"useConfigFiles": false,
|
||||||
|
"plugins": {
|
||||||
|
"@vue/cli-plugin-babel": {},
|
||||||
|
"@vue/cli-plugin-router": {
|
||||||
|
"historyMode": false
|
||||||
|
},
|
||||||
|
"@vue/cli-plugin-vuex": {},
|
||||||
|
"@vue/cli-plugin-eslint": {
|
||||||
|
"config": "prettier",
|
||||||
|
"lintOn": [
|
||||||
|
"save"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"vueVersion": "2",
|
||||||
|
"cssPreprocessor": "dart-sass"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
55
zshrc
Normal file
55
zshrc
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
|
OPT_FOLDER="/usr/local/opt"
|
||||||
|
PHP_74=$(brew --prefix php@7.4)/bin
|
||||||
|
PHP_CUR=$(brew --prefix php)/bin
|
||||||
|
export PATH="$HOME/.local/bin:$PHP_74:$PHP_CUR:$HOME/Library/Python/3.8/bin:$HOME/.composer/vendor/bin:$OPT_FOLDER/python@3.8/bin:$OPT_FOLDER/coreutils/libexec/gnubin:$OPT_FOLDER/ruby/bin:/usr/local/sbin:$PATH"
|
||||||
|
source "$HOME/.config/antigen.zsh"
|
||||||
|
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
export NVM_LAZY_LOAD=true
|
||||||
|
export NVM_COMPLETION=true
|
||||||
|
export NVM_AUTO_USE=true
|
||||||
|
|
||||||
|
antigen use oh-my-zsh
|
||||||
|
|
||||||
|
antigen bundle php
|
||||||
|
antigen bundle nvm
|
||||||
|
antigen bundle ruby
|
||||||
|
antigen bundle docker
|
||||||
|
antigen bundle ssh-agent
|
||||||
|
antigen bundle git-auto-fetch
|
||||||
|
|
||||||
|
antigen bundle colored-man-pages
|
||||||
|
antigen bundle jreese/zsh-titles
|
||||||
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||||
|
antigen bundle zsh-users/zsh-completions
|
||||||
|
|
||||||
|
antigen bundle Sparragus/zsh-auto-nvm-use
|
||||||
|
antigen bundle reegnz/jq-zsh-plugin
|
||||||
|
antigen bundle MichaelAquilina/zsh-you-should-use
|
||||||
|
antigen bundle sroze/docker-compose-zsh-plugin
|
||||||
|
antigen bundle voronkovich/phpcs.plugin.zsh
|
||||||
|
antigen bundle unixorn/autoupdate-antigen.zshplugin
|
||||||
|
|
||||||
|
antigen theme oskarkrawczyk/honukai-iterm-zsh honukai
|
||||||
|
|
||||||
|
# Platform dependant bundles
|
||||||
|
if [[ $(uname) == 'Linux' ]]
|
||||||
|
then
|
||||||
|
antigen bundle command-not-found
|
||||||
|
elif [[ $(uname) == 'Darwin' ]]
|
||||||
|
then
|
||||||
|
# Only enable brew plugin if brew exists
|
||||||
|
hash brew 2>/dev/null && antigen bundle brew
|
||||||
|
fi
|
||||||
|
|
||||||
|
antigen apply
|
||||||
|
|
||||||
|
export HIST_STAMPS="yyyy-mm-dd"
|
||||||
|
|
||||||
|
source "$HOME/.alias"
|
||||||
|
|
||||||
|
source "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc"
|
||||||
|
source "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc"
|
||||||
|
source "/usr/local/etc/profile.d/z.sh"
|
||||||
Reference in New Issue
Block a user