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
| #!/usr/bin/env /usr/bin/python3 | |
| # Store this file at $HOME/.config/kustomize/plugins/tidunguyen/v1/bitwarden/BitWarden | |
| import sys | |
| import yaml | |
| import subprocess | |
| import re | |
| import subprocess | |
| from base64 import b64decode, b64encode |
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
| #!/usr/bin/env bash | |
| pod_created=false | |
| trap del-pod EXIT | |
| help() | |
| { | |
| echo "Build image using kaniko and output a tarball representing the built image. | |
| Tarball of built image can then be managed (show digest, push, etc.) using crane/gcrane. |
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
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "final_space": false, | |
| "osc99": true, | |
| "console_title": true, | |
| "console_title_style": "template", | |
| "console_title_template": "{{if .Root}} ⚡ {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.Host}}", | |
| "blocks": [ | |
| { | |
| "type": "prompt", |
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
| #!/usr/bin/env bash | |
| # get all pipenv environments | |
| allPipenvEnv=$(find ~/.local/share/virtualenvs/*/.project -type f) | |
| # find abandoned environments | |
| abandonedEnv=() | |
| for f in $allPipenvEnv; do | |
| proj_path="$(cat $f)" && [ ! -d $proj_path ] && abandonedEnv+=($proj_path) | |
| done |
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
| #pragma GCC optimize("Ofast") | |
| #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx") | |
| #include <bits/stdc++.h> | |
| using namespace std; | |
| // using std::cout | |
| // namespace chrono = std::chrono; | |
| /******* All Required define Pre-Processors and typedef Constants *******/ | |
| #define watch(x) cout << (#x) << " is " << (x) << endl |
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
| # db binary | |
| **/*.db | |
| # archives | |
| **/*.tar.gz | |
| # long csv files | |
| **/*.csv | |
| # dump files |
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
| # ignore binary database files | |
| *.db |