Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
0003ce99c1
Bump pyyaml from 5.1.2 to 5.4
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.1.2 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.1.2...5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 22:53:04 +00:00
22 changed files with 42 additions and 632 deletions

View File

@ -1,7 +1,6 @@
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
tap "homeport/tap"
# Tap for chezmoi
tap "twpayne/taps"
# Tap for real path
@ -23,10 +22,7 @@ tap "romkatv/powerlevel10k" # provides powerlevel10k
tap "shopify/shopify" # provides toxiproxy
tap "homebrew/cask-fonts" # provides fonts used by vim-devicons https://vimawesome.com/plugin/vim-devicons https://github.com/ryanoasis/nerd-fonts#font-installation
tap "wtfutil/wtfutil" # https://wtfutil.com/getting_started/installation/
cask "cyberduck"
cask "docker"
cask "lens"
cask "obsidian"
cask "java"
cask "iterm2"
cask "zoomus"
@ -62,7 +58,6 @@ cask "dropbox"
cask "rescuetime"
cask "wireshark"
cask "font-hack-nerd-font" # provides fonts used by vim-devicons https://vimawesome.com/plugin/vim-devicons https://github.com/ryanoasis/nerd-fonts#font-installation
cask "yacreader"
# Mac app store
mas 'Keynote', id: 409183694
@ -72,7 +67,6 @@ mas 'Pages', id: 409201541
mas 'GarageBand', id: 682658836
mas 'Numbers', id: 409203825
brew "homeport/tap/havener"
brew "zsh"
brew "git-ftp"
brew "gnu-sed"
@ -80,12 +74,11 @@ brew "hugo"
brew "inetutils"
brew "ncftp"
brew "plantuml"
brew "python3"
brew "ripgrep"
brew "twpayne/taps/chezmoi"
brew "tmux"
brew "node"
brew "direnv"
brew "fish"
# Fasd (pronounced similar to "fast") is a command-line productivity booster. https://github.com/clvv/fasd
brew "fasd"
@ -115,8 +108,7 @@ brew "asciidoc"
brew "bash-snippets"
# Mac App Store command line interface
brew "mas"
# Using pyenv to be able to install specific python versions https://stackoverflow.com/questions/49794432/how-to-setup-a-pipenv-python-3-6-project-if-os-
-version-is-3-5
# Using pyenv to be able to install specific python versions https://stackoverflow.com/questions/49794432/how-to-setup-a-pipenv-python-3-6-project-if-os-python-version-is-3-5
brew "pyenv"
# Google CLI https://github.com/jarun/googler
brew "googler"
@ -150,23 +142,13 @@ brew "aspell"
brew "neofetch"
# add nushell https://github.com/nushell/nushell
brew "nushell"
brew "ncspot"
brew "python@3.10"
brew "pipx"
brew "watch"
# tools for K8S
brew "kubectl"
brew "kubectx"
brew "kube-linter"
brew "kubernetes-cli"
brew "kustomize"
brew "popeye" # Kubernetes resources sanity analysis
brew "packer"
brew "go"
brew "golangci-lint"
brew "gopls"
brew "weechat" # need an IRC client
brew "tflint" # terraform linter
brew "ktlint" # kotlin linter
@ -174,8 +156,6 @@ brew "cmake" # compiler, was needed for compiling YouCompleteMe, see https://git
brew "zola" # a simple and fast static site generator
brew "rustup" # Install Rust
brew "jq" # add jq utility for parsing json
brew "jsonlint"
brew "gron"
brew "octant" # k8s cluster viewer
brew "telepresence" # telepresence https://www.telepresence.io/reference/install
brew "ansiweather" # https://github.com/fcambus/ansiweather
@ -191,6 +171,7 @@ brew "tac" # Needed for some terraform modules at work
brew "coreutils"
brew "gh" # GitHub CLI
brew "bash" # time to upgrade bash
brew "popeye" # Kubernetes resources sanity analysis
brew "pre-commit" # https://pre-commit.com/#install
brew "terraform-docs" # https://github.com/segmentio/terraform-docs
brew "shfmt" # format shell
@ -218,12 +199,6 @@ brew "fd"
brew "git-delta"
brew "sn0int"
brew "prettier"
brew "diffutils"
brew "switchaudio-osx"
brew "findutils"
brew "git-extras"
brew "broot"
brew "jxplorer"
brew "android-file-transfer"
brew "aws-vault"
brew "asciinema"

View File

