Add or remove domain to existing Letsencrypt's cert

For installation via certbot

Snippet Nginx Config SSL Letsencrypt

Adding CORS header for specific domains in Nginx

Snippet Nginx Config Security

Clean-up inodes 100% usage caused by linux headers

In ubuntu 16.04

Error Ubuntu Linux Storage

Convert equirectangular panorama image into pannellum supported multi-resolution image

To support higher resolution 360 images on mobile device

Snippet Pannellum Panorama Image 360

Dynamically supply SMTP config in Rails

For multi-tenants system or user editable SMTP config

Snippet Rails ActionMailer SMTP

Read YAML file in Java

Convenience way to set configuration

Snippet Java YAML Jackson

Get and set json type data on html form in Rails

Via Activerecord and form helper

Guide Rails JSON Form

Changing the passenger max process

Adjust to balance the performance vs. resources

Guide Ruby Passenger Nginx

Increase file descriptor for RabbitMQ

For ubuntu 16.04

Snippet Ubuntu RabbitMQ Config

Using Active Storage for API project

With AWS S3 as storage service provider

Guide Rails Active Storage S3 AWS

Install new version of Ruby via rbenv

For mac and homebrew & For ubuntu

Snippet Ruby rbenv

Rails API Authentication

None, Basic, Token and ApiKey Authentication

Snippet Rails Authentication API

Nginx 1.13.9+ HTTP/2 server push

To reduce round trip time (RTT)

Guide Nginx HTTP2 Performance

Assets precompile fails because of insufficient memory

Fix it without buying more RAM

Error Rails Ubuntu

How to use yarn in Rails 5.1 to manage javascript dependencies?

Including steps to upgrade from older version of Rails

Guide Rails Javascript Yarn