Recommendations Try to use wrist rests to reduce wrist strain A worker normally works 8 hours a day. If there is no meeting, we use a keyboard and mouse for a longer time. Haven't yo... 2022.04.06 Recommendations
JavaScript/TypeScript How to determine test values for unit testing Are you a beginner at unit testing? Are you not confident enough to choose the test cases? You are not alone. Let's lear... 2022.04.04 JavaScript/TypeScript
JavaScript/TypeScript TypeScript Stub Top Level function by Sinon Functions called in a different function are not always class members. They are often top-level functions which are not ... 2022.04.01 JavaScript/TypeScript
JavaScript/TypeScript How to mock fs.readdir and fs.readFile for unit testing Reading a directory to get a file list and then, loading the file one by one. You might have seen such a function. If it... 2022.03.30 JavaScript/TypeScript
JavaScript/TypeScript How to inject user input data for unit tests Some console applications require user inputs. For those inputs, we need to write unit tests. If we using readline modul... 2022.03.28 JavaScript/TypeScript
JavaScript/TypeScript error C2039 ‘Buffer’ is not a member of ‘node’ When I ran a build for C++ code by node-gyp, the following error occurred. $ npm run build > module-name@2.9.14 build D:... 2022.03.25 JavaScript/TypeScript
JavaScript/TypeScript How to start Unit Testing in TypeScript with mocha and chai Writing unit tests is an important step to be an intermediate developer from a beginner. The developers who can't write ... 2022.03.23 JavaScript/TypeScript
Other techs Setup a port forwarding by batch file I needed to set up a port forwarding to access a machine via another machine. The setting was reset whenever the machine... 2022.03.21 Other techs
Dart and Flutter Dart Convert String to int with default value on failure There are some cases in which a string needs to be converted to int/double. How can we do it in Dart? We can use these 3... 2022.03.18 Dart and Flutter
Other techs Bash fails in Gradle task on Azure pipeline with windows-2022 Azure pipeline, CI, continuous integration 2022.03.16 Other techs