Python Python How to use fixture in pytest to share a function How can we write when we want to add a function that is executed for all tests, e.g. pre-process and post-process? If you want to know how to use fixture, this post is for you. 2023.01.25 Python
Other techs How to screenshot and record on Linux Linux user needs to choose a preferred software for everything. I will show how I take a screenshot and record a video t... 2023.01.23 Other techs
JavaScript/TypeScript How to sort Array if it contains number string and string data in JavaScript Doesn't Array.sort output as you expected? It's because number is handled as string by default. If you want to sort the array on your needs, you need to write your own sorting logic. 2023.01.20 JavaScript/TypeScript
Dart and Flutter Flutter Resize table column by dragging It's better to make the column width resizable if the text in a DataTable is long. This post explains how to do it without any extra package installation. Watch my sample video to check whether the behavior matches your needs. 2023.01.16 Dart and Flutter
Dart and Flutter Flutter DataTable double tap event on DataRow DataTable and DataRow don't offer onDoubleTap. How can we implement onDoubleTap event in DataTable widget? You don't have to install another package! 2023.01.13 Dart and Flutter
Dart and Flutter Dart How to remove duplicates by key-values in object list (Distinct) list.toSet method doesn't work as expected for an object list to get unique object list? Then, let's add index parameter to the callback of list.where so that we can remove duplicates by key-values. 2023.01.09 Dart and Flutter
Dart and Flutter Implementing Bloom Filter in Dart Bloom Filter can save memory and improve performance. Let's learn how it's implemented in Dart and how it can be used in an example! 2023.01.06 Dart and Flutter
Other techs Linux How to add custom commands You always want to use an easier command but some steps need to be done or some parameters need to be specified for a specific task. Let's create our own custom command to enable us to do the job with one command. 2023.01.04 Other techs
Golang Golang How to differentiate between Context cancel and timeout This post explains how to use Context for the process cancellation or timeout. Furthermore, it shows you how to implement it if you want to keep the process but want to introduce Timeout in it. 2023.01.02 Golang
Golang Golang Async/Await with Goroutine and Channel Golang offers Goroutine and Channel to make Async implementation easy. 2022.12.30 Golang