productivity on davidchua https://dchua.com/tags/productivity/ Recent content in productivity on davidchua Hugo -- gohugo.io en-us Fri, 17 Jun 2016 00:00:00 +0000 Speed up NPM install in Docker Containers https://dchua.com/posts/2016-06-17-speed-up-npm-install-in-docker-containers/ Fri, 17 Jun 2016 00:00:00 +0000 https://dchua.com/posts/2016-06-17-speed-up-npm-install-in-docker-containers/ NPM installs in your docker containers getting slow, make sure you set registry! # Dockerfile RUN npm config set registry http://registry.npmjs.org/ && npm install --no-optional --verbose Try this the next time your NPM install feel like its taking forever. How to Start a Static Blog in 10 minutes with Jekyll and Terminal https://dchua.com/posts/2014-11-13-how-to-start-a-static-blog-in-10-minutes-with-jekyll-and-terminal/ Thu, 13 Nov 2014 00:00:00 +0000 https://dchua.com/posts/2014-11-13-how-to-start-a-static-blog-in-10-minutes-with-jekyll-and-terminal/ Run your own Terminal Blog with Terminal You probably have seen or heard of Medium.com or at least the bunch of awesome articles created by its huge community of writers. The platform has been gaining popularity with beginning writers because of its clean design and easy to use input interface but one of the increasingly frustrating limitations is the lack of support for custom domains. You have a really cool domain name that you don’t want to go to waste, why let Medium get all the traffic?