Skip to content

Instantly share code, notes, and snippets.

View emre's full-sized avatar
🎯
Focusing

Emre Yılmaz emre

🎯
Focusing
View GitHub Profile
@emre
emre / mixtape.yaml
Created February 2, 2014 20:45
codingtunes.com song list
title: programming the hard way
image: http://i.imgur.com/2ku8I9R.jpg
First Movement Clint Mansell: http://www.youtube.com/watch?v=97tbTMDeiQc
God Is An Astronaut - Forever Lost: http://www.youtube.com/watch?v=oMEGJ-Jk58Q
Hans Zimmer - Lost but won: http://www.youtube.com/watch?v=qPpp3e-PpAE
Hans Zimmer - What are you going to do when you are not saving the world: http://www.youtube.com/watch?v=qpBnxR2zPWk
The XX - Intro: http://www.youtube.com/watch?v=vdc7fxNaQ10
Pacific Rim OST - Canceling the Apocalypse: http://www.youtube.com/watch?v=g5lsRk8G4OE
Battlestar galactica - The Shape of Things to Come: http://www.youtube.com/watch?v=x8zsE5zdlsQ
Hans Zimmer - Look to the stars: http://www.youtube.com/watch?v=cT1f-l5ACkw
@emre
emre / quick_find.py
Last active August 29, 2015 13:56
algs class
# union - N operations
# find = 1 operation
class QuickFind(object):
def __init__(self, N):
self.entry_list = range(0, N)
def connected(self, p, q):
return self.entry_list[p] == self.entry_list[q]
@emre
emre / keybase.md
Created April 2, 2014 14:59
keybase.md

Keybase proof

I hereby claim:

  • I am emre on github.
  • I am emre (https://keybase.io/emre) on keybase.
  • I have a public key whose fingerprint is C3D2 747C 541F DCDC 7E5C B5DF 769D 2F5D AC03 6E0F

To claim this, I am signing this object:

@emre
emre / imgbin.md
Last active August 29, 2015 14:00
some stuff I need to remember

diablo3

shaq

geeks and repetitive tasks

We couldn’t find that file to show.
@emre
emre / results.sh
Created June 4, 2014 20:51
rng - this time more loops
➜ ~ python rng.py
loop: #34, difference: 0, head:600, tail:600
loop: #37, difference: 0, head:600, tail:600
loop: #53, difference: 0, head:600, tail:600
loop: #128, difference: 0, head:600, tail:600
loop: #186, difference: 0, head:600, tail:600
loop: #200, difference: 0, head:600, tail:600
loop: #213, difference: 0, head:600, tail:600
loop: #324, difference: 0, head:600, tail:600
loop: #325, difference: 0, head:600, tail:600
@emre
emre / milliyet.js
Created June 9, 2014 11:42
milliyet ads
[{
'click_url': u 'http://www.milliyet.com.tr/fikirtepe-mihenk-tasi-olacak-brooklyn_park-1893627/?ZoneID=1',
'src': u 'http://icube.milliyet.com.tr/Advertorial/2014/06/06/fft60_mf4448925.Jpeg',
'code': u '<a href="http://www.milliyet.com.tr/fikirtepe-mihenk-tasi-olacak-brooklyn_park-1893627/?ZoneID=1"><img src="http://icube.milliyet.com.tr/Advertorial/2014/06/06/fft60_mf4448925.Jpeg" alt="Fikirtepe Mihenk Ta\u015f\u0131 Olacak" border="0"><strong class="title">Fikirtepe Mihenk Ta\u015f\u0131 Olacak</strong><span>Samim Hatipo\u011flu, \u0130stanbul\'un ve Fikirtepe\'nin y\xfckseli\u015fini de\u011ferlendirdi.</span></a>',
'type': 'image',
'followed_click_url': u 'http://www.milliyet.com.tr/fikirtepe-mihenk-tasi-olacak-brooklyn_park-1893627/?ZoneID=1'
}, {
'click_url': u 'http://www.milliyet.com.tr/demir-insaat-1-ayda-yuzde-10-prim-demirinsaat-1892508/?ZoneID=10',
'src': u 'http://icube.milliyet.com.tr/Advertorial/2014/06/04/fft60_mf4440835.Jpeg',
'code': u '<a href="http://www.m
@emre
emre / fibonacci.go
Last active August 29, 2015 14:03
golang tour solutions
package main
import "fmt"
// fibonacci is a function that returns
// a function that returns an int.
func fibonacci() func() int {
x, y := 0, 1
return func() int {
@emre
emre / py.md
Last active August 29, 2015 14:05
pyistanbul 24 agustos ayi etkinligi icin olasi sunumlar
Konusmaci Konu Saat istegi
Aydan Tasdemir Supervisord ile surec yonetimi -
Samed Beyribey Ansible -
Eren Turkay Flask ve REST API 11 ya da 13
Samet Atdag TBD -
Ustun Ozgur TBD -
@emre
emre / installer.py
Last active August 29, 2015 14:07
NHZ hallmark installer script
import os
import sys
import urllib2
import urllib
import json
import time
import re
import getpass
INSTALL_PATH = '/srv/'