@ -20,9 +20,6 @@ alias lh='ls -alt | head' # see the last modified files
alias tree='ls --almost-all --tree -I .git'
alias x='extract'
# Searching
alias searchbook="libgen-cli search --output $HOME/Downloads/Books"
# Projects shortcuts
alias code='cd $HOME/Code'
alias blog='z morgangeek-blog'
@ -46,6 +43,3 @@ alias za='vim $HOME/.zsh_aliases' # edit zsh_aliases
# Quick editing
alias checkthis='arrow "type Ctrl+Z When done"; \cat > /tmp/file; arrow "Ok now we check your text..."; checkenlist /tmp/file'
# Linting
alias checkreadme='checkenlist README*'

View File

@ -13,11 +13,6 @@ alias chown='gchown --preserve-root'
alias chmod='gchmod --preserve-root'
alias chgrp='gchgrp --preserve-root'
alias current_year='`echo date +"%Y"`'
alias ftk='file_to_kindle'
alias send_to_kindle='file_to_kindle'
alias stk='send_to_kindle'
alias tokindle='file_to_kindle'
alias kindle='to_kindle'
alias headers='curl -I --compress' # Find out if remote server supports gzip / mod_deflate or not #
alias https='http --default-scheme=https' # useful alias stealed from a colleague. http is provided by httpie
alias path='echo -e ${PATH//:/\\n}' # Explode and display current PATH

View File

@ -1,13 +1,9 @@
personal_repl-1.1 en 0
behing behind
bg background
branchs branches
definenation definition
dev development
env environment
evals evaluates
festing Testing
prtscn print screen
stackoverflow Stack Overflow
symblinks symbolic links
unix Unix

View File

@ -1,22 +1,15 @@
personal_ws-1.1 en 322
ABAP
AIX
personal_ws-1.1 en 274
APIs
AST
ASTs
ActionScript
Acyclic
Ansible
Applitools
Axios
BDD
BINDIR
Backend
Belarussian
Bitbucket
Bourne
Brewfile
Builtins
CDN
CIs
CLI
@ -30,7 +23,6 @@ CloudDocs
CodeClimate
Codefresh
Coreutils
Cygwin
DOM
DSL
DevOps
@ -41,8 +33,6 @@ FaaS
Fanboyism
Favicon
Feng
Fortran
FreeBSD
GKE
GPL
GatsbyJS
@ -54,7 +44,6 @@ HashiCorp
Hirokuni
HomeBrew
Huawei
IRIX
IoT
JS
JWT
@ -75,27 +64,21 @@ Microservices
Middleware
Minikube
Minimalistic
NetBSD
Netlify
OCaml
OSS
OSX
OWASP
OpenBSD
PRs
PagerDuty
PluginInstall
Postgres
PowerShell
PrismJS
Prolog
PyPI
README
RGB
ROI
RSS
RabbitMQ
Redux
Repl
Repo
Roadmap
@ -104,24 +87,17 @@ SDKMan
SLA
SRP
Semgrep
Serbo
Solaris
SonarQube
Spotify
Survivorship
TCP
TLS
TODO
Terraform's
Terrascan
TravisCI
UI
UTF
UX
VirtualBox
Vundle
WSL
WinZip
YAGNI
YAML
ansible
@ -145,14 +121,12 @@ bashtop
benchmarking
blackbox
bundler
bzip
cd
centos
chaifeng
checkci
chmod
chsh
cmd
codebase
codebases
compat
@ -161,17 +135,14 @@ conf
config
configs
copyhooks
csv
customizable
darwin
dest
dev
dir
dockerized
dotfiles
dryrun
duplications
encodings
env
esac
eslint
@ -187,8 +158,6 @@ gpg
gradle
groupinstall
gulpfile
gz
gzip
hardcoded
hcl
headspace
@ -196,7 +165,6 @@ homebrew
hostname
hostnames
htop
iTerm
idempotency
impactful
init
@ -259,16 +227,13 @@ regexes
repo
repos
ripgrep
robbyrussell
rustc
rustfmt
rustup
rvm
sSL
sSfL
scrollbar
sdk
sed
selfupdate
semver
serverless
@ -277,47 +242,42 @@ snf
src
stderr
stdout
stylesheet
subcommands
subdirectories
subdirectory
submodule
submodules
subshell
sudo
surfraw
svn
templateDir
templatedir
templating
terraform
terrascan
textarea
toml
txt
uname
uncomment
uncommenting
unhandled
unsave
untrapped
url
usr
utils
vcs
vimrc
vlc
walkthroughs
webpage
wget
whitepaper
whitespace
whoami
wikit
wtf
yacc
yaml
yamllint
yml
zsh
zshrc
POWERLEVEL9K
dir
robbyrussell
Powerlevel10k
#ithub
#ithub/!
#ithub
github/!

View File

@ -1,4 +1,2 @@
export PATH="$HOME/.cargo/bin:$PATH"
source /Users/morganwattiez/.config/broot/launcher/bash/br

