How to keep your forked GitHub repository up to date

1. Clone your fork: git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git 2. Add remote from original repository to your forked repository: cd into/cloned/fork-repo git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-...

Print in Python without newline

If you want to print a string in Python without newline at the end, do it like this: # ... and if you are in Python 2: from __future__ import print_function print('.', end='')

Bootstrap does not use complete jQuery

Should you want to use Bootstrap framework, you will also include jQuery library, for example: <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1P...

Vagrant environment for OpenGRM

Recently I uploaded my Vagrant environment for OpenGRM to the GitHub repository. The provision script, install-opengrm.sh, should install OpenFST/OpenGRM on any Linux computer it runs. Should you decide to run the provision script by hand, consult the ...

Metaphors of chess and backgammon

The game of chess is a good metaphor of an environment with openly visible rules. The game of backgammon is a good metaphor of an environment without, as the randomness of dices rolled functions as an abstraction of hidden rules.