Skip to content

Instantly share code, notes, and snippets.

@bsjjim
bsjjim / aioudp.py
Created June 1, 2017 09:03 — forked from vxgmichel/aioudp.py
High-level UDP endpoints for asyncio
"""Provide high-level UDP endpoints for asyncio"""
__all__ = ['open_local_endpoint', 'open_remote_endpoint']
import asyncio
import warnings
class DatagramEndpointProtocol(asyncio.DatagramProtocol):
@bsjjim
bsjjim / pykoen.py
Created November 27, 2016 18:10 — forked from dvm-shlee/pykoen.py
pykoen, jupyter notebook 을 이용한 interactive 한영번역기 (구글번역기 + Ginger 문법교정기)
from __future__ import absolute_import
import json
import sys
import re
import requests
import urllib
import urlparse
from urllib2 import HTTPError
from urllib2 import URLError
from urllib2 import urlopen
@bsjjim
bsjjim / consistent_hashing.py
Created October 27, 2016 05:59 — forked from charsyam/consistent_hashing.py
Consistent_Hashing.py
import sys
import hashlib
import struct
VALUE_IDX = 2
HASH_IDX = 3
LAST = -1
FIRST = 0
class ConsistentHash:
@bsjjim
bsjjim / T0.md
Created June 26, 2016 00:03 — forked from graphitemaster/T0.md
Vulkan Tutorial

Tutorial 0

What is Vulkan

Vulkan is a low-overhead, cross-platform 3D graphics and compute API.

Vulkan targets

Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.