Use rails 5.1 encrypted secrets

To protect production credentials even if they are committed into git

Guide Ruby Rails Secret Encryption

Use .gitignore to prevent committing unwanted files

Logs, temporary files, credentials are not supposed to be committed into git repository

Snippet Ruby Git Gitignore

10 Common Rubocop Catches

Rubocop is a powerful static code analysis tool for Ruby Language

Article Ruby Rubocop Coding standard

Deploying Java app as daemon

Via systemd or init.d

Snippet Java Jar Upstart Systemd Deployment

Reconstruct query string from request

For string compare or generate signature hash

Snippet Ruby Rails Controller

Making a Facebook Messenger Bot

A bot that do simple math calculation

Guide Rails Facebook API Chatbot

Making a simple Telegram Chatbot

Accepting text inputs and render simple response

Guide Rails Telegram API Chatbot

Preview ActionMailer email content

Without actually sending out the email

Snippet Rails ActionMailer Test

Implement and Verify Certificate Pinning in Android

With Android Nougat Security Config and Retrofit

Guide Android Security Retrofit SSL

Avoiding table name conflict when multiple delayed job accessing the same database

When you have multiple apps connecting to the same database

Snippet Rails Delayed Job Database

Force HTTP header name lowercase

Walkaround for 3rd party server which is case-sensitive to HTTP header

Error Rails Httparty

Deploying Laravel on Ubuntu

With PHP7, Nginx

Guide PHP7 Laravel Nginx Ubuntu Deployment

Spark Java Web Framework

Extremely easy to setup, implement and deploy

Article Java Framework Spark

Error installing mini_racer gem

In Ubuntu 12.04 or CentOS 6.x

Error Rails Bundle Gem

Exception and error handling in Ruby

Logging to file and Error reporting via Bugsnag

Article Ruby Exception Bugsnag Logging