Latest Posts


Development

Find and Replace in Path with IntelliJ

Since I have a bunch of generated html filed from my WordPress migration to Jekyll, I needed to replace some values in all generated files. IntelliJ has powerful search and replace capabilities.

by Tan-Vinh Nguyen on , Under 1 min read → Read on

Linux

Rename multiple files

My current migration from WordPress to Jekyll took me the WordPress exporter of Jekyll. It generated html files. I want to migrate them to markdown, therefore I needed a quick solution to rename all html files into files with markdown file extensions.

Let’s have a look first on directory structure:

by Tan-Vinh Nguyen on , Under 1 min read → Read on

IT

Create file templates for Jekyll posts

Writing Jekyll posts always require a YAML front matter block content. To speed up the task you may create a file template for IntelliJ or Webstorm, depending which IDE from Jetbrains you are using. The procedure is equal.

by Tan-Vinh Nguyen on , Under 1 min read → Read on

Linux

Use usermod and groupmod in Alpine Linux Docker Images

Elastic uses Alpine Linux as base image for their Elasticsearch docker images. Since v5.3.1 there will be no more supported docker images on dockerhub with Debian, it made it necessary to rewrite my docker files for my company. One obstacle is to assign the elasticsearch user to a specific uid and gid on the docker host system.

by Tan-Vinh Nguyen on , Under 1 min read → Read on

IT

Use ruby bundler behind a proxy

How to install the ruby bundler behind a proxy with sudo.

by Tan-Vinh Nguyen on , Under 1 min read → Read on