Posts by Tag

python

SQLAlchemy mixin in method

less than 1 minute read

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

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

Back to top ↑

cicd

Azure pipeline delete blobs from blob storage

2 minute read

The example given by this post is for Azure Pipeline with the latest Ubuntu agent, for AzCli from local machine, removing the --auth-mode login part should w...

Azure pipeline predefined variables

2 minute read

The official doc gives an explanation of all the predefined variables, but it lacks of some concret examples. Hereunder some examples for my preferred variab...

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

Setup HTTPS for Gitlab

6 minute read

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

Back to top ↑

azure

Azure pipeline delete blobs from blob storage

2 minute read

The example given by this post is for Azure Pipeline with the latest Ubuntu agent, for AzCli from local machine, removing the --auth-mode login part should w...

Azure pipeline predefined variables

2 minute read

The official doc gives an explanation of all the predefined variables, but it lacks of some concret examples. Hereunder some examples for my preferred variab...

Back to top ↑

powershell

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

Powershell stop-parsing (--%)

3 minute read

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

Back to top ↑

githubaction

Back to top ↑

gitlab

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

Setup HTTPS for Gitlab

6 minute read

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

Back to top ↑

ubuntu

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

Setup HTTPS for Gitlab

6 minute read

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

Back to top ↑

docker

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

Back to top ↑

async

Back to top ↑

databricks

Back to top ↑

git

Git Cheat Sheet

5 minute read

This is not a complete Git cheat sheet for everyone, this is just a personal cheat sheet for some often forgotten git commands.

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

Back to top ↑

format

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

Back to top ↑

shell

Back to top ↑

packaging

Back to top ↑

sqlalchemy

SQLAlchemy mixin in method

less than 1 minute read

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

Back to top ↑

pip

Back to top ↑

web

Back to top ↑

nuget

Back to top ↑

proxy

Back to top ↑

ssh

Powershell stop-parsing (--%)

3 minute read

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

Back to top ↑

markdown

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

Back to top ↑

requests

Back to top ↑

wsl

Setting up WSL

less than 1 minute read

Setting up WSL (Windows Subsystem for Linux)

Back to top ↑

linux

Setting up WSL

less than 1 minute read

Setting up WSL (Windows Subsystem for Linux)

Back to top ↑

vscode

Back to top ↑

unittest

Back to top ↑

pytest

Back to top ↑

spark

Back to top ↑

cache

Back to top ↑

auth

Back to top ↑

github

Back to top ↑

github-pages

Back to top ↑

parsing

Powershell stop-parsing (--%)

3 minute read

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

Back to top ↑

jekyll

Back to top ↑

windows

Back to top ↑

ruby

Back to top ↑

repl

Back to top ↑

readline

Back to top ↑

string

Back to top ↑

regex

Back to top ↑

json

Back to top ↑

csv

Back to top ↑

module

Back to top ↑

submodule

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

Back to top ↑

package

Back to top ↑

pyvmomi

Back to top ↑

vmware

Back to top ↑

scheduled-task

Back to top ↑

certificate

Setup HTTPS for Gitlab

6 minute read

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

Back to top ↑

openssl

Setup HTTPS for Gitlab

6 minute read

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

Back to top ↑

backup

Back to top ↑

update

Back to top ↑

migration

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

Back to top ↑

service

Back to top ↑

redis

Back to top ↑

multithreading

Back to top ↑

pandas

Back to top ↑

filtering

Back to top ↑

network

Back to top ↑

elastic

Back to top ↑

scoop

Back to top ↑

itertools

Back to top ↑

ipython

Back to top ↑

contextlib

Back to top ↑

flask

Back to top ↑

datetime

Back to top ↑

container

Back to top ↑

storage

Azure pipeline delete blobs from blob storage

2 minute read

The example given by this post is for Azure Pipeline with the latest Ubuntu agent, for AzCli from local machine, removing the --auth-mode login part should w...

Back to top ↑

codec

Back to top ↑

ast

Back to top ↑

api

Back to top ↑

rest

Back to top ↑

sonar

Back to top ↑

vault

Back to top ↑