Skip to content

Victor Leong

Ruby on Rails | AWS

  • Privacy Policy
How To Edit A Rake Task From A Gem

How To Edit A Rake Task From A Gem

by vljc17May 4, 2022May 4, 2022

Apart from having to contribute to the open source project of a gem that you’re using in your Ruby On Rails application

Critical CSS in Rails 6

Critical CSS in Rails 6

by vljc17May 11, 2021May 4, 2022

The idea here is to load the css that is precompiled by webpacker along with the html of the page so that

How To Remove Fingerprinting In Assets With Rails + Webpacker

How To Remove Fingerprinting In Assets With Rails + Webpacker

by vljc17February 16, 2021February 14, 2021

In order to remove fingerprinting, that is the hash value appended to the file name of a compiled asset, be it a

Ruby Threads Are Concurrent, Not Parallel, Thanks To Global Interpreter Lock

Ruby Threads Are Concurrent, Not Parallel, Thanks To Global Interpreter Lock

by vljc17December 28, 2020December 27, 2020

This is a concept in Ruby, at least for Ruby 2 before the 2020 Christmas present by Matz and team, where threads

How To Setup Headless Chrome Browser For Rails RSpec Feature Test With Selenium And Capybara

How To Setup Headless Chrome Browser For Rails RSpec Feature Test With Selenium And Capybara

by vljc17December 16, 2020

When working on feature tests on a non headless browser, the automated browser will tend to take control over our display and

String Algorithm Problems

String Algorithm Problems

by vljc17November 15, 2020

Motivation I tend to forget the flow of an algorithm and the reasons for executing certain steps that may be pivotal in

Cron Job, Elastic Beanstalk, Rails Rake

Cron Job, Elastic Beanstalk, Rails Rake

by vljc17September 3, 2020

I ran into some issues lately where the the cron job is not running in my Rails deployed on Amazon Elastic Beanstalk.

Natural Sorting With Datatables

Natural Sorting With Datatables

by vljc17July 21, 2020

The most significant difference between natural sorting and your typical sorting is the order of a string when there are digits involved.

11 Gradual Methods On How To Scale A Database

11 Gradual Methods On How To Scale A Database

by vljc17July 13, 2020December 26, 2020

I used to work in a web shop / app agency and now as a full stack app and web developer. My

How To Use HTML Validation On Flatpickr

How To Use HTML Validation On Flatpickr

by vljc17April 29, 2020

My go to date picker JavaScript library is flatpickr. It has a decent UI that can be customized easily, is lightweight, and

How To SSH Into Private Servers Via A Bastion Without Copying SSH Keys

How To SSH Into Private Servers Via A Bastion Without Copying SSH Keys

by vljc17April 27, 2020

This is a documentation on the the process of accessing the public EC2 instances from a bastion server that is created in

How To Setup And Debug Google App Script

How To Setup And Debug Google App Script

by vljc17April 24, 2020

This is a quick start guide on setting up Google App Script and using it in G Suite applications. Mainly, I will

Customize Devise Forgot Password Token In Rails

Customize Devise Forgot Password Token In Rails

by vljc17April 21, 2020

This is a documentation on how to change the user flow of forgot password using the devise gem. Motivation I often work

Class And Instance Methods in Ruby Metaprogramming

Class And Instance Methods in Ruby Metaprogramming

by vljc17April 16, 2020

This is my own summary on the class and instance methods in relation to metaprogramming in ruby. Motivation Many articles out there

Integrating reCaptcha V3 With Turbolinks In Rails

Integrating reCaptcha V3 With Turbolinks In Rails

by vljc17April 14, 2020

Google has published the latest new version of reCaptcha V3 and I had to integrate it into my recent Rails projects. The

Sort Algorithms Cheatsheet

Sort Algorithms Cheatsheet

by vljc17April 9, 2020

This is a summary of the key features that make up an algorithm. Motivation While it is easy to understand the concept

1 2 Next »
© Copyright 2022 Victor Leong. All rights reserved | MadeBy99colorthemes