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
Link to presentation: https://github.com/iancooper/Presentations/blob/master/Clean%20Architecture.pptx | |
Link to GH repo: https://github.com/iancooper/CA-Tutorial/tree/clean_architecture_start | |
Order of branches: | |
clean_architecture_start | |
clean_architecture_facade | |
clean_architecture_with_isp | |
clean_architecture_with_commands | |
clean_architecture_with_handlers | |
Ian's TDD talk: https://vimeo.com/68375232 |
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
{ | |
"$schema": "http://json.schemastore.org/proxies", | |
"proxies": { | |
"index": { | |
"matchCondition": { | |
"route": "/", | |
"methods": [ | |
"GET", | |
"HEAD" | |
] |
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/bash | |
set -e | |
GVERSION="1.9.2" | |
GFILE="go$GVERSION.linux-amd64.tar.gz" | |
GOPATH="$HOME/projects/go" | |
GOROOT="/usr/local/go" | |
if [ -d $GOROOT ]; then | |
echo "Installation directories already exist $GOROOT" |
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
UBIQUITI NETWORKS UBI-UAP-AC-PRO 24/5Ghz 450/1300Mbps 122m (newer access point but maybe overkill https://unifi-shd.ubnt.com/) | |
UBIQUITI Networks UniFi Cloud Key Controller | |
UBIQUITI Networks Unifi Security Gateway Router | |
UBIQUITI US-8-60W UniFi 8 Port Switch |
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
param ( | |
[Parameter(Mandatory=$true)][ValidateSet("windows","linux")] [string]$targetDaemon ) | |
$daemon = "*"+$targetDaemon.ToLower()+"*"; | |
$dockerver = Docker version | Select -Last 2 | |
#$dockerver = Docker version | |
if ($dockerver -like $daemon) | |
{ |
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
// Add framework services. | |
services.AddMvc(options => | |
{ | |
var json = options.OutputFormatters | |
.OfType<JsonOutputFormatter>() | |
.FirstOrDefault(); | |
if (json != null) | |
{ | |
json.SerializerSettings.ContractResolver = | |
new CamelCasePropertyNamesContractResolver(); |