Pull update on master branch
git checkout master
git pull
Change back to feature_branch, pull and then rebase based on master branch, and resolve conflict (if any)
git checkout feature_branch
| --- | |
| - name: Add Jenkins apt key | |
| apt_key: url=http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key state=present | |
| - name: Add Java repository to sources | |
| apt_repository: repo="deb http://pkg.jenkins-ci.org/debian-stable binary/" state=present | |
| - name: Update APT package cache | |
| apt: update_cache=yes |
| #!/usr/bin/env python | |
| import click | |
| import sys | |
| from datetime import datetime, timedelta | |
| from otpauth import OtpAuth | |
| SECRET = "youHoyahc4Xee7geo6oo" | |
| @click.command() |
Get this app up and running on a Vagrant VM using your known production best practices as well as the instructions in the guidelines below.
You should use provisioner to install and configure everything. Ansible is preffered. But you can use chef or puppet if you more familiar with those tools. (please don't use shell provisioner).
| mkdir -p ~/.fonts | |
| curl -L https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf --output ~/.fonts/'MesloLGS NF Regular.ttf' | |
| curl -L https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf --output ~/.fonts/'MesloLGS NF Bold.ttf' | |
| curl -L https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf --output ~/.fonts/'MesloLGS NF Italic.ttf' | |
| curl -L https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf --output ~/.fonts/'MesloLGS NF Bold Italic.ttf' |
| --- terminator.py.orig 2021-05-10 19:34:31.294488162 +0700 | |
| +++ terminator.py 2021-05-10 19:37:34.914358012 +0700 | |
| @@ -454,6 +454,9 @@ | |
| .terminator-terminal-window .pane-separator { | |
| background-color: @theme_bg_color; } | |
| + .terminator-terminal-window paned separator { | |
| + background-color: @theme_bg_color; } | |
| + | |
| .terminator-terminal-window .terminator-terminal-searchbar { |
| [global_config] | |
| focus = system | |
| handle_size = 8 | |
| title_transmit_bg_color = "#d30102" | |
| [keybindings] | |
| [profiles] | |
| [[default]] | |
| background_color = "#1e1e1e" | |
| cursor_color = "#bbbbbb" | |
| font = JetBrains Mono NL Medium 13 |
Install Terminator
sudo apt install terminator
Download terminator config
mkdir -p ~/.config/terminator
curl -sL https://github.com/cheat/cheat/releases/download/4.2.2/cheat-linux-amd64.gz -o ~/cheat-linux-amd64.gz
gzip -d ~/cheat-linux-amd64.gz
cheat binary to /usr/local/bin