Blog#
Fixing an ipython Windows ConEmu only bug on 'MouseEventType.MOUSE_DOWN'
This post is for manually fixing an ipython Windows ConEmu only bug (from prompt_toolkit): Exception ''MouseEventType.MOUSE_DOWN'' is not a valid MouseEventType.
Flattening nested dict in Python
Flattening a nested dict/json with list as some keys' value.
Setting up WSL
Setting up WSL (Windows Subsystem for Linux)
Using Powershell To Retrieve Latest Package Url From Github Releases
Github can host package releases, I will show you how to use Powershell to retrieve the latest release download url.
Using Scoop On Windows
I've been using Scoop for setting up my personal and professional Windows development desktops since nearly 2 years.
Elastic Painless Scripted Field On Null/Missing Value
This post shows how to use elastic painless language in scripted field to work on documents' keys which might not exist in some documents.
Install Python3 on Ubuntu
A quick tutorial for installing Python from its official source on Ubuntu with sqlite3 support.
SQLAlchemy mixin in method
If I'm not wrong, the SQLAlchemy official doc provides some examples to explain how to share a set of common columns, some common table options, or other mapped properties, across many classes. But I cannot find how to share common methods (e.g. your customized to_dict() method). This post will just show you a POC to achieve this goal by using Python Mixin.