Development Logs


By: Calvin Chieng

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

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