- Small tests should force code to be more modular
- Helps you learn and understand the key components of modular design
- Better architecture by-proxy; by making sure all our code is unit testable we
- Have to have proper modularization as above
- Are more likely to surface architectural issues earlier
- Code is easier to maintain, refactor and even rewrite because we have a baseline of
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
scriptencoding utf-8 | |
" Colourscheme setting | |
colorscheme OceanicNext | |
" Airline config | |
" {{{ | |
let g:airline_theme='oceanicnext' | |
let g:airline_left_sep = '▓▒░' | |
let g:airline_right_sep = '░▒▓' | |
let g:airline_section_z = '%2p%% %2l/%L:%2v' |
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
make CTPC=yes kingly_keys/romac:default | |
QMK Firmware 0.7.97 | |
Making kingly_keys/romac with keymap default | |
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599] | |
Copyright (C) 2019 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
Compiling: tmk_core/common/chibios/bootloader.c In file included from ./lib/chibios/os/common/ext/CMSIS/ST/STM32F3xx/stm32f303xc.h:168, |
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
make kingly_keys/romac:default:flash | |
QMK Firmware 0.7.97 | |
Making kingly_keys/romac with keymap default and target flash | |
avr-gcc (GCC) 8.3.0 | |
Copyright (C) 2018 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
Size before: |
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
" ============================================================================= Setup ============================================================================= | |
" | |
" Allow the neovim Python plugin to work inside a virtualenv, by manually | |
" specifying the path to python2. This variable must be set before any calls to | |
" `has('python')`. | |
if has('nvim') | |
let g:python_host_prog='/usr/bin/python2.7' | |
let g:python3_host_prog='/usr/bin/python3' | |
set termguicolors |
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
class Baby | |
attr_reader :baby_thing | |
BABY_THINGS = [ | |
'poop', | |
'sleep', | |
'cry', | |
'eat', | |
'burp', | |
'throw up', |
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
Bundler 1.6.3 | |
Ruby 2.1.1 (2014-02-24 patchlevel 76) [x86_64-darwin13.0] | |
Rubygems 2.2.2 | |
GEM_HOME | |
Bundler settings | |
jobs | |
Set for the current user (/Users/ryan/.bundle/config): "3" | |
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
Bundler 1.7.0 | |
Ruby 2.1.1 (2014-02-24 patchlevel 76) [x86_64-darwin13.0] | |
Rubygems 2.2.2 | |
GEM_HOME | |
Bundler settings | |
jobs | |
Set for the current user (/Users/ryan/.bundle/config): "3" | |
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
# A sample Guardfile | |
# More info at https://github.com/guard/guard#readme |
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
source 'http://rubygems.org' | |
# Backend | |
gem "pg" | |
gem "protected_attributes" | |
gem "therubyracer", :group => :production | |
# Development and test tools | |
# TODO: Something is depending on this in production |
NewerOlder