Javascript: Node Package Manager (NPM)

What are NPM’s Set Up In this blog we will cover what NPM is and what they do in an abstract manner that serves to give context so that reader can gain a basic understanding. If the reader is just starting to use React or learning Javascript or new to programming in general, then thisContinue reading “Javascript: Node Package Manager (NPM)”

Javascript Oddities

‘Null’ and ‘undefined’ ‘objects objects objects’ Number or String? if it an Array? typeof function fun After learning of a few weird ‘bugs’ that javascript produces, I became intrigued and thought it would be fun to look for more of these cases. This is by no means a full list but just some examples IContinue reading “Javascript Oddities”

Ruby on Rails: Seeding Data

Before we begin… (pre-intro) Intro Faker Other ways to seed… Outro Before we begin, make sure that you have your tables (schema) set up and their associations. Click on the next two links if you need a little help with that. https://guides.rubyonrails.org/active_record_migrations.html https://guides.rubyonrails.org/association_basics.html Creating a rails app/website requires a lot of coordination between a lotContinue reading “Ruby on Rails: Seeding Data”

Ruby: ‘ampersand’, ‘and’, ‘pipes’, and ‘or’

&& vs ‘and’ with examples || vs ‘or’ with examples The case for and/or in Ruby There are many secrets to be unlocked from using `and` and `or`, but for the purpose of their introduction to a new Ruby coder, we will cover their general usage and direct relatability/substitution of `&&` and `||`. Most programmersContinue reading “Ruby: ‘ampersand’, ‘and’, ‘pipes’, and ‘or’”

Design a site like this with WordPress.com
Get started