- Learn and Understand SOLID - https://code.tutsplus.com/series/the-solid-principles--cms-634
- Get inspired by Architecture - https://www.youtube.com/watch?v=hALFGQNeEnU
- Practical Object-Oriented Design in Ruby - http://www.poodr.com/
- Domain-Driven Design - https://www.amazon.com/Domain-Driven-Design-Tackling-Complexity-Software/dp/0321125215
- And most of the stuff here - https://github.com/GrokInteractive/compendium/blob/master/Learning%20Resources/README.md
This file contains 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
// Download http://cdnjs.cloudflare.com/ajax/libs/json3/3.3.2/json3.js | |
// and save as json3.js in the same directory as this script | |
// | |
// Move the new images and Contents.json into | |
// Assets.xcassets/AppIcon.appiconset/ | |
#include "json3.js" | |
var manifest = [ | |
{ |
This file contains 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
TDD | |
1. What is TDD? | |
- Red, Green, Refactor | |
2. What about BDD? | |
3. CQRS | |
4. Incoming Queries (Fibonacci) | |
- Fibonacci | |
+ 0 => 0 | |
+ 1 => 1 |
This file contains 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
def fizz_buzz(start, final) | |
set = {} | |
normal_values = [*start..final] | |
fizz_values = [*((start - start % 3)..final).step(3)] | |
buzz_values = [*((start - start % 5)..final).step(5)] | |
fizz_buzz_values = [*((start - start % 15)..final).step(15)] | |
normal_values.each do |number| | |
set[number] = number |
This file contains 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
var buttons = document.getElementsByTagName('button'); | |
var display = document.getElementById('display'); | |
var currentValue = 0; | |
var operand = 0; | |
var operator = '='; | |
var previousClicked = '='; | |
var cleared = true; | |
/** | |
* Given a button value, preform the correct operation and update the display |
This file contains 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
function rot13(string) { | |
var set = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; | |
var translation = ''; | |
var string_length = string.length; | |
var position; | |
for (var index = 0; index < string_length; index++) { | |
position = set.indexOf(string[index]); | |
if (position >= 0) { |
This file contains 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
#!/bin/sh | |
# Backup of git directories | |
DIRECTORIES=( | |
"/Users/josh/EncFS-Decrypted/Finances" | |
); | |
DATE=`date -u`; | |
# For each directory in the directories array, |
NewerOlder