Being the pioneer in introducing mini program in year 2017, WeChat has been very successful in building an ecosystem of online services running within single app. With that being said, you no longer need to install that many apps in your phone as there’s been more than 1 million mini programs developed by various merchants serving your different needs.
Since then, many Chinese tech giants, including Alipay have decided to jump on the bandwagon and introduce mini program into their respective ecosystem. It’s reported that Alipay had more than 160,000 mini programs in 2019 and it’s still counting.
A mini program is a “sub application” that lives within another app, like WeChat, Alipay, Baidu etc. There are various features and capabilities bundled in a mini program, including but not limited…
The developer team in your organization has made some changes and it’s time to build and publish the npm package to the registry by executing
npm publish. Although it’s not a heavy task, we can possibly automate this process so that we can take some workload off the shoulders of the developer team, leaving them to focus on what they do best!
Now, here’s what we can do. By using tools like Jenkins, Travis CI, CircleCI etc, we can publish the npm package to registry automatically upon changes made on the code in the repository.
However, we will get an error when we are trying publish a package with the same package name and version. Therefore, we need to implement some validation before we publish it. …
Have you ever been in a situation where you need to rename a bunch of files that are all over the places? Or have you been in a situation where you want to copy files selectively but they are together with some other files and you can’t simply select all the files?
In our life or job, we may need to perform such tedious tasks which consume a lot of time and it’s best to automate these chores using lines of codes.
In this article, I have shared about how we can build a CLI-based file renaming tool using Golang and in this article, we will further extend the functionalities to copy, move and compress files and at the same time we will look into how the Golang standard library can help us achieve what we want. …
With the capability to build lightweight yet efficient system, Golang has been getting a lot of attention from software engineers who use it to build backend services, microservices etc as well as DevOps engineers who use it as scripting language. FYI, Kubernetes is written in Go as well.
In this article, we will be looking at how to build a CLI-based tool to rename files in batch using spf13/cobra. …
Previously, we have looked into some CI/CD tools like Jenkins, GitHub Actions and TravisCI and in this article, we will be looking at automating deployment of containerized Go application to Google Kubernetes Engine (GKE) using another CI/CD tool, CircleCI.
Like some of the other CI/CD tools that we have covered earlier, CircleCI provides free plan for open source repository hosted on GitHub or Bitbucket which is ideal for us to experiment with.
We will first deploy the containerized application onto GKE and to do this, you have to first enable billing on your account and create a project. Note that you may be charged a small amount of money for using the infrastructure provided on Google Cloud. …
Note: This is part of a series that focuses on different CICD tools, where we will be looking at CircleCI next. If you are interested to know more about GitHub Actions, you can click here.
In this article, we are going to focus on two main things:
Travis CI is a hosted continuous integration service that can be used on GitHub or Bitbucket repository.
As a continuous integration platform, Travis CI supports your development process by automatically building and testing code changes, providing immediate feedback on the success of the change. …
Note: This is part of a series that focuses on different CICD tools. In the upcoming posts, we will talk about other tools like Travis CI and CircleCI.
In this article, we are going to look at how we can use GitHub Actions for our Go project. Of course, it does need to be in Go, and it can be in any languages like Node.js, Python, Java etc. Also, it’s best that you can try it out on your own repository as we go through the following:
Have you ever experienced a situation where your development team has deployed a piece of code and ended up with errors in another part of the system? More often than not, we all have been in this problem before.
So how does one reduce the occurrence of such a situation? Do you have many testers in your organization to test every single function again and again whenever a new piece of code is released?
As we strive to deliver good quality software at speed, there is a need for proper need for continuous integration and continuous delivery (CI/CD) tools.
A CI/CD pipeline helps you to automate the software delivery processes, from initializing code build, running automated tests to deploying to staging, or production environment. …
After several weeks of studying and researching and a lot of trials and errors using Kubernetes, I managed to get things working. It is indeed quite a steep learning curve, especially for someone who has never put his hand on it.
In this article, I’m not trying to share a tutorial or guide, but it should be more like sharing experience or things that I have done on Kubernetes to make things work (so there may be mistakes or errors). Below are the items that I’m going to share:
In the past, I have been manually keying in the financial data for stocks into Excel and then generate charts to visualize the data. This has taken up a lot of time and it’s very prone to human error.
Recently, I came to realize that Google Apps Script may be the rescue and possibly reduces all the manual work and thus automating the process of filling in financial data and generating charts.
What is Google Apps Script?