Skip to content

Instantly share code, notes, and snippets.

Matt Smith soimafreak

View GitHub Profile
@soimafreak
soimafreak / Makefile
Created Jan 9, 2018
Hello Dynamic Paths
View Makefile
.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 Apr 7, 2017
A Gist of managing process dependencies both as a in-memory method (create2, msg2) and across processes (create, msg)
View lb.py
"""LB Object..."""
import time
from state import State
class Lb(object):
"""A Lb."""
def __init__(self, deps=None):
"""INIT."""
View keybase.md

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 Oct 23, 2013
Example Auth Lib
View auth.rb
#
# Simple Authentication library
#
require 'digest'
require 'securerandom'
class Auth
def initialize(opts)
@salt_length=opts[:salt_length] || 32
You can’t perform that action at this time.