- color scheme
- dracula - https://draculatheme.com/
- tmux
- terminal
- vim
- using plug (vim), tpm (tmux), and a json file for windows terminal
- dracula - https://draculatheme.com/
- terminal
- i use bash, you can use zsh, its all mostly applicable
- fuzzy learning cd: https://github.com/rupa/z
- z proj, takes you to /some/deep/directory/project
This file contains 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
#============================================================================= | |
# dark_powered.toml --- dark powered configuration example for SpaceVim | |
# Copyright (c) 2016-2017 Wang Shidong & Contributors | |
# Author: Wang Shidong < wsdjeg at 163.com > | |
# URL: https://spacevim.org | |
# License: GPLv3 | |
#============================================================================= | |
[options] | |
lint_on_the_fly = true |
This file contains 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
# $language = "python" | |
# $interface = "1.0" | |
import base64 | |
import hmac | |
import struct | |
import sys | |
import time | |
TOTP_KEY = 'YOUR_GOOGLE_AUTH_KEY' |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
This file contains 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
node { | |
timeout(time: 5, unit: "MINUTES") { | |
INPUT_PARAMS = input( | |
message: 'Please provide the parameter input:', | |
ok: 'Next', | |
parameters: [ | |
booleanParam(defaultValue: true, name: 'Create Jira Tickets?', description: ''), | |
booleanParam(defaultValue: true, name: 'Encrypted?', description: 'Use for secrets/passwords/certificates/etc'), | |
multipleChoice(name: 'Environments', choices: ["prod", "eu", "test", "mgmt"], description: 'Environments to create parameter in'), | |
string(name: 'Path', description: 'SSM Parameter Path'), |
The view ClusterRole doesn’t actually have permissions for the Cluster level objects like Nodes and Persistent Volume Claims. So we’ll have to create a new RBAC config.
First, we’ll create a new dashboard-viewonly ClusterRole:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: dashboard-viewonly
For example your latest image with semantic versioning looks like this:
${DOCKER_HUB_ORG}/${DOCKER_HUB_REPO}:v1.20.0
Example provided above will do the folowing:
- Generate token using your github username and password.
- Get list of all tags from repository.
Thanks a lot to mredbishop and others for their insturctions posted here. This is just a recap of what they figured out.
This process was tested on WSL Ubuntu 18.04.
- Dowload the VcXsrv installer from https://sourceforge.net/projects/vcxsrv/
- Install the software on Windows
NewerOlder