View File

@ -45,8 +45,6 @@ autoload -U compinit && compinit
"$HOME/.scripts/install_weavescope.sh"
"$HOME/.scripts/install_bashtop.sh"
"$HOME/.scripts/install_awsls.sh"
"$HOME/.scripts/install_bach.sh" # Bash testing framework
"$HOME/.scripts/install_broot.sh"
"$HOME/.scripts/configure_git_hooks.sh"
"$HOME/.scripts/upgrade.sh"
"$HOME/.scripts/reload.sh"

View File

@ -6,5 +6,3 @@ go get -u -v github.com/juliensalinas/torrengo
go get -u -v github.com/asciimoo/wuzz # Interactive CLI tool for HTTP inspection
go get -u -v github.com/keilerkonzept/terraform-module-versions # detect new terraform modules versions
go get -u -v github.com/talos-systems/conform
go get -u -v github.com/ciehanski/libgen-cli
go get -u -v github.com/ajbosco/reads/cmd/reads

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
echo "Installing Bach (Bash Testing Framework)"
sudo curl -L https://raw.githubusercontent.com/bach-sh/bach/master/bach.sh -o /usr/local/bin/bach
chmod +x "$_"

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
echo "Installing Broot"
ln -snf "$HOME/Code/dotfiles/private_dot_config/broot/conf.toml" "$HOME/.config/broot/conf.toml"
broot --install

View File

@ -1,24 +0,0 @@
From: "#FROM_NAME" <#FROM_MAIL>
To: "#TO_NAME" <#TO_MAIL>
Subject: Convert
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="MULTIPART-MIXED-BOUNDARY"
--MULTIPART-MIXED-BOUNDARY
Content-Type: multipart/alternative; boundary="MULTIPART-ALTERNATE-BOUNDARY"
--MULTIPART-ALTERNATE-BOUNDARY
Content-Type: text/plain; charset="UTF-8"
Hello #TO_NAME
--MULTIPART-ALTERNATE-BOUNDARY
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hello #TO_NAME</div>
--MULTIPART-ALTERNATE-BOUNDARY--
--MULTIPART-MIXED-BOUNDARY
Content-Type: application/octet-stream; name="#ATTACHMENT_NAME"
Content-Disposition: attachment; filename="#ATTACHMENT_NAME"
Content-Transfer-Encoding: base64

View File

@ -8,8 +8,7 @@ sudo python3 get-pip.py
case "$(uname -s)" in
Darwin)
echo "(Mac OS X) Updating PATH for loading pip user installed packages"
ln -snf /usr/local/lib/python3.9/site-packages/pip /usr/local/bin/pip21
ln -snf /usr/local/lib/python3.9/site-packages/pip /usr/local/bin/pip3
ln -snf /usr/local/opt/python/bin//pip3.8 /usr/local/bin/pip3
export PATH="$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/:/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/opt/python/bin/"
;;
esac

View File

@ -3,9 +3,3 @@
echo "Installing Rust compiler and package manager"
rustup-init -y
rustup component add rustfmt
git clone git@github.com:njaremko/podcast.git "$HOME/Code/podcast"
cd "$HOME/Code/podcast" || exit
cargo install --path=.
mkdir "$ZSH_CUSTOM/plugins/podcast" && podcast completion zsh >"$ZSH_CUSTOM/plugins/podcast/_podcast"
cd "$HOME" || exit

View File

@ -1,33 +0,0 @@
#!/usr/bin/env bash
source "$HOME/.scripts/secrets.sh"
function file_to_mail() {
local source_file="$1"
local attachment_name=$(basename "$1")
local target_file="$source_file-encoded"
base64 "$source_file" >"$target_file"
local target_file_content
target_file_content=$(\cat "$target_file")
local mail_template="$HOME/Code/dotfiles/dot_scripts/mail.tpl"
local mail_from="$PRINCIPAL_ACCOUNT_EMAIL"
local mail_to=${2:-"$mail_from"}
local name_from="$PRINCIPAL_ACCOUNT_FULLNAME"
local name_to="$name_from"
\cat "$mail_template" |
sed "s/#FROM_NAME/$name_from/g" |
sed "s/#FROM_MAIL/$mail_from/g" |
sed "s/#TO_NAME/$name_to/g" |
sed "s/#TO_MAIL/$mail_to/g" |
sed "s/#ATTACHMENT_NAME/$attachment_name/g" >/tmp/mailwithattachement.txt
# sed "s/#ATTACHMENT_CONTENT/$target_file_content/g" >/tmp/mailwithattachement.txt
# sed "s/#ATTACHMENT_CONTENT/$target_file_content/g" >/tmp/mailwithattachement.txt
echo "\n$target_file_content\n" >>/tmp/mailwithattachement.txt
echo "\n--MULTIPART-MIXED-BOUNDARY--" >>/tmp/mailwithattachement.txt
curl -v --ssl-reqd --url 'smtps://smtp.gmail.com:465' --user "$GMAIL_APP_USER:$GMAIL_APP_PASSWORD" --mail-from "$mail_from" --mail-rcpt "$mail_to" --upload-file /tmp/mailwithattachement.txt
}

