Skip to content

Instantly share code, notes, and snippets.


Tadek Teleżyński tadeoos

View GitHub Profile
tadeoos / Early retirement extreme.ipynb
Created Mar 17, 2019
Math behind financial independence
View Early retirement extreme.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
tadeoos /
Created Sep 3, 2017
Script to quickly build an open source python project with conda environment manager
#!/usr/bin/env bash
echo project_name: $1
if [[ "$1" == "" ]] ; then
echo 'provide project name'
exit 0
mkdir $1
cd $1
tadeoos /
Created Sep 1, 2017
Snippet for creating custom test command to wrap normal tests with coverage
import subprocess
from import BaseCommand
class Command(BaseCommand):
help = "Run tests with coverage. See options for more actions."
def add_arguments(self, parser):
tadeoos /
Last active Jul 11, 2017
Script for detection of hanged programs
"""Stack tracer for multi-threaded applications.
import stacktracer
stacktracer.trace_start("trace.html",interval=5,auto=True) # Set auto flag to always update file!
tadeoos /
Last active Sep 10, 2017
Script for calculating spotify's discover weekly probabilities
from __future__ import print_function, division
import itertools, sys, time
# simple factorial function
def fact(n, acc=1):
return acc if n == 0 else fact(n - 1, n * acc)
# binomial coefficient
def newton(n, k):
return 0 if k > n else fact(n) / (fact(k) * fact(n - k))

Keybase proof

I hereby claim:

  • I am tadeoos on github.
  • I am tadeo ( on keybase.
  • I have a public key whose fingerprint is 5F13 FB1B 569E 432A 0105 9E35 3890 725B 4477 7E6F

To claim this, I am signing this object: