Showing all posts tagged impromptu:

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...

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.

Solving locale problem on USB armory

Should you encounter the error message need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968 for example, when running tmux, you should do following steps to solve the problem that causes it: uncomment the appropriate locale in the /etc/locale.gen fi...

Utility for removing duplicated files for Windows

If you would like to remove duplicated files working in Linux, you use fdupes utility. But what alternatives do you have, if you are working in Windows? Meet Duplicate File Finder and Remover (by Winston McMiller). It works in PowerShell, which nowaday...