PoHan Lin[Ruby on Rails] 從零開始,建立 RSpec 的測試環境假設已經安裝好 Ruby on Rails、MySQL(或其他資料庫),我們希望能夠建立 RSpec 的測試環境。範例在 Windows 11 環境下,使用 WSL2 並安裝子系統 Ubuntu 20.04。May 22, 2022May 22, 2022
PoHan Lin[Clean Code] 有意義的命名(二)為變數、函式、參數(arguments)、類別和套件(packages)選擇一個易於理解的名稱,是需要良好的描述技巧及共通的文化背景。May 19, 2022May 19, 2022
PoHan Lin[Ruby on Rails] 從零開始,建立開發環境在 Windows 11 環境下,使用 WSL2 並安裝子系統 Ubuntu 20.04,目的是建立 Ruby on Rails 開發環境。這裡利用 rbenv 來對 Ruby 進行管理,並且透過 bundler 管理 gem,利於 Rails 專案的依賴庫的管理。使用…May 16, 2022May 16, 2022
PoHan Lin[LeetCode-我在失敗的路上-Part 5] 13. Roman to IntegerRoman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Feb 7, 2020Feb 7, 2020
PoHan Lin[LeetCode-我在失敗的路上-Part 4] 9. Palindrome NumberDetermine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Feb 7, 2020Feb 7, 2020
PoHan Lin[LeetCode-我在失敗的路上-Part 3] 7. Reverse IntegerGiven a 32-bit signed integer, reverse digits of an integer.Feb 6, 2020Feb 6, 2020
PoHan Lin[LeetCode-我在失敗的路上-Part 2] 1108. Defanging an IP AddressGiven a valid (IPv4) IP address, return a defanged version of that IP address.Feb 5, 2020Feb 5, 2020
PoHan Lin[LeetCode-我在失敗的路上-Part 1] 1. Two Sum為了練習邏輯能力,我在網路上找到 LeetCode,當下就直接做了第一題,Two Sum 原文描述如下:Feb 5, 2020Feb 5, 2020