Showing all posts tagged impromptu:

Python shebang

Currently, in the interregnum where Python 2 and Python 3 may co-exist on the same system, the PEP 0394 recommendations for the shebang line in Python programs run in short like this: Use #!/usr/bin/env before Python interpreter Use #!/usr/bin/env pyt...

How to keep your forked GitHub repository up to date

1. Clone your fork: git clone 2. Add remote from original repository to your forked repository: cd into/cloned/fork-repo git remote add upstream git://

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="" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1P...

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.