Leyan Lo·Apr 30, 2022How to Reset React ContextReact Context is great for maintaining state among all your descendent components. Simply define the context with React.createContext() and…
Leyan Lo·Feb 17, 2022How 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…
Leyan Lo·Jun 20, 2021How 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…A response icon1A response icon1
Leyan Lo·Apr 19, 2020Building Pixel-Perfect Minesweeper in ReactI built Minesweeper (pixel-perfect based on the Windows XP version) using React…A response icon2A response icon2
Leyan Lo·May 31, 2018Aligning 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…
Leyan Lo·Apr 19, 2018How 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…A response icon3A response icon3
Leyan Lo·Feb 24, 2018How 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…A response icon3A response icon3
Leyan Lo·Oct 31, 2016How 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…
Leyan Lo·Aug 23, 2016Credit Card WorkflowThese are the steps I go through after receiving a new credit card in the mail.
Leyan Lo·May 12, 2015Useless 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…