Skip to content

Instantly share code, notes, and snippets.

@muratbaskicioglu
muratbaskicioglu / sum_of_suffixes_similarities_of_a_string.php
Created September 8, 2020 13:22
Calculate the sum of suffixes similarities of a string
<?php
/**
* Creates an input prompt with an optional title.
*
* @param string|null $title
* @return string
*/
function input(string $title = null): ?string
{
@muratbaskicioglu
muratbaskicioglu / cities.js
Created January 8, 2020 11:29
Türkiye İl & İlçe Listesi
[
'Adana', 'Adıyaman', 'Afyon', 'Ağrı', 'Amasya',
'Ankara', 'Antalya', 'Artvin', 'Aydın', 'Balıkesir',
'Bilecik', 'Bingöl', 'Bitlis', 'Bolu', 'Burdur',
'Bursa', 'Çanakkale', 'Çankırı', 'Çorum', 'Denizli',
'Diyarbakır', 'Edirne', 'Elazığ', 'Erzincan', 'Erzurum',
'Eskişehir', 'Gaziantep', 'Giresun', 'Gümüşhane', 'Hakkari',
'Hatay', 'Isparta', 'İçel (Mersin)', 'İstanbul', 'İzmir',
'Kars', 'Kastamonu', 'Kayseri', 'Kırklareli', 'Kırşehir',
'Kocaeli', 'Konya', 'Kütahya', 'Malatya', 'Manisa',