Cleanup and some stuff

This commit is contained in:
John Doty 2022-10-26 07:01:42 -07:00
parent 69eca1f684
commit 87d0b3db57
7 changed files with 5768 additions and 23 deletions

11
.config/argocd/config Normal file
View file

@ -0,0 +1,11 @@
contexts:
- name: argo.ops.lacework.engineering
server: argo.ops.lacework.engineering
user: argo.ops.lacework.engineering
current-context: argo.ops.lacework.engineering
servers:
- grpc-web-root-path: ""
server: argo.ops.lacework.engineering
users:
- auth-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhcmdvY2QiLCJzdWIiOiJhZG1pbjpsb2dpbiIsImV4cCI6MTY2MDc5NzA1MSwibmJmIjoxNjYwNzEwNjUxLCJpYXQiOjE2NjA3MTA2NTEsImp0aSI6ImU2MzEzMzA4LTM5ZDEtNGQ3Yy04NTA2LTM3MzFlOTIxYWU1ZSJ9.q_PCCcsUQrZJ3-fV9_I8oEqDX4y1n5tRMwXy1D_L8dw
name: argo.ops.lacework.engineering

4
.config/gh/hosts.yml Normal file
View file

@ -0,0 +1,4 @@
github.com:
user: DeCarabas
oauth_token: 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
git_protocol: https

View file

@ -0,0 +1,5 @@
# "Decode As" entries file for Wireshark 3.6.7.
#
# This file is regenerated each time "Decode As" preferences
# are saved within Wireshark. Making manual changes should be safe,
# however.

View file

@ -0,0 +1,6 @@
# Language settings file for Wireshark 3.6.7.
#
# This file is regenerated each time Wireshark is quit.
# So be careful, if you want to make manual changes here.
language: system

File diff suppressed because it is too large Load diff

53
.gitignore vendored
View file

@ -1,34 +1,41 @@
*.elc *.elc
.DS_Store
.config/.isolated-storage .config/.isolated-storage
.config/.mono .config/.mono
.config/AWSVPNClient
.config/Code
.config/NuGet/nugetorgadd.trk .config/NuGet/nugetorgadd.trk
.config/StardewValley/Saves .config/StardewValley/Saves
.config/beets/state.pickle
.config/fish/fish_history
.config/fish/fishd*
.config/fish/generated_completions
.config/stetic
.config/xbuild/pkgconfig-cache-2.xml
.emacs.d/.cache
.emacs.d/.python-environments/
.emacs.d/ido.last
.emacs.d/server
.emacs.d/url/cookies
.config/buck/
.config/deluge/state/
.config/deluge/ssl/
.config/deluge/deluged.log
.config/deluge/deluged.pid
.DS_Store
.ipython/profile_default/history.sqlite
_viminfo
vscode/workspaceStorage
vscode/globalStorage
.config/Code
.config/VS Code @ FB .config/VS Code @ FB
.config/beets/state.pickle
.config/buck/
.config/configstore/nodemon.json .config/configstore/nodemon.json
.config/configstore/update-notifier-npm.json .config/configstore/update-notifier-npm.json
.config/configstore/update-notifier-yo.json .config/configstore/update-notifier-yo.json
.config/deluge/deluged.log
.config/deluge/deluged.pid
.config/deluge/ssl/
.config/deluge/state/
.config/fish/completions
.config/fish/conf.d
.config/fish/fish_history
.config/fish/fish_variables
.config/fish/fishd*
.config/fish/functions
.config/fish/generated_completions
.config/htop/htoprc
.config/stetic
.config/wireshark/recent .config/wireshark/recent
.config/wireshark/recent_common .config/wireshark/recent_common
.config/htop/htoprc .config/xbuild/pkgconfig-cache-2.xml
.emacs.d/.cache
.emacs.d/.python-environments/
.emacs.d/eln-cache
.emacs.d/ido.last
.emacs.d/server
.emacs.d/url/cookies
.ipython/profile_default/history.sqlite
_viminfo
vscode/History
vscode/globalStorage
vscode/workspaceStorage

13
bin/quickcreds.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
set -eou pipefail
host=$1; shift
contents=$(printf "\n[default]\naws_access_key_id = %s\naws_secret_access_key = %s\naws_session_token = %s\n" \
$(aws-vault exec $AWS_PROFILE -j | jq -r .AccessKeyId,.SecretAccessKey,.SessionToken))
aws-vault exec $AWS_PROFILE -- ssh -T $host <<EOF
mkdir -p ~/.aws
chmod 0700 ~/.aws
echo "$contents" > ~/.aws/credentials
EOF