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 / 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 / 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 / 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 / check_nodes.py
Created January 7, 2014 20:47
check nodes
import socket
import sys
def check_server(address, port):
s = socket.socket()
s.settimeout(2)
try:
s.connect((address, port))
return True
173.234.146.194
80.222.122.93
24.205.76.219
108.61.142.146
80.222.122.93
180.140.188.251
108.61.140.226
195.93.239.31
93.189.145.181
186.231.123.8
@emre
emre / votes.js
Created January 5, 2014 12:49
vote transactions
{
"_id": {
"$oid": "52c95220bf6a626814ebba4e"
},
"block_hash": "0002c96d35b771cdbfda30840ffa37bf216003ec26c2dcd13e3ca5e014ddc85c",
"candidate": "MVTEcsoCi2QBXFTsRARm81nXSkaqeAt5wT",
"timestamp": 1387139622,
"transaction_id": "c0492074852294d68600adf88442027f772f9d75ed5edc2b49fafdefafa87a21",
"value": "0.00000001",
"voter": "MRZgmMBsjNk6yhAdT1AR9WV5aQthmSyyvA"
@emre
emre / adress_gen.py
Last active January 2, 2016 05:49
converts asm hash to wallet address
from base68 import b58encode
import hashlib
def from_asm_hash_to_address(asm_hash):
key = asm_hash.split()[1]
sha = hashlib.sha256(key.decode("hex")).digest()
ripe160 = hashlib.new('ripemd160')
@emre
emre / gist:8237932
Created January 3, 2014 13:36
bitcoin-abe notlar
( https://github.com/terracoin/terracoin/blob/master/src/main.cpp#L2709 )
unsigned char pchMessageStart[4] = { 0x42, 0xba, 0xbe, 0x56 };
@emre
emre / mmc.sh
Last active January 1, 2016 10:49
mmc
#!/bin/bash
git clone https://github.com/glitchman/mmcminer.git
cd mmcminer
./autogen.sh
CFLAGS="-O3 -march=native -mtune=native" CXXFLAGS="-O3 -march=native -mtune=native"
./configure &&make
@emre
emre / mmc
Created December 25, 2013 15:14
memorycoin notlar
btctalk.org postu:
https://bitcointalk.org/index.php?topic=370806.900
qt-wallet
https://github.com/memorycoin/memorycoin
block explorer
http://www.chainbrowser.com/memorycoin/
exchange