Skip to content

Instantly share code, notes, and snippets.

@fauzan-n
fauzan-n / iTerm2 Shortcut
Created May 9, 2020 15:49
After I cannot find article of Iterm2 complete shortcut, I tried all of the sortcut my self and write here. (Iterm2 Build 3.3.9 )
[DEFAULT]
CTRL + Q = delete whole line
CTRL + W = delete previous word
CTRL + E = go to end of line
CTRL + R = back search
CTRL + T = swap last characted (fix typo)
CTRL + Y = paste something
CTRL + U = delete whole line
CTRL + I = suggestion (same as tab)
@fauzan-n
fauzan-n / iTerm2 Shortcut
Created May 9, 2020 15:48
After I cannot find article of Iterm2 complete shortcut, I tried all of the sortcut my self and write here
[DEFAULT]
CTRL + Q = delete whole line
CTRL + W = delete previous word
CTRL + E = go to end of line
CTRL + R = back search
CTRL + T = swap last characted (fix typo)
CTRL + Y = paste something
CTRL + U = delete whole line
CTRL + I = suggestion (same as tab)
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: app-name-example
namespace: default
spec:
replicas: 2
selector:
matchLabels:
app: app-name-example
apiVersion: v1
data:
DB_PASSWD: ZGV2ZGJwYXNzd2Q=
kind: Secret
metadata:
name: globalsec
namespace: default
apiVersion: v1
data:
environment: develop
db_host: "develop-mysql.default.svc.cluster.local:3306"
db_user: devdbuser
kind: ConfigMap
metadata:
name: globalenv
namespace: default
apiVersion: v1
kind: ConfigMap
metadata:
name: app-name-example
namespace: default
data:
application.yml: |-
app:
name: app-name-example
spring:
apiVersion: v1
kind: ConfigMap
metadata:
name: app-name-example
namespace: default
data:
application.yml: |-
app:
name: app-name-example
spring:
apiVersion: v1
kind: ConfigMap
metadata:
name: app-name-example
namespace: default
data:
application.yml: |-
app:
name: app-name-example
spring:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: rbac-default-namespace
subjects:
- kind: ServiceAccount
name: default
namespace: default
roleRef:
kind: ClusterRole