Apr 30, 2021React Native through the lens of a React Web App developerI have recently started converting a few of my React web apps to React Native and I’ve really enjoyed how straight forward the process has been. Most of the learning has just been finding out which HTML tags correspond to which React Native components. Any logic of state or loading…React4 min readReact4 min read
Feb 2, 2021Fibo and MemoA common theme in dynamic programming algorithm questions on Leetcode or in job interviews, is that the underlying problem is some twist on or manipulation of the numbers of the Fibonacci sequence. The Fibonacci sequence is a series of numbers where the next number is the sum of the previous…Algorithms3 min readAlgorithms3 min read
Dec 1, 2020What is a Promise?Have you ever tried to set the results of a fetch to a variable, but once you run your code the variable does not contain any data you hoped to get back? If you log your variable to the console or check it in a debugger, you may notice your…JavaScript4 min readJavaScript4 min read
Nov 23, 2020Hiding keys and secrets in Ruby on RailsWhen creating a Ruby on Rails backend, you may want to utilize an external API or set up JWT. In the case of an external API you will likely need an API key when making requests to the server. If this key is exposed to the public and someone were…Rails3 min readRails3 min read
Nov 9, 2020Converting a Rails database from SQLite to PostgreSQLYou may have set up a Rails project using the default values, but now want to deploy it to a hosting site such as Heroku. If you follow the instructions on Heroku to push your project to their site you may receive the following error: …Rails6 min readRails6 min read
Published inThe Startup·Oct 13, 2020Selecting Elements in the DOM With JavascriptAs your webpage grows in size, it may become more difficult to grab the elements you’d like to edit. Javascript gives you multiple powerful tools to select the items you’re looking for, but it can be confusing on which one to use. …JavaScript5 min readJavaScript5 min read
Oct 5, 2020Loading Excel Data Into an ActiveRecord DatabaseDo you have a large excel file that you would like to get into your ruby program or rails database? There’s a gem for that! Either install the csv gem and require it, or add it to your Gemfile. $ gem install csv #in your .rb file require ‘csv’ or…Ruby3 min readRuby3 min read