Skip to content

Instantly share code, notes, and snippets.

Avatar

ibrahim edib kokdemir edib

View GitHub Profile
@edib
edib / react-native-make-apk.md
Created Sep 18, 2022
from react native to apk by expo and build-tool
View react-native-make-apk.md
╰─🐧 $ eas build --platform android                                                                                                                                                                      

## download aab file from expo account 

# download bundle tool (ask for the latest release)
╰─🐧 $ wget https://github.com/google/bundletool/releases/download/1.11.2/bundletool-all-1.11.2.jar

# create universal mode apks from bundle
@edib
edib / Fullstack Developer Road Map.md
Created Aug 10, 2022
Fullstack Developer Road Map
View Fullstack Developer Road Map.md
View fibeat.deployment.yaml
---
apiVersion: v1
kind: ConfigMap
metadata:
name: filebeat-config
namespace: kube-system
labels:
k8s-app: filebeat
data:
filebeat.yml: |-
@edib
edib / learning-sites.txt
Last active Aug 29, 2022
free learning sites
View learning-sites.txt
Sololearn :
https://lnkd.in/ev5ehuqt
W3Schools.com :
http://www.w3schools.com
GeeksforGeeks :
https://lnkd.in/euG9C9hZ
Programiz :
View jquery-dynamic-text.html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
$(function() {
$('#appear_text').hide();
// bind change event to select
$('#dynamic_select').on('change', function() {
var url = $(this).val(); // get selected value
var text = $( "#dynamic_select option:selected" ).text();
if (url) { // require a URL
// window.location = url; // redirect
View Roblox Experience.md

Roblox

  • 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
View security-context.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: a-deployment-1
labels:
name: my-deployment
spec:
replicas: 1
selector:
matchLabels:
View sertifika-upgrade.sh
# 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
View non-working-hostpath-chown-pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: example
spec:
containers:
- image: busybox
command: [ "sh", "-c", "sleep 84000s" ]
name: examplepod
env:
@edib
edib / pre-commit-hook-sample.sh
Created Dec 12, 2021
it is used in .git/hooks/pre-commit to manipulate commit.
View pre-commit-hook-sample.sh
#!/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