This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Airbnb Style Guide refactor | |
| * - set of pure composable functions for returning change of an amount from a register | |
| * - all functions are pure, self-containing, side-effect free... enforcing the Airbnb immutable rule | |
| * - each function is referential transparent, testable, parallelizable, cacheable | |
| */ | |
| /** | |
| * takes an amount, an initial list, and a list of coins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Created by tyson on 14/1/2016. | |
| * | |
| * Process: | |
| * My initial thought was to use the LinkedList API (java.util.LinkedList) | |
| * This was a problem though, as the we need a singly linked list, | |
| * java.util.LinkedList has the operations of a doubly linked list. | |
| * So I created my own singly LinkedList for this assignment. | |
| * | |
| * The method I chose for finding the kth node from the end of the LinkedList |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Author: Tyson Bruhn | |
| * | |
| * @func | |
| * @param {String} prefix The initial prefix string. | |
| * @return {[String, Float]} An array with the infix string and the mathematical solution | |
| * @example | |
| * preInfix("+52-3"); //=> "["(5+2)-3",4]" | |
| **/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible " Must come first because it changes other options. | |
| map <Leader>m <Plug>MakeGreen | |
| let g:rubytest_in_quickfix = 1 | |
| let g:LustyJugglerSuppressRubyWarning = 1 | |
| silent! call pathogen#runtime_append_all_bundles() | |
| syntax enable " Turn on syntax highlighting. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'net/http' | |
| require 'uri' | |
| require 'json' | |
| require 'csv' | |
| require 'active_support/all' | |
| auth = [] | |
| puts "API user key? " |