Coburn Berry

Coburn Berry
Posted by Coburn Berry
June 20, 2016

Looping in Elixir

Examine a for loop in JavaScript: 

function lameLoopingCountdown (times) {
  for (var i = times; i > 0; i = i - 1 ){
    console.log(i)
  }
  console.log("boom")
} 
 

This loop makes two assumptions about mutability:

Read More
Coburn Berry
Posted by Coburn Berry
June 1, 2015

Useful Development and Debugging Tips for Ruby on Rails

Make Development Server Available To Outside Requests

Problem: You are developing an api and want to make it available to receive requests from your colleagues without pushing your changes to your Staging server. Solution: Assuming you are all on the same network, you can make machine available to receive requests by following the steps below.

Read More