Skip to content

Instantly share code, notes, and snippets.

View rkiyanchuk's full-sized avatar
🇺🇦

Ruslan Kiyanchuk rkiyanchuk

🇺🇦
View GitHub Profile
@rkiyanchuk
rkiyanchuk / private-build-plans.toml
Last active October 3, 2022 16:12
Iosevka Build Plan
### See https://github.com/be5invis/Iosevka/blob/master/doc/custom-build.md for comprehensive
### documentation of the options in this file
# TL;DR instructions:
# Installation:
# brew install node ttfautohint fontforge
# git clone --depth 1 https://github.com/be5invis/Iosevka.git
# npm install
# Compilation:
# Copy private-build-plans.toml to repo root.
@rkiyanchuk
rkiyanchuk / fib_benford_law.py
Created April 20, 2017 21:50
Benford's law in Fibonacci sequence
"""Verify that Fibonacci sequence follows Benford's law."""
from pprint import pprint
def fibonacci(n):
a, b = 0, 1
for i in range(n):
a, b = b, a + b
return a