Skip to content

Instantly share code, notes, and snippets.

Dorukcan Kişin dorukcan

  • İstanbul
Block or report user

Report or block dorukcan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jmoy
jmoy / thin-film.ipynb
Last active Nov 18, 2018
Why soap bubbles are colorful and windowpanes are not
View thin-film.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fasiha
fasiha / no-hackerrank.md
Last active Jan 25, 2020
A prospective employer invited me to do a HackerRank test. Here's my proposed alternative.
View no-hackerrank.md

Well, that was unexpected. In the following, I’m trying to follow Jon Evans’ advice from “The Terrible Technical Interview”.


To: recruitment@EmployerABC.com
From: Ahmed Fasih
Subject: Re: Programming Test Invitation

Hi there! Thanks for offering to let me take a HackerRank test for ABC, I appreciate the vote of confidence.

@dkavraal
dkavraal / türkçe.py
Last active Jan 3, 2020
in Turkish texts detecting which charset among cp1254 (windows 1254) and UTF-8 is used
View türkçe.py
"""
Letter Codes
------------------------
LETTER Windows-1254 ISO-8859-9 latin5 UTF-8
ğ b'\xf0' b'\xf0' b'\xf0' b'\xc4\x9f'
ı b'\xfd' b'\xfd' b'\xfd' b'\xc4\xb1'
ş b'\xfe' b'\xfe' b'\xfe' b'\xc5\x9f'
ü b'\xfc' b'\xfc' b'\xfc' b'\xc3\xbc'
ö b'\xf6' b'\xf6' b'\xf6' b'\xc3\xb6'
@halilim
halilim / bozuk_turkce_karakter_duzelt.php
Created Sep 1, 2013
Bozuk Türkçe karakter düzelt - Fix corrupt Turkish characters
View bozuk_turkce_karakter_duzelt.php
<?php
function array_make_first(&$array, $element) {
if (($ndx = array_search($element, $array)) !== false) {
unset($array[$ndx]);
array_unshift($array, $element);
}
}
$encler = mb_list_encodings();
@ismailbaskin
ismailbaskin / il_ilce_enlem_boylam.sql
Created Apr 25, 2012
Türkiye İl ve İlçelerin enlem boylam bilgileri
View il_ilce_enlem_boylam.sql
/*
Türkiye İl ve İlçelerin enlem boylam bilgileri (dörtgen olarak sınır pozisyonlarıyla birlikte) kaynak : google maps (başarsoft)
twitter : http://twitter.com/tserpico
*/
DROP TABLE IF EXISTS `pk_il`;
CREATE TABLE `pk_il` (
`il_id` int(2) NOT NULL COMMENT 'plaka kodu',
`il_adi` varchar(255) NOT NULL,
`lat` double(20,8) DEFAULT NULL COMMENT 'enlem',
You can’t perform that action at this time.