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
const useStyles = makeStyles({ | |
correctSlidersWrapper: { | |
display: 'flex', | |
alignItems: 'center', | |
position: 'relative', | |
'&__rightButton': { | |
position: 'absolute', | |
right: '0', | |
}, | |
'&__leftButton': { |
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
const useStyles = makeStyles({ | |
absPosedWrapper: { | |
position: 'relative', | |
'&__rightButton': { | |
position: 'absolute', | |
right: 0, | |
}, | |
'&__leftButton': { | |
position: 'absolute', | |
left: 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
const useStyles = makeStyles({ | |
fixedToPageWrapper: { | |
position: 'relative', | |
'&__rightButton': { | |
position: 'fixed', | |
right: 0, | |
}, | |
'&__leftButton': { | |
position: 'fixed', | |
left: 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
function getRandomColor(): string { | |
// source: <https://stackoverflow.com/a/5365036/6656967> | |
return "#" + ((1 << 24) * Math.random() | 0).toString(16); | |
} |
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
function get10RandomColors(): string[] { | |
return Array.from({ length: 10 }, () => getRandomColor()); | |
} |
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
from os import path, getcwd, mkdir, walk | |
from shutil import copy2, copyfile | |
def klasorleri_gez(kynk, hdf): | |
butun_icerik = walk(kynk, False) | |
butun_icerik_liste = [i for i in butun_icerik] | |
for i in range(len(butun_icerik_liste)): | |
klasor = butun_icerik_liste[i] | |
klasor_adresi = klasor[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
# To decipher the result, | |
# 0 -> theta | |
# 1 -> not theta | |
# 2 -> psi | |
# 3 -> not psi | |
def and_op(theta, psi): | |
return theta and psi | |
def or_op(theta, psi): |
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 folium | |
# map function gets location, zoom and tiles | |
berlin = folium.Map(location=[52.49, 13.36]) | |
# geo_locations.txt file is where the coordinates are. For example: Mitte,52.5295114,13.384034 | |
file = open("/Users/kerem/Desktop/geo_locations.txt", "r") | |
content = file.read().split('\n') | |
coords_of_addresses = [] |
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
@startuml | |
(Hesap Girme) as hg | |
usecase "Hesap Silme" as hs | |
usecase "Sirket Batir" as sb | |
:Calisan: as ca | |
actor Mudur as md | |
ca -> hs |
NewerOlder