Using Team Foundation Version Control with Command Line

When creating a new project in Visual Studio, there are two options for version control:  Git, which is distributed version control, and Team Foundation Version Control (TFVC), which is centralized version control. Personally, I am a Git advocate, but my team selects TFVC as the version control tool. Generally, I prefer using Visual Studio Code to write code rather than Visual Studio. Therefore, I have to learn how to use the TFVC commands, for VS Code does not feature TFVC.

Read more

Node.js Barcode Extension with DBR 6.0

When searching for barcode SDK online, you can find lots of free and commercial SDKs. However, there are only a few of SDKs cross-platform, which is why Dynamsoft Barcode Reader is outstanding. Dynamsoft Barcode Reader SDK supports Windows, Linux, macOS, Android, iOS, and Raspberry Pi. Currently, the latest DBR 6.0 is better and faster than the previous version. The imperfection is it only supports Windows so far. If you need an SDK available for all platforms, please choose DBR 5.2. The post will help developers create a Node.js barcode reader with DBR 6.0 on Windows.

Read more

JSON Schema for Dynamsoft Barcode Reader Template Files

If you have tried out Dynamsoft Barcode Reader 6.0, you may have noticed the new template feature. The new SDK version supports importing parameters from JSON-format template files. How to create the template files? One way is to visit the barcode online demo, select some arguments and then download the template file. The other way is to write a JSON file by yourself. When writing a JSON file line by line, there is a problem that how to write valid data. The workaround is JSON Schema. JSON Schema is a vocabulary that allows you to annotate and validate JSON documents. To facilitate developers, I created a basic JSON Schema for Dynamsoft Barcode Reader template files.

Read more

Updating PHP Barcode Extension for PHP7

Two years ago, I created a sample for demonstrating how to wrap Dynamsoft Barcode Reader 4.2, a C++ barcode library, as an extension for PHP5. How time flies, the latest barcode library is up to version 5.2. Meanwhile, many developers start to write web program in PHP7. This post will help PHP developers figure out how to build a PHP barcode reader on Ubuntu 16.04 with DBR 5.2 and PHP7.

Read more

Receiving Windows Notifications with Ngrok and Webhook

When working at the office, if you don’t want to miss any notification, you can use some tools such as IFTTT and Slack, to subscribe notification service based on Webhook. What if you’re going to receive Windows notifications without installing these tools? Using Node.js and Ngrok, I can quickly create a local notification service in 5 minutes.

Read more

Using PowerShell Core on Windows, Linux and macOS

Windows PowerShell is nothing new. It has been along with Windows for many years. Honestly, I preferred to use CMD more than PowerShell due to the learning cost. In the past few years, under the leadership of Satya Nadella, Microsoft is becoming opened and creative. More and more tools and frameworks support Windows, Linux, and macOS, including Visual Studio Code, .NET Core, and PowerShell. It is so good to use one scripting language for all platforms.

Read more

Improving Code Quality with SonarQube

For a developer, nothing is more important than improving the quality of the code. You probably had this experience that when a project was growing bigger and bigger, you had to spend more time debugging code for inspecting issues – memory leak, null pointer and so on. SonarQube is a tool that helps developers check and analyze code quality. It also integrated with some popular IDEs like Visual Studio, Eclipse, and IntelliJ IDEA.

Read more