Posts by Year

2021

Back to top ↑

2020

Setting up WSL

less than 1 minute read

Setting up WSL (Windows Subsystem for Linux)

Back to top ↑

2019

SQLAlchemy mixin in method

less than 1 minute read

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

Git Cheat Sheet

5 minute read

Some personal often forgotten git commands.

Back to top ↑

2018

Migrate Gitlab in docker

4 minute read

This post will walk you through the steps to migrate Gitlab from one docker container to another. The steps need you to know how to install a new Gitlab c...

Terminate Powershell script or session

4 minute read

I always asked myself how to terminate a Powershell script or session, each time I needed to do some tests by myself and also searched on Google. But I co...

Setup HTTPS for Gitlab

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

1 minute read

If you want to create some tables from a python list, you can use the tabulate module, it can generate the table easily in text mode and in many formats, ...

Git untrack submodule from git status

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

less than 1 minute read

Some useful alias which make your Git life happier.

Powershell stop-parsing (--%)

3 minute read

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

Back to top ↑