Configure bitbucket pipelines to use custom SSH private keys

Using Bitbucket repository variables

Guide Capistrano Pipelines Deployment OpenSSL Bitbucket

Setup sidekiq with systemd and capistrano integration

On Ubuntu 18.04

Guide Capistrano Deployment Ubuntu Sidekiq

Setting up and deploy Laravel, PHP 7.3 on Ubuntu

2019 Updated

Guide PHP Laravel Ubuntu Setup Deployment

Check signature of Android APK

Guide Android Security SDK

Setting up Nginx and Passenger on Ubuntu 18.04

2019 Updated

Guide Ubuntu Passenger Nginx Setup

Setting up ruby on rails on Ubuntu 18.04

2019 updated

Guide Ruby Rails Setup Ubuntu

Reconstruct RSA public key from exponent and modulus

Via ASN1 definition and OpenSSL

Guide OpenSSL Public Key

Remove html extension and map URL to static html file in Nginx

Useful for serving static website

Guide Nginx Config

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