Making PostgreSQL run on the first start of WSL 2 terminal

Out of sudden, there is postgres logo there. XD

My daily routine involves working with Ruby on Rails with PostgreSQL as a relational database service. Thus, I will be discussing about how to automate the start of PostgreSQL service on Windows Subsystem Linux (WSL) 2.

RoR: Determining two date within the acceptable range

Get date picker js at: https://www.daterangepicker.com/

There are two dates where the first date is greater or equal to (gteq) and the second date is less than or equal to (lteq). Both dates set to have a rule where it must be within 3 months range. As always, there are always many ways to determine the range of between gteq and… Continue reading RoR: Determining two date within the acceptable range