View File

@ -19,7 +19,7 @@ esac
bundle update --all
#gem update --system
#gem update asciidoctor-pdf t
zsh ~/.oh-my-zsh/tools/upgrade.sh || upgrade_oh_my_zsh
zsh ~/.oh-my-zsh/tools/upgrade.sh
sudo pip install --upgrade pip 2>/dev/null
sudo pip3 install --upgrade pip 2>/dev/null
pip list --outdated --format=freeze G -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U

View File

@ -113,19 +113,19 @@ let g:ale_completion_enabled = 1
let g:ale_open_list = 1
"\ 'yaml': ['prettier'],
"let g:ale_fixers = {
"\ '*': ['remove_trailing_lines', 'trim_whitespace'],
"\ 'python': ['black'],
"\ 'rust': ['rustfmt'],
"\ 'Jenkinsfile': ['checkci'],
"\ 'sh' : ['shfmt'],
"\ 'zsh' : ['shfmt'],
"\}
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'python': ['black'],
\ 'rust': ['rustfmt'],
\ 'Jenkinsfile': ['checkci'],
\ 'sh' : ['shfmt'],
\ 'zsh' : ['shfmt'],
\}
let g:ale_linters = {'zsh': ['shellcheck'], 'text': ['writegood', 'proselint', 'alex']}
" when running at every change you may want to disable quickfix
let g:prettier#quickfix_enabled = 0
let g:prettier#quickfix_enabled = 1
let g:prettier#quickfix_auto_focus = 1
let g:prettier#config#print_width = '30'
let g:prettier#exec_cmd_path = "/usr/local/bin/prettier"

View File

