German American Express reward for free flight to the USMaximize Your AMEX Rewards with TurboOct 14Oct 14
Reset password by email with devise in RailsTo reset the password by email instead of the username, we need to change the setting in config/initializers/devise.rb and…Oct 1, 2023Oct 1, 2023
Run your Ruby on Rails application in AWS from scratchThis article will introduce how to run your Ruby on Rails application in AWS from scratch. I will describe the steps from installing Ruby…Apr 22, 20221Apr 22, 20221
Manage multiple Ruby versions by uru and RVMThis article will introduce how to manage multiple ruby versions on the same computer. Here I use uru for windows and RVM for Ubuntu as…Apr 18, 2022Apr 18, 2022
uru error in Windows 10This article introduces how to solve the error when using uru in Windows 10.Apr 16, 2022Apr 16, 2022
Solve error when installing mysql2 with ruby 3.1This article introduces how to solve the error when installing mysql2 gem with ruby 3.1 and rails 7.0.Apr 15, 20221Apr 15, 20221
Logistic regression in pythonIn this article, I will introduce how to use logistic regression in python. As we know, logistic regression can be used for classification…Apr 10, 2022Apr 10, 2022
LeetCode #1696 — Jump Game VIIn this article, I will introduce how to use DP and double-ended queue to solve the LeetCode #1696, Jump Game VI.Oct 14, 2021Oct 14, 2021
LeetCode 39 — Combination SumIn this article, I will introduce LeetCode #39, Combination Sum. It is a classical backtracking problem.Oct 11, 2021Oct 11, 2021
LeetCode 484 — Find permutationIn this article, I will introduce LeetCode #484, find permutation.Oct 7, 2021Oct 7, 2021