Skip to content

Instantly share code, notes, and snippets.

View atagulalan's full-sized avatar
🏠
Working from home

Ata Gülalan atagulalan

🏠
Working from home
View GitHub Profile
@atagulalan
atagulalan / watchlist.md
Last active October 15, 2023 16:50
Watchlist
📺 📢 ⚡ ⏰ 👈 🗑 📡 👁️ 🌑 ⏱ ⭐
House Ended 100 5d
12h
0m
❌ 176 176 176 45 7920
Doctor Who (2005) Continuing 85.14 4d
20h
43m
20h
22m
✔ 153 149 175 47 7003
The Mentalist Ended 100 4d
12h
13m
❌ 151 151 151 43 6493
Orange Is the New Black Ended 100 3d
19h
0m
❌ 91 91 91 60 5460
How I Met Your Mother
@atagulalan
atagulalan / WithoutIf.js
Created January 3, 2021 14:18
Not hesaplama
const [vize, final] = [50, 60]
const not = vize * 0.4 + final * 0.6
console.log(
[50, 25, 5, 5, 5, 11]
.map((el, i) =>
Array(el).fill(['Kaldın', 'Koşullu', 'CB', 'BB', 'BA', 'AA'][i])
)
.flat()[~~not]
)