Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am murisimov on github.
  • I am murisimov (https://keybase.io/murisimov) on keybase.
  • I have a public key ASD2kTSc_ZbZ2jD2426aR0I7XECGi30Df-KjP7YJrCiiBAo

To claim this, I am signing this object:

0x1E4b1caB1F2257C9e29e19a13DfC864479DdFe27
0x1570be87D0918fa5E3fcfE05F89D2A9e15De3de4
n = 324
some_text = "hey there glad to see you"
# ==
# !=
# >
# <
# >=
# <=
if n == 100:
print "exactly what we need!"
@murisimov
murisimov / farm.py
Last active February 4, 2016 17:11
# Snippet to calculate farm amount.
# Here is how it works;
# 'shedule' is an array with dicts corresponding to each anomaly done. Key:values here are player:characters pairs.
# Example:
# shedule = [
# {
# 'agaf': 3,
# 'aiteri': 2,
# 'hel': 2
# },
import errno
import functools
import socket
from tornado import ioloop, iostream
class Connection(object):
def __init__(self, connection):
self.stream = iostream.IOStream(connection)
self._read()