sudo apt install --yes xinit xterm x11-xserver-utils i3 xss-lock xdg-utilsfoo@bar:~$ docker run \
--detach \
--name sentry-redis \
redis:alpine
foo@bar:~$ docker run \
--detach \
--name sentry-postgres \
--env POSTGRES_PASSWORD=<password> \
--env POSTGRES_USER=<username> \
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
| " =========================================================================== " | |
| " Github URL | |
| " https://gist.githubusercontent.com/grammy-jiang/162f271c59a97a424d228f0de10d05e9/raw | |
| " Shorten URL | |
| " https://git.io/JvpSM | |
| " =========================================================================== " | |
| set encoding=utf-8 | |
| if empty(glob('~/.vim/autoload/plug.vim')) |
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 | |
| echo "Install dependencies now..." | |
| sudo -- sh -c "apt update && apt install -y curl fzf gawk git python3-pygments sqlite3 ssh-askpass wget zsh" | |
| if [ -f ~/.zshrc ]; then | |
| mv ~/.zshrc ~/.zshrc.`date +%s`.bak | |
| fi | |
| if [ -d ~/.oh-my-zsh ]; then | |
| echo "Oh My ZSH exists, update it now..." | |
| git -C ~/.oh-my-zsh pull |
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
| # Generated by Powerlevel10k configuration wizard on 2020-04-10 at 00:13 AEST. | |
| # Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 08386. | |
| # Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode, | |
| # vertical separators, blurred heads, flat tails, 2 lines, disconnected, no frame, | |
| # compact, many icons, concise, transient_prompt, instant_prompt=verbose. | |
| # Type `p10k configure` to generate another config. | |
| # | |
| # Config for Powerlevel10k with powerline prompt style with colorful background. | |
| # Type `p10k configure` to generate your own config based on it. | |
| # |
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
| ssh-rsa AAAAB3NzaC1yc2EAAAABIwAABAEAu8cFTKj4rAe00WX7dIMeP2F8MywdgJMhaGuH/E3CbCyKAgmd9NQ/v8gjh+bangiY8Z6XhyoxDr2gvcUhIJGKXgU5xobrjbSeLhURLX+dctH//1ZyjrwWKaBuD81P0byPIM3TU9r7FoAqinTFDtECOU8ou9y9VQEilJDomrElBbjar50Nab+vNvT1mv8Kx202/nj56I7nZ+h7iPbxZ9N0LeZTidG/pWxgv8E3AvExORWcRwqbbxB2N7QNGTvF34ygrMI0yI6HcrdOHMuyW8POC5E/dXfrr5JYjhMqzxGb0GhPzLorwmUQjvhkEFDsSOEczu6W7TnSYD7ssNuwU3E+xw8PikbhRSLglkxVUNyI4zYXjFZV4xQV8UdzChjGxgTKG51oLKwBIUImBmoeeNenw1tGRcp3eINTAglAcIEJVzjoyYWWNbpjjI8CrWL3mFd4kukoClNf1XysRYxzy0hUk12TKXgD8hBA9/GQmBtA6eby51MjVAot6zeKX66tCsYNDRt9QoUHjNmfqfshGbNOAhBXQ50QYM5QJBxZicqJVVTtkvhc4fwD9UjYz+qIL5ftorPOCzIAqL9gQhjX4xqH6NiBqDMYOVnSQLxgZj7ARGsQCyl6U6nLKkfcywK5fGPkqLJkAPPBF+KwFP0ggsOxhWlrpqw71L6KvTRERDIyktrlq+6QtlFmO28V340PXy4Xlb8jultCfJ/kqojt8bVNgbxJB2eAQIIZD5/6qoipcVvCcLchFuVeYYF6YH2z61OaX0SggDb23CzoaAKURmFv4eFzZSRr/9St30772r/vbdDQEX7cwdFocCVGwuCLovmWE+QTQ7ixF3Dof/Gslx37rs4BrntEaADT3IQEkXV06NTjMU3C6OVjUhGqqH8d6j/G+DxPjVCFTB7ouhyTMQBfyDgQSl4H3KFpxlxOTILOa8pQenzoBitGSwFYsCDXIIBVxe+S90b4MTdH98PQwDywlA+t7xyO |
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
| # Origianl url: | |
| # https://gist.githubusercontent.com/grammy-jiang/bd07d16412b0f250063b703cf988190b/raw | |
| # Shorten url: | |
| # https://git.io/JfLCd | |
| # install pyenv and python 3.9.6 | |
| # Usage: | |
| # foo@bar:~$ curl --location --show-error --silent https://git.io/JfLCd | bash -s - 3.9.6 | |
| set -x |
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
| " ============================================================================ " | |
| " URL Original: https://gist.github.com/grammy-jiang/3d4f9bab3bc2a94dc676f69310ff56ea/raw | |
| " URL Shorten: https://git.io/JcVKE | |
| " | |
| " Usage: | |
| " wget --output-document=$HOME/.ideavimrc https://git.io/JcVKE | |
| " ============================================================================ " | |
| set showcmd " show (partial) command in the status bar |
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 | |
| BITS=$(getconf LONG_BIT) | |
| OS=$(lsb_release -si) | |
| function add_repo() { | |
| echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Raspbian_10/ /' | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list | |
| curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Raspbian_10/Release.key | sudo apt-key add - | |
| sudo apt-get update | |
| } |