Skip to content

Instantly share code, notes, and snippets.

View libor-m's full-sized avatar
♻️
Reuse!

Libor Mořkovský libor-m

♻️
Reuse!
View GitHub Profile
@libor-m
libor-m / .block
Last active January 25, 2019 14:48
node animation
license: gpl-3.0
height: 800
@libor-m
libor-m / .block
Last active August 14, 2017 06:54
volby A
license: gpl-3.0
height: 960
border: no
@libor-m
libor-m / gist:7103cfa435bdee02a9db
Created February 8, 2015 23:54
counting heads in bash
#!/bin/bash
# http://leancrew.com/all-this/2015/02/counting-heads/
# Eight people are sitting around a circular table. Each has a coin.
# They all flip their coins.
# What is the probability that no two adjacent people will get heads?
#
# > after the flip they'll end up with one of 256 combinations,
# > let's check how many of the combinations fulfil the criteria by enumeration