*Arcs
1 3 2
1 2 1
2 1 1
2 4 2
3 9 1
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
<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 |
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
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; |
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
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): |
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
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.") |
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
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)) |
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
sudo apt-get install postgresql-9.6 postgresql-server-dev-9.6 postgresql-contrib-9.6 -y | |
sudo su - postgres -c "psql template1 -p 5433 -c 'CREATE EXTENSION IF NOT EXISTS hstore;'" | |
sudo su - postgres -c "psql template1 -p 5433 -c 'CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";'" | |
sudo systemctl stop postgresql | |
sudo su - postgres -c '/usr/lib/postgresql/9.6/bin/pg_upgrade -b /usr/lib/postgresql/9.3/bin -B /usr/lib/postgresql/9.6/bin \ | |
-d /var/lib/postgresql/9.3/main/ -D /var/lib/postgresql/9.6/main/ \ | |
-O "-c config_file=/etc/postgresql/9.6/main/postgresql.conf" -o "-c config_file=/etc/postgresql/9.3/main/postgresql.conf" --link' | |
sudo apt-get remove postgresql-9.3 -y |
╰─🐧 $ 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
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
Sololearn : | |
https://lnkd.in/ev5ehuqt | |
W3Schools.com : | |
http://www.w3schools.com | |
GeeksforGeeks : | |
https://lnkd.in/euG9C9hZ | |
Programiz : |