Skip to content

Instantly share code, notes, and snippets.

View ColinDuquesnoy's full-sized avatar

Colin Duquesnoy ColinDuquesnoy

  • EVS Broadcast Equipment
  • Liège, Belgium
View GitHub Profile
@ColinDuquesnoy
ColinDuquesnoy / setup_dev_env
Last active June 29, 2016 17:56
Setup my development environment on Linux (distro agnostic)
#!/bin/bash
# Native packages to install before running this script:
# - python3
# - python3-virtualenv
# - python3-pip
# - git
# ---------------------------------------
# Create HackEdit development environment
@ColinDuquesnoy
ColinDuquesnoy / install-gnu-cobol.sh
Last active August 29, 2015 14:12
Install GnuCobol 2.0 (unstable) on Archlinux/KaOS
sudo pacman -S subversion help2man
echo "### Checking out GnuCobol:"
svn checkout svn://svn.code.sf.net/p/open-cobol/code/trunk open-cobol-code;
cd open-cobol-code/gnu-cobol;
echo "### Configuring:"
./configure --prefix=/usr;
echo "### Building:"
make -s;
echo "### Installing:"
sudo make -s install;
@ColinDuquesnoy
ColinDuquesnoy / html_logger.py
Last active June 19, 2024 17:23
HTML logger for python (inspired by the Horde3D logger)
"""
HTML logger inspired by the Horde3D logger.
Usage:
- call setup and specify the filename, title, version and level
- call dbg, info, warn or err to log messages.
"""
import logging
import time