- Simülasyon yapmak herkes için çok kolay
- Daha az kod bilgisi
- lua çok basit bir dil
- görsellikle kod öğrenmek çok daha kolay: temel programlama da burada öğrenilebilir.
- öğren/oluştur, oyna
- Bir çok eklentisi var. Işleri kolaylaştırıyor
- ortak oluşturma, ortak oynama hemen
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
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: a-deployment-1 | |
| labels: | |
| name: my-deployment | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: |
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
| # tüm controller nodlarda yapılacak | |
| # sürüme uygun kubeadm indir. | |
| # hangi sertifikalar bitmiş diye kontrol et | |
| kubeadm alpha certs check-expiration | |
| varolan confige göre isimlendirmeleri kullanarak sertifikaları yeniler | |
| kubeadm alpha certs renew all --config=/etc/kubernetes/kubeadm-config.yaml | |
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
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: example | |
| spec: | |
| containers: | |
| - image: busybox | |
| command: [ "sh", "-c", "sleep 84000s" ] | |
| name: examplepod | |
| env: |
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
| #!/bin/sh | |
| set -x | |
| FILES=`git diff --name-only --cached` | |
| for file in $FILES | |
| do | |
| sed -i -r 's/REVISION: (.*)/REVISION: '"$(date +'%F %T %Z')"'/' $file | |
| done |
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
| for i in `ls *.JPG`; do convert $i -resize %50 new/$i ; done |
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
| /etc/apache2/conf-enabled/localized-error-pages.conf | |
| ErrorDocument 403 " " | |
| /etc/apache2/conf-enabled/security.conf | |
| ServerTokens Prod | |
| ServerSignature Off |
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
| # mysql reset root password | |
| # run mysql in safe mode | |
| sudo mysqld_safe --skip-grant-tables & | |
| # unless if starts with following | |
| #mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists | |
| mkdir -p /var/run/mysqld |
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
| # kablotv mac address engelleme | |
| # notlar | |
| # önceden kayıtlı tek mac adresi için kullanılmıştır. | |
| # kullanımı | |
| # python3 macKontrol.py [0|2] | |
| from selenium import webdriver | |
| import sys |