Sponsored links
Golang

Golang How to accept an arbitrary number of arguments

Are you searching for a way to accept an arbitrary number of parameters? Can the parameters have mixed data types? Then, this post is for you. Let's handle the parameter depending on the type.
Golang

Golang How to get value from any/interface

If a function has a parameter that is any or interface{}, it's not possible to access a property by a dot chain. How can we read a value in this case?
Python

Python How to create a missing key automatically

How can we create a dictionary in python? Once it's created, we need to add/delete/update/get value. This post covers all your needs.
Dart and Flutter

Flutter How to show selected area on Slider

How can we show the selected area on a slider widget? Using Stack is one of the solutions but it's necessary to consider the padding value to show the selected area accurately. Let's learn how to do it!
Dart and Flutter

Flutter How to get widget height, width, x, and y position

If the size and position of a widget need to be automatically determined by the Framework, a variable can't be used to know them for another widget. How can we get the width, height, x, and y positions in this case? Use GlobalKey.
Python

Python How to define a custom exception with parameters

How can a custom exception be defined in Python? If you check the error message to handle differently depending on the error, a different type of exception should be used. This post shows you some examples.
Other techs

Why does git submodule update not work!!

The following command didn't update the submodule. Huh? git submodule update Neither of the following ones updated it. g...
Other techs

Git How to show the current branch name on the terminal on WSL

Why isn't the current branch name shown on the Terminal? I don't want to run "git status" every time I want to check the current branch. Let's set it up!
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.
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...
Sponsored links