Golang Golang How to check if key exists in map How to initialize map There are two ways to initialize map in Golang. Initialization without any key-value If it's not n... 2023.03.31 Golang
Dart and Flutter I struggled with releasing a Flutter Desktop app I tried to create a release for a Flutter Desktop application but it was not straightforward... I created a release for ... 2023.03.29 Dart and Flutter
Python Python How do nested groups work for regex If there are several formats and data need to be extracted from the string, the nested group might neet to be used in the regex string. How does it actually work? Let's check together with me. 2023.03.27 Python
Python Python Convert str to int/float, dict/list to str, and vice versa Conversion is often needed to change the data type. This post covers main cases where you need in your production code. Let's check how to convert a variable. 2023.03.24 Python
Other techs Git How to undo a commit to remove some modifications Everyone can make a mistake. How can we undo a commit when we push a commit by mistake? How can we revert a commit from the middle of the history when the commit is no longer needed? 2023.03.22 Other techs
Python Python Access a class property by the name without dot chaining In some cases, a key string needs to be used to read property. How can it be done in Python? Use setattr, getattr, and hasattr functions 2023.03.20 Python
Python Python How to trim unnecessary letters from a string Are unnecessary spaces contained in a string? Then, let's trim them by using strip. It can be used not only for spaces but also for arbitrary characters. 2023.03.17 Python
Dart and Flutter Flutter Select rows on DataTable with the control/shift key It's typical behavior that the multiple rows can be selected by the control key or shift key on a Desktop application. How can we implement it in Flutter? Use KeyboardListener to detect the key event. Then, control the selection depending on whether the key is being pressed or not. 2023.03.15 Dart and Flutter
Other techs Git How to update all repos in a directory Are there many git repositories to update? This post is for you if you don't want to change the directory and git pull many times. Let's update them at once with find and xargs commands. 2023.03.13 Other techs
Dart and Flutter Flutter How to delete a row on DataTable by Delete button When showing data on DataTable, we might want to have a feature that deletes selected rows by pressing a Delete key. How is it possible? Use KeyboardListener.I will show you where to put the widget and how to use it in this post. 2023.03.10 Dart and Flutter