I found so many overcomplicated solutions to solve this, so I wanted to share a simplistic solution that I use. My goal: Let the user download an audio file that is stored in AWS by clicking on a download icon.
STEP 1: Download Node.js and run the install https://nodejs.org/en/ STEP 2: In Sublime, go to Tools > Build System > New Build System and paste the following code:
Make sure this is the only code you see. STEP 3: Save the file as “node.sublime-build” in the default “user” folder, which should already be populated for you. If you receive a [Errno 2] error when trying…
There are so many coding boot camps popping up everywhere and it makes it really difficult to choose the right one. Especially when most of them cost thousands of dollars. After starting and leaving 4 online boot camps and turning down 2 of the top in-person boot camps, I can 100% highly recommend The Firehose Project. This school is amazing on so many levels and I’m excited to tell…
FOOBAR in Ruby Here’s how I solved the FOOBAR challenge using Ruby and why I did it this way. If you’re unfamiliar with this challenge, you’re goal is to have the computer print out a list of numbers from 1 to (whatever). When the number is divisible by 3, replace that number with FOO and when the number is divisible by 5, replace that number with…
Here is a basic understanding of the .select and .map methods with real world analogies and coding examples.
.select takes a block and creates a new array of the items the block evaluates to true only.
.mapaka.collect takes a block and creates a new array with all the items modified by the block. ** Map and Collect are exactly the same. Example
Normalize.css Makes browsers render all elements more consistently and in line with modern standards. It precisely targets only the styles that need normalizing. Makes elements consistent across all browsers – a foundation to start from. Nicolas Gallagher’s normalize.css is used by companies like Twitter, Github, and Soundcloud. Reset.css Reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on. Removes…