Skip to content

Instantly share code, notes, and snippets.

@soimafreak
soimafreak / Makefile
Created January 9, 2018 11:11
Hello Dynamic Paths
.PHONY: test setup clean clean-pyc clean-test run
setup:
python -m pip install -e .
clean: clean-pyc clean-test
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
@soimafreak
soimafreak / lb.py
Created April 7, 2017 07:23
A Gist of managing process dependencies both as a in-memory method (create2, msg2) and across processes (create, msg)
"""LB Object..."""
import time
from state import State
class Lb(object):
"""A Lb."""
def __init__(self, deps=None):
"""INIT."""

Keybase proof

I hereby claim:

  • I am soimafreak on github.
  • I am soimafreak (https://keybase.io/soimafreak) on keybase.
  • I have a public key whose fingerprint is A316 CBD4 A316 28E8 88F1 DD17 20AC EDFF D39D 4E6B

To claim this, I am signing this object:

@soimafreak
soimafreak / auth.rb
Created October 23, 2013 22:04
Example Auth Lib
#
# Simple Authentication library
#
require 'digest'
require 'securerandom'
class Auth
def initialize(opts)
@salt_length=opts[:salt_length] || 32