Tober Nguyen Logo

DevOps, Software Development, IoT,...

Mẽo và Việt Nam

Sang Mỹ đã được 1 thời gian, đã chứng kiến 1 vài thứ, nghe dăm ba câu chuyện nhưng mà chưa có thời gian để lưu lại những thứ đã nhìn hay câu chuyện đã nghe. Thôi thi nhân tiện ngày tên miền này hết hạn và mình vừa phải trả 15 đồng để renew cộng với việc...
Read More

Setup auto deployment for Node.js application for production

Setup auto deployment for Node.js application for production thumbnail
First you have to have a cloud computer (VPS or Dedicated Server which you can hire one on DigitalOcean, Vultr, Amazon AWS,...) After connected to it via SSH, you're good to go! Setup NodeJS and deployment tools on server side Update package list and install git and build-essential package sudo apt-get update sudo apt-get install -y git build-essential...
Read More

Some good alternative to Parse

After Parse announce that they are going to close their service on January 28, 2017. I have to quickly find new BaaS. And here are some of them: Game Sparks (they even provide a tool to migration automatically from Parse) Heroic Labs (they have a comparison table with Parse here https://heroiclabs.com/parse-alternative/) Backendless (they provide a...
Read More

Fastest way to install NodeJS on Ubuntu

Step 1: Choose version you want to install https://nodejs.org/download/release/ Step 2: Download suitable version (x64 or x86) wget https://nodejs.org/download/release/v6.10.2/node-v6.10.2-linux-x64.tar.gz Step 3: Install sudo tar -C /usr/local --strip-components 1 -xzf node-v6.10.2-linux-x64.tar.gz Enjoy node -v # => v6.10.2...
Read More

While loop Promise with Parse.Promise

On my current project using Parse.com, I've encountered a problem that I have to run a query again and again until a condition is met. I don't know how many times I have to run so this should be a while loop. After googling on how to implement while loop for promise. I found this article: http:...
Read More