Posts by Year

2019

SQLAlchemy mixin in method

September 25, 2019  |  1 minute read

Share common methods across SQLAlchemy db model classes by using mixin.

Git Cheat Sheet

June 19, 2019  |  3 minute read

Some personal often forgotten git commands.

Back to top ↑

2018

Setup HTTPS for Gitlab

September 16, 2018  |  6 minute read

Setup a SAN SSL certificate to use the HTTPS on Gitlab-CE in docker on Ubuntu server.

Use python tabulate module to create tables

July 28, 2018  |  1 minute read

Use the tabulate module to create some tables in pure text mode from a python list, than you can past it into markdown, wiki files or python cli.

Git untrack submodule from git status

June 22, 2018  |  1 minute read

submodule folders cannot be added into .gitignore file to untrack them from git status, we will use ignore=dirty to ignore it

Git alias

May 20, 2018  |  less than 1 minute read

Some useful alias which make your Git life happier.

Powershell stop-parsing (--%)

May 16, 2018  |  3 minute read

Use Powershell stop-parsing (--%) to treat the remaining characters in the line as a literal.

Back to top ↑