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
| brew install sqlite pcre | |
| git clone https://github.com/ralight/sqlite3-pcre.git | |
| cd sqlite3-pcre | |
| cc -shared -o pcre.so -I/usr/local/opt/pcre/include -fPIC -W -Werror pcre.c -L/usr/local/opt/pcre/lib -lpcre | |
| echo ".load '`pwd`/pcre.so'" >> ~/.sqliterc |
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
| # If you want to stop your system from automatically switching audio devices, | |
| # there is a simple edit to your PulseAudio config to disable that feature. | |
| # Open PulseAudio config | |
| sudo vim /etc/pulse/default.pa | |
| # Comment out the line with "load-module module-switch-on-connect" | |
| # Restart PulseAudio | |
| pulseaudio -k |
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
| source <(kubectl completion bash) | |
| __start_kubectl_cust() | |
| { | |
| local cur prev words cword | |
| declare -A flaghash 2>/dev/null || : | |
| if declare -F _init_completion >/dev/null 2>&1; then | |
| _init_completion -s || return | |
| else | |
| __kubectl_init_completion -n "=" || return | |
| fi |
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
| #!/bin/env python3 | |
| # | |
| # TERRADIFF | |
| # | |
| # Small script to convert EOT diffs into single line diffs to make them easier to read | |
| # | |
| # How to use | |
| # terraform plan | terradiff | |
| # |
OlderNewer