Command | Actions |
---|---|
tmux new -s name | yeni bir session oluşturur. |
ctrl+b d | essiondan çıkmanızı saglar ama kapatmaz. |
tmux a | session içine geri dönmenizi saglar |
tmux a -t test2 | isimi verison sessiona geri döner |
tmux kill-session -t test | isimi verilen sessionu siler |
ctrl+b ? | kullanılabilir kısayolları gösterir. |
ctrl+b s | sessionları listeler |
ctrl+b $ | session ismini degiştirmenizi saglar |
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
████████████████████████████████████████████ ❍.๋࣭ ⭑⚝. ݁ ˖࣪ ִֶָ❍.๋࣭ ⭑⚝. ݁ ˖ .˚ . ݁ .࣪ ִֶָ❍.๋࣭ ⭑⚝. ݁ ˖.˚ . ݁˚ . ݁ | |
██████████████████████████. · · ⋆ ˚ ✫ · ⋆ * • ○ ° ★ | |
███████████████████████████████████████ . * ˚ · . ✷ ● ¸ . ★ ° :●. | |
█████████████████████████████ ⋆。゚☁︎。⋆。 ゚☾ ゚。⋆ .𖥔 ݁ ˖ ‧₊˚ ⋅ જ⁀➴๋࣭ ⭑๋࣭ ⭑ .𖥔 ݁ ˖˚☽˚。⋆ | |
██████████████████████████████████⋆˙˳𓂃𓂃𓂃𓂃𓊝𓂃𓂃𓂃𓂃𓂃˙˳⋆ |
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
₊ ・ ₊ ࣪ ִֶָ❍.๋࣭ ⭑ ⚝. ݁ ˖.˚ . ݁ ° ☆ █████████████████████████████████████████████████████ | |
☆ ₊ ⋆. ⭐︎ . * ★ █████████████████████████████████████████████████████ | |
⟡ ⊹ 。゚ ☁︎ 。 ☾ █████████████████████████████████████████████████████ | |
⋆ . .𖥔 ݁ ˖˚☽˚。⋆ ⟡ . ₊ █████████████████████████████████████████████████████ | |
☁︎。⋆。 ゚☾ . • . * █████████████████████████████████████████████████████████████████████████████ | |
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████ | |
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ | |
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ |
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
additionalScrapeConfigs: | |
- job_name: 'node-exporter' | |
kubernetes_sd_configs: | |
- role: endpoints | |
relabel_configs: | |
- source_labels: [__meta_kubernetes_endpoints_name] | |
regex: 'node-exporter' | |
action: keep | |
- job_name: 'kubernetes-apiservers' |
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
for i in $(aws ec2 describe-instances --query "Reservations[*].Instances[*].[InstanceId]" --output text | tr '\t' '\n'); do aws ec2 modify-instance-attribute --instance-id $i --groups $(aws ec2 describe-security-groups --group-ids $(aws ec2 describe-instances --instance-id $i --query "Reservations[].Instances[].SecurityGroups[].GroupId[]" --output text) --query "SecurityGroups[*].[GroupId]" --output text) sg-064d8aab61916edde && echo $i sg guncellendi; done |
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
private static void Main(string[] args) | |
{ | |
var k8SClientConfig = new KubernetesClientConfiguration { Host = "http://127.0.0.1:8080" }; | |
IKubernetes client = new Kubernetes(k8SClientConfig); | |
ListDeployments(client); | |
V1Deployment deployment = new V1Deployment() | |
{ | |
ApiVersion = "apps/v1", |
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
import base64 | |
import json | |
from kubernetes import client, config | |
config.load_kube_config() | |
v1 = client.CoreV1Api() | |
cred_payload = { | |
"auths": { | |
"DOCKER-SERVER": { |
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
# -- general ------------------------------------------------------------------- | |
set -g default-terminal "screen-256color" # colors! | |
setw -g xterm-keys on | |
set -s escape-time 10 # faster command sequences | |
set -sg repeat-time 600 # increase repeat timeout | |
set -s focus-events on | |
set -g prefix2 C-a # GNU-Screen compatible prefix | |
bind C-a send-prefix -2 |
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
[status] | |
style = "red bold" | |
symbol = "💥 " | |
format = '[\[$symbol$status\]]($style) ' | |
disabled = false | |
[helm] | |
format = 'via [$symbol($version )]($style)' | |
symbol = '⎈ ' | |
style = 'bold white' |