@ -43,9 +43,6 @@ function substring() {
function browse() {
open -na "$DEFAULT_BROWSER" --args "$1"
}
function incognito() {
open -na "$DEFAULT_BROWSER" --args --incognito "$1"
}
function google() {
browse "https://www.google.com/search?q=$*"
}
@ -142,7 +139,9 @@ function whichfunc() {
whence -v $1
type -a $1
}
source "$HOME/Code/dotfiles/dot_scripts/suggest_readable_parameters.sh"
source $HOME/Code/dotfiles/dot_scripts/suggest_readable_parameters.sh
# TODO : suggest spelling fixes
function suggest_code_refactoring() {
#inspired by : \grep 'awk '\''{$1=$1};1'\' $HOME/Code/dotfiles/dot_zsh*
@ -167,7 +166,7 @@ function suggest_aliases() {
local search_input_size=${1:-'50'}
header "alias recommendations"
while read -r line; do
local matching_aliases=$(ag --multiline "$line")
local matching_aliases=$(ag "$line")
if [ ! -z "$matching_aliases" ]; then
success "there is an alias for $line :"
while read -r alias_line; do
@ -180,52 +179,13 @@ function suggest_aliases() {
done < <(top_commands_full "" "$search_input_size" | awk '{ $1=""; $2=""; $3=""; print}' | awk 'NF' | awk '{$1=$1};1' | awk -v COUNT=1 'NF>COUNT' H "-$search_input_size")
}
# Download management
function file_to_kindle() {
local source_file="$1"
if [[ "$source_file" =~ .*.epub$ ]]; then
if epub2mobi "$source_file" 2>/dev/null; then
source_file=$(echo $source_file | sed 's/.epub$/.mobi/')
fi
fi
file_to_mail "$source_file" "$KINDLE_ACCOUNT_EMAIL"
}
function getabook() {
local searchterm="$1"
if searchbook "$searchterm"; then
echo "new downloaded file"
grepsearchterm=$(echo "$searchterm" | sed 's/ /.*/g')
if find ~/Downloads/Books -mmin -2 | grip "$grepsearchterm.*(epub|mobi|pdf)$"; then
local matching_file=$(find ~/Downloads/Books -mmin -2 | grip "$grepsearchterm.*(epub|mobi|pdf)$" | head -1)
local downloaded_file=$(basename "$matching_file")
cd "$HOME/Downloads/Books" &>/dev/null || exit
success "file downloaded in your Books folder : $downloaded_file"
if file_to_kindle "$downloaded_file" 2>/dev/null; then
success "file sent to your kindle, please review your emails to approve the transfer"
mailperso
else
error "could not send your file $downloaded_file to your email address, please check your folder"
open ~/Downloads/Books
fi
else
error "could not find a matching file in your download folder"
fi
else
error ":'( the automatic download failed for $1, does this book exists ? check yourself or retry"
browse "https://libgen.lc/search.php?req=$1"
fi
}
# Mail management
source $HOME/Code/dotfiles/dot_scripts/sendmail.sh
# Sound management
# Inspired by https://apple.stackexchange.com/a/213048/231885 for switching devices
# and https://coderwall.com/p/22p0ja/set-get-osx-volume-mute-from-the-command-line for volume management
function mute_device() {
local current_device=$(SwitchAudioSource -c)
local target_device="$1"
if SwitchAudioSource -a G "$target_device" 1>/dev/null; then
if SwitchAudioSource -a | grep "$target_device" 1>/dev/null; then
SwitchAudioSource -s "$1" 1>/dev/null
osascript -e 'set volume output muted true'
success "device $target_device muted"
@ -233,14 +193,14 @@ function mute_device() {
if [ "$current_device" != "$target_device" ]; then
arrow "switching back to $current_device"
fi
arrow "currently using $current_device"
arrow "currently using $target_device"
else
error "sound device not found : $target_device (maybe it's disconnected ?)"
fi
}
function switch_device() {
local target_device="$1"
if SwitchAudioSource -a G "$target_device" 1>/dev/null; then
if SwitchAudioSource -a | grep "$target_device" 1>/dev/null; then
if SwitchAudioSource -s "$1" 1>/dev/null; then
success "switched to $target_device"
unmute
@ -365,22 +325,12 @@ function checkenlist() {
}
function checkenremote() {
local target_url="$1"
if [[ ! "$target_url" =~ "githubusercontent.com" && ! "$target_url" =~ "README" && ! "$target_url" =~ "readme" ]]; then
arrow "no readme found"
local guess_readme_url=$(http "$target_url" | \grep -ioP 'href="\K.*REAdme.(md|rst)(?=")' | head -1)
arrow "does https://github.com${guess_readme_url} exist "
arrow "guess url : $guess_readme_url"
if http --check-status "https://github.com${guess_readme_url}" &>/dev/null; then
target_url="https://github.com${guess_readme_url}"
arrow "target url changed to ${target_url}"
else
arrow "https://github.com${guess_readme_url} do not exist"
fi
local target_url=$(echo "$1" | sed 's/github.com/raw.githubusercontent.com/g' | sed 's;blob/;;')
if [[ "$target_url" =~ "githubusercontent.com" && ! "$target_url" =~ "README" ]]; then
target_url=$(echo "$target_url/master/README.md")
fi
target_url=$(echo "$target_url" | sed 's/github.com/raw.githubusercontent.com/g' | sed 's;blob/;;')
arrow "checking $target_url"
curl --location --insecure --silent "$target_url" > /tmp/file && checkenlist /tmp/file #&& write-good --no-passive /tmp/file && proselint /tmp/file && \cat /tmp/file > alex -q --stdin
curl --location --insecure --silent "$target_url" > /tmp/file && checkenlist /tmp/file && write-good --no-passive /tmp/file && proselint /tmp/file && \cat /tmp/file > alex -q --stdin
}
# Time management
@ -621,8 +571,7 @@ function fork() {
else
gitperso
fi
checkreadme
# TODO : check all the codebase for spelling mistakes in info/debug/error messages etc.
checkenlist README*
}
function git-project() {
if [ -d "$REPO_PATH" ]; then
@ -761,13 +710,3 @@ function runiflucky() {
fi
fi
}
function aws-login() {
profile_list=$(aws-vault list --profiles | fzf --ansi)
login_url=$(export AWS_SESSION_TOKEN_TTL=3h && aws-vault login $profile_list -s)
echo "$login_url $1"
browse "$login_url $1" 1>/dev/null 2>&1 &
}
function aws-exec() {
profile_list=$(aws-vault list --profiles | fzf --ansi)
aws-vault exec $profile_list
}

View File

@ -16,7 +16,6 @@ fi
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
#
ZSH_THEME="powerlevel10k/powerlevel10k"
ZSH_COLORIZE_STYLE="monokai"
@ -97,7 +96,7 @@ POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND='clear'
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(reminder common-aliases extract git sdk zsh-syntax-highlighting zsh-autosuggestions ansible brew colorize docker pipenv pip python terraform aws helm kubectl fzf alias-finder)
plugins=(reminder common-aliases extract git sdk zsh-syntax-highlighting zsh-autosuggestions ansible brew colorize docker pipenv pip python terraform aws helm kubectl)
source $ZSH/oh-my-zsh.sh
# User configuration
@ -137,13 +136,6 @@ export GIT_PERSONAL_EMAIL=""
export GIT_PERSONAL_USER=""
export GIT_PRO_EMAIL=""
export GIT_PRO_USER=""
export GMAIL_APP_USER=""
export GMAIL_APP_PASSWORD=""
export KINDLE_ACCOUNT_EMAIL="" # e.g : john.doe@kindle.com
export PRINCIPAL_ACCOUNT_EMAIL="" # e.g : john.doe@gmail.com
export PRINCIPAL_ACCOUNT_FULLNAME="" # e.g : John Doe
export BB_TOKEN="" # Bitbucket server PAT (personal access token)
export GITHUB_TOKEN="" # GitHub PAT (personal access token)
source "$HOME/Code/dotfiles/dot_aliases/misc.sh"
@ -179,8 +171,7 @@ export SDKMAN_DIR="$HOME/.sdkman"
case "$(uname -s)" in
Darwin)
ln -snf /usr/local/lib/python3.9/site-packages/pip /usr/local/bin/pip21
ln -snf /usr/local/lib/python3.9/site-packages/pip /usr/local/bin/pip3
ln -snf /usr/local/opt/python/bin//pip3.8 /usr/local/bin/pip3
export PATH="$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/:/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/bin"
;;
esac
@ -192,5 +183,3 @@ export PATH="/usr/local/opt/grep/libexec/gnubin:$GOPATH/bin:$RUSTPATH:$PATH"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
source /Users/morganwattiez/.config/broot/launcher/bash/br

View File

@ -1,238 +0,0 @@
###############################################################
# This configuration file lets you
# - define new commands
# - change the shortcut or triggering keys of built-in verbs
# - change the colors
# - set default values for flags
# - set special behaviors on specific paths
#
# Configuration documentation is available at
# https://dystroy.org/broot
###############################################################
###############################################################
# Default flags
# You can set up flags you want broot to start with by
# default, for example `default_flags="ihp"` if you usually want
# to see hidden and gitignored files and the permissions (then
# if you don't want the hidden files you can launch `br -H`)
# A popular flag is the `g` one which displays git related info.
#
default_flags = ""
###############################################################
# Special paths
# If some paths must be handled specially, uncomment (and change
# this section as per the examples
#
# [special-paths]
# "/media/slow-backup-disk" = "no-enter"
# "/home/dys/useless" = "hide"
# "/home/dys/my-link-I-want-to-explore" = "enter"
###############################################################
# Date/Time format
# If you want to change the format for date/time, uncomment the
# following line and change it according to
# https://docs.rs/chrono/0.4.11/chrono/format/strftime/index.html
#
# date_time_format = "%Y/%m/%d %R"
###############################################################
# Column order
# cols_order, if specified, must be a permutation of "gbpdscn"
# where every char denotes a column:
# g : Git file info
# b : branch (shows the depth and parent in the tree)
# p : permissions (mode, user, group)
# d : last modification date
# s : size (with size bar when sorting)
# c : count, number of files in directories
# n : file name
#
# cols_order = "gbdscn"
###############################################################
# Verbs and shortcuts
# You can define your own commands which would be applied to
# the selection.
#
# Exemple 1: launching `tail -n` on the selected file (leaving broot)
# [[verbs]]
# name = "tail_lines"
# invocation = "tl {lines_count}"
# execution = "tail -f -n {lines_count} {file}"
#
# Exemple 2: creating a new file without leaving broot
# [[verbs]]
# name = "touch"
# invocation = "touch {new_file}"
# execution = "touch {directory}/{new_file}"
# leave_broot = false
# If $EDITOR isn't set on your computer, you should either set it using
# something similar to
# export EDITOR=/usr/bin/nvim
# or just replace it with your editor of choice in the 'execution'
# pattern.
# If your editor is able to open a file on a specific line, use {line}
# so that you may jump directly at the right line from a preview.
# Example:
# execution = "/usr/bin/nvim +{line} {file}"
[[verbs]]
invocation = "edit"
key = "F2"
shortcut = "e"
execution = "$EDITOR {file}"
leave_broot = false
[[verbs]]
invocation = "create {subpath}"
execution = "$EDITOR {directory}/{subpath}"
leave_broot = false
[[verbs]]
invocation = "git_diff"
shortcut = "gd"
leave_broot = false
execution = "git difftool -y {file}"
# If $PAGER isn't set on your computer, you should either set it
# or just replace it with your viewer of choice in the 'execution'
# pattern.
# Example:
# execution = "less {file}"
[[verbs]]
name = "view"
invocation = "view"
execution = "$PAGER {file}"
leave_broot = false
# A popular set of shorctuts for going up and down:
#
# [[verbs]]
# key = "ctrl-j"
# execution = ":line_down"
#
# [[verbs]]
# key = "ctrl-k"
# execution = ":line_up"
#
# [[verbs]]
# key = "ctrl-d"
# execution = ":page_down"
#
# [[verbs]]
# key = "ctrl-u"
# execution = ":page_up"
# [[verbs]]
# key = "home"
# execution = ":select_first"
# [[verbs]]
# key = "end"
# execution = ":select_last"
# If you develop using git, you might like to often switch
# to the "git status" filter:
# [[verbs]]
# key = "ctrl-g"
# execution = ":toggle_git_status"
# You can reproduce the bindings of Norton Commander
# on copying or moving to the other panel:
#
# [[verbs]]
# key = "F5"
# execution = ":copy_to_panel"
#
# [[verbs]]
# key = "F6"
# execution = ":move_to_panel"
###############################################################
# Skin
# If you want to change the colors of broot,
# uncomment the following bloc and start messing
# with the various values.
#
# [skin]
# default = "gray(23) none / gray(20) none"
# tree = "ansi(94) None / gray(3) None"
# file = "gray(20) None / gray(15) None"
# directory = "ansi(208) None Bold / ansi(172) None bold"
# exe = "Cyan None"
# link = "Magenta None"
# pruning = "gray(12) None Italic"
# perm__ = "gray(5) None"
# perm_r = "ansi(94) None"
# perm_w = "ansi(132) None"
# perm_x = "ansi(65) None"
# owner = "ansi(138) None"
# group = "ansi(131) None"
# count = "ansi(136) gray(3)"
# dates = "ansi(66) None"
# sparse = "ansi(214) None"
# content_extract = "ansi(29) None"
# content_match = "ansi(34) None"
# git_branch = "ansi(229) None"
# git_insertions = "ansi(28) None"
# git_deletions = "ansi(160) None"
# git_status_current = "gray(5) None"
# git_status_modified = "ansi(28) None"
# git_status_new = "ansi(94) None Bold"
# git_status_ignored = "gray(17) None"
# git_status_conflicted = "ansi(88) None"
# git_status_other = "ansi(88) None"
# selected_line = "None gray(5) / None gray(4)"
# char_match = "Yellow None"
# file_error = "Red None"
# flag_label = "gray(15) None"
# flag_value = "ansi(208) None Bold"
# input = "White None / gray(15) gray(2)"
# status_error = "gray(22) ansi(124)"
# status_job = "ansi(220) gray(5)"
# status_normal = "gray(20) gray(3) / gray(2) gray(2)"
# status_italic = "ansi(208) gray(3) / gray(2) gray(2)"
# status_bold = "ansi(208) gray(3) Bold / gray(2) gray(2)"
# status_code = "ansi(229) gray(3) / gray(2) gray(2)"
# status_ellipsis = "gray(19) gray(1) / gray(2) gray(2)"
# purpose_normal = "gray(20) gray(2)"
# purpose_italic = "ansi(178) gray(2)"
# purpose_bold = "ansi(178) gray(2) Bold"
# purpose_ellipsis = "gray(20) gray(2)"
# scrollbar_track = "gray(7) None / gray(4) None"
# scrollbar_thumb = "gray(22) None / gray(14) None"
# help_paragraph = "gray(20) None"
# help_bold = "ansi(208) None Bold"
# help_italic = "ansi(166) None"
# help_code = "gray(21) gray(3)"
# help_headers = "ansi(208) None"
# help_table_border = "ansi(239) None"
# preview = "gray(20) gray(1) / gray(18) gray(2)"
# preview_line_number = "gray(12) gray(3)"
# preview_match = "None ansi(29)"
# hex_null = "gray(11) None"
# hex_ascii_graphic = "gray(18) None"
# hex_ascii_whitespace = "ansi(143) None"
# hex_ascii_other = "ansi(215) None"
# hex_non_ascii = "ansi(167) None"
# You may find explanations and other skins on
# https://dystroy.org/broot/skins
# for example a skin suitable for white backgrounds
###############################################################
# File Extension Colors
#
# uncomment and modify the next section if you want to color
# file name depending on their extension
#
# [ext-colors]
# png = "rgb(255, 128, 75)"
# rs = "yellow"

View File

@ -19,6 +19,3 @@ https://github.com/MorganGeek.private.atom?token=AA4MQGFBMZSPMN5NQZZGYMN5EFTLU
https://buttondown.email/hillelwayne/rss
https://www.kill-the-newsletter.com/feeds/5guqrixbconkaq4dtfa0.xml
https://www.kill-the-newsletter.com/feeds/a64hwil6d0amjfsa3fo2.xml
https://www.kill-the-newsletter.com/feeds/eyobd9lr5rtaj1ga9kg0.xml
https://www.switchaboo.com/rss/
https://blog.eban.bzh/rss.xml

View File

@ -5,6 +5,3 @@ Host *
IdentityFile ~/.ssh/id_ed25519
IdentityFile ~/.ssh/id_rsa
ServerAliveInterval 3600
Match all
Include banyan.config

View File

@ -12,7 +12,7 @@ backcall==0.1.0
beautifulsoup4==4.9.1
beautysh==6.0.1
black==19.10b0
bleach==3.3.0
bleach==3.1.4
bs4==0.0.1
cachetools==3.1.1
castero==0.8.0
@ -57,7 +57,7 @@ jupyter-core==4.6.1
kitchen==1.2.6
kiwisolver==1.1.0
lazy-object-proxy==1.4.3
lxml==4.6.5
lxml==4.4.1
matplotlib==3.1.1
mccabe==0.6.1
mock==3.0.5
@ -106,7 +106,7 @@ python-jenkins==1.5.0
python-mpv==0.4.8
python-vlc==3.0.10114
pytz==2019.3
PyYAML==5.1.2
PyYAML==5.4
pyzmq==18.1.0
QScintilla==2.11.3
qtconsole==4.5.5
@ -151,119 +151,4 @@ webencodings==0.5.1
websocket-client==0.56.0
wrapt==1.11.2
yamllint==1.23.0
ansicolor==0.2.6
appdirs==1.4.3
appnope==0.1.0
argcomplete==1.10.0
arrow==0.15.5
asn1crypto==1.2.0
astroid==2.3.3
attrs==19.3.0
Automat==0.8.0
autopep8==1.4.4
backcall==0.1.0
beautifulsoup4==4.9.1
beautysh==6.0.1
black==19.10b0
bleach==3.3.0
bs4==0.0.1
cachetools==3.1.1
castero==0.8.0
certifi==2020.6.20
cffi==1.13.2
chardet==3.0.4
CJKwrap==2.2
click==7.1.2
colorama==0.4.1
colorzero==1.1
configobj==5.0.6
constantly==15.1.0
cryptography==2.8
cssselect==1.1.0
cycler==0.10.0
ddgr==1.6
decorator==4.4.1
docutils==0.15.2
entrypoints==0.3
flake8==3.7.9
future==0.18.2
gitlint==0.13.1
google-api-python-client==1.7.11
google-auth==1.7.0
google-auth-httplib2==0.0.3
gpg==1.13.1
gpiozero==1.5.1
guizero==1.1.0
haxor-news==0.4.3
httplib2==0.18.0
hyperlink==19.0.0
idna==2.10
incremental==17.5.0
ipykernel==5.1.3
ipython==7.9.0
ipython-genutils==0.2.0
isort==4.3.21
jedi==0.15.1
jmespath==0.9.4
jupyter-client==5.3.4
jupyter-core==4.6.1
kitchen==1.2.6
kiwisolver==1.1.0
lazy-object-proxy==1.4.3
lxml==4.6.5
matplotlib==3.1.1
mccabe==0.6.1
mock==3.0.5
multi-key-dict==2.0.3
nudatus==0.0.4
numpy==1.17.3
oauth2client==4.1.3
parsedatetime==2.4
parsel==1.5.2
parso==0.5.1
pathspec==0.6.0
pbr==5.4.3
pexpect==4.7.0
pickleshare==0.7.5
pigpio==1.44
Pillow==6.2.1
pipenv==2018.11.26
pkginfo==1.5.0.1
pocket==0.3.6
prompt-toolkit==2.0.10
proselint==0.10.2
Protego==0.1.15
psutil==5.7.0
ptyprocess==0.6.0
pyasn1==0.4.7
pyasn1-modules==0.2.7
pycodestyle==2.5.0
pycparser==2.19
PyDispatcher==2.0.5
pyfiglet==0.8.post1
pyflakes==2.1.1
Pygments==2.4.2
pyparsing==2.4.4
PySDL2==0.9.7
python-dateutil==2.8.0
python-mpv==0.4.8
python-vlc==3.0.10114
pyzmq==18.1.0
regex==2019.11.1
requests==2.24.0
rsa==3.4.2
sh==1.12.14
six==1.15.0
soupsieve==2.0.1
toml==0.10.0
tornado==6.0.3
traitlets==4.3.3
typed-ast==1.4.0
uritemplate==3.0.0
urllib3==1.25.9
virtualenv==16.7.7
virtualenv-clone==0.5.3
w3lib==1.21.0
wcwidth==0.1.7
webencodings==0.5.1
wrapt==1.11.2
zope.interface==4.6.0