Sponsored links
Other techs

How to connect USB devices to a VirtualBox VM

VirtualBox supports only USB 1.1 by default. You need to install extension packages if you want to use USB 2.0 or 3.0.
Other techs

Connect a USB device to WSL without admin privilege

I tried to connect a USB device to WSL by following the official way but it didn't work. This post explains how to make it work without admin privileges. This is a hack.
Python

Python Set value for many properties if it is not None

It is not good to write Null check as many properties as we need. It should be written in a single place. Define a function and call it for the necessary properties.
JavaScript/TypeScript

Implementation of D Way Heap in TypeScript (Binary Tree)

Explains how D-way heap works and how it can be implemented in TypeScript. If you need to update/remove an element, it does it in a very short time.
JavaScript/TypeScript

FATAL ERROR: invalid array length Allocation failed

Isn't there an infinite loop in your code? Don't you edit an array in the loop? If so, use the copy instead.
JavaScript/TypeScript

TypeScript Find the lowest missing number in an array

It explains how to find the lowest missing number in an array. Not only for an array that starts with 0 but also starts with an arbitrary value. Furthermore, the step between the values can change.
Python

Python Reconstruct dictionary by splitting a formatted key string

The module that I used returned a dictionary but it didn't have any nested objects. It looks like this below.data = { "0...
Docker

Python install Poetry in Docker container with VSCode

It took me a while to find out how to poetry install in Docker container with VSCode. So, I wrote this article for other...
Other techs

Assign a value to VSCode launch.json depending on env value with Makefile

I wrote the following post before. But this requires manual steps. I wanted to automate it, so I needed to change the ho...
Python

Python mockito to stub an object for unit testing

mockito in Python doesn't have good documentation due to poor examples. I struggled with it to learn how to do something. If you also in the same situation, this post is for you. Stub, replace a method behavior, and verify the parameters!
Sponsored links