Leyan LoHow to Reset React ContextReact Context is great for maintaining state among all your descendent components. Simply define the context with React.createContext() and…2 min read·Apr 30, 2022----
Leyan LoHow to format USB drives for Honda audio systemsUSB audio is a great option for keeping your favorite music ready, without having to rely on the radio or Spotify on your phone. It is the…2 min read·Feb 17, 2022----
Leyan LoHow I got hacked and lost thousands of dollars through CoinbaseOn the morning of April 16, 2021, a remote attacker accessed my machine using VNC and took advantage of my browser signed into Gmail to…4 min read·Jun 20, 2021--1--1
Leyan LoBuilding Pixel-Perfect Minesweeper in ReactI built Minesweeper (pixel-perfect based on the Windows XP version) using React…5 min read·Apr 19, 2020--2--2
Leyan LoAligning git log into columnsFun fact: The column command does not respect ANSI color codes and will flow layout around them as if they were written out, e.g. \033[31m…1 min read·May 31, 2018----
Leyan LoHow to convert an Amex or Visa gift card to your Amazon gift card balance in only 10 daysYou just received an Amex or Visa gift card! It is a physical card that you have to carry around to use! Or you could just convert it to an…3 min read·Apr 19, 2018--3--3
Leyan LoHow to move one git repository into a subdirectory of another with rebaseLet’s say you’re building a side project in a git repository but eventually decide it belongs inside your main git repository in a…3 min read·Feb 24, 2018--2--2
Leyan LoHow to Set Up Your New iPhoneTransferring all your data from an old iPhone to a new iPhone can be a little tricky. There are a few pitfalls you could run into, and some…5 min read·Oct 31, 2016----
Leyan LoCredit Card WorkflowThese are the steps I go through after receiving a new credit card in the mail.3 min read·Aug 23, 2016----
Leyan LoUseless UIAs I was exploring the built-in apps for the Apple Watch, I stumbled across this little gem of UI in the Passbook application, shown above…2 min read·May 12, 2015----