Skip to content

Instantly share code, notes, and snippets.

View edib's full-sized avatar

ibrahim edib kokdemir edib

View GitHub Profile
@edib
edib / nginx.conf
Last active December 30, 2022 12:04 — forked from joshcummingsdesign/conf
NGINX config for a Jekyll site using SSL
server {
listen 80;
server_name example.com www.example.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name example.com www.example.com;

pajek

yönlü bağlantılar

*Arcs
      1      3       2
      1      2       1
      2      1       1
      2      4       2
 3 9 1
@edib
edib / koordinat.py
Last active December 16, 2022 16:42
x, y = input("x ve y sayılarını girin: ").split()
x = int(x)
y = int(y)
if (x > 0 and y >0 ):
print("{} ve {} sayıları I. alandadır.".format(x,y))
elif (x < 0 and y > 0):
print("{} ve {} sayıları II. alandadır.".format(x,y))
elif (x < 0 and y < 0):
sayi = int(input("bir sayı girin!\n"))
if (sayi > 0):
print("{} sayısı sıfırdan büyüktür.".format(sayi))
elif (sayi < 0):
print("{} sayısı sıfırdan küçüktür.".format(sayi))
else:
print("sayı sıfırdır.")
midterm = int(input("midterm sınavınızı girin\n"))
final = int(input("final sınavınızı girin\n"))
sonuc = midterm*0.4+final*0.6
if (sonuc >= 60):
print("{} ortalama ile geçtiniz".format(sonuc))
else:
print("{} ortalama ile kaldınız".format(sonuc))
@edib
edib / react-native-make-apk.md
Created September 18, 2022 18:43
from react native to apk by expo and build-tool
╰─🐧 $ 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 August 10, 2022 06:53
Fullstack Developer Road Map
@edib
edib / fibeat.deployment.yaml
Created August 1, 2022 13:04
fibeat deployment
---
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 August 29, 2022 12:08
free learning sites
Sololearn :
https://lnkd.in/ev5ehuqt
W3Schools.com :
http://www.w3schools.com
GeeksforGeeks :
https://lnkd.in/euG9C9hZ
Programiz :
<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