Skip to content

Commit

Permalink
Initial commit - days 1 to 6
Browse files Browse the repository at this point in the history
  • Loading branch information
jongeorge1 committed Feb 18, 2019
0 parents commit cc04df5
Show file tree
Hide file tree
Showing 42 changed files with 5,104 additions and 0 deletions.
70 changes: 70 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Code style rules for enforcing the endjin house style
# See: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
[*.cs]

# Core editorconfig formatting - indentation

# use soft tabs (spaces) for indentation
indent_style = space

# Formatting - indentation options

csharp_indent_case_contents = true
csharp_indent_switch_labels = true

# Formatting - new line options

csharp_new_line_before_catch = true
csharp_new_line_before_else = true
csharp_new_line_before_open_brace = object_collection, object_collection_array_initalizers, accessors, lambdas, control_blocks, methods, properties, types

# Formatting - organize using options

dotnet_sort_system_directives_first = true

# Formatting - spacing options

csharp_space_after_cast = false
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_parameter_list_parentheses = false

# Formatting - wrapping options

csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = true


# Style - expression bodied member options

csharp_style_expression_bodied_accessors = false:none
csharp_style_expression_bodied_constructors = false:none
csharp_style_expression_bodied_methods = false:none
csharp_style_expression_bodied_properties = false:none

# Style - expression level options

csharp_style_inlined_variable_declaration = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion

# Style - implicit and explicit types

csharp_style_var_for_built_in_types = false:warning
csharp_style_var_when_type_is_apparent = true:warning
csharp_style_var_elsewhere = false:warning

# Style - language keyword and framework type options

dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion

# Style - qualification options

dotnet_style_qualification_for_field = true:suggestion
dotnet_style_qualification_for_method = true:suggestion
dotnet_style_qualification_for_property = true:suggestion
dotnet_style_qualification_for_event = true:suggestion
54 changes: 54 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just comment the entries below and
# uncomment the group further below
###############################################################################

*.sln text eol=crlf
*.csproj text eol=crlf
*.vbproj text eol=crlf
*.vcxproj text eol=crlf
*.vcproj text eol=crlf
*.dbproj text eol=crlf
*.fsproj text eol=crlf
*.lsproj text eol=crlf
*.wixproj text eol=crlf
*.modelproj text eol=crlf
*.sqlproj text eol=crlf
*.wmaproj text eol=crlf

*.xproj text eol=crlf
*.props text eol=crlf
*.filters text eol=crlf
*.vcxitems text eol=crlf

*.json text

#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

#*.xproj merge=binary
#*.props merge=binary
#*.filters merge=binary
#*.vcxitems merge=binary
195 changes: 195 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates
local.settings.json
Configuration.json

# Build results
Drops/
BuildArtefacts/
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
#build/
bld/
[Bb]in/
[Oo]bj/

# Endjin .d.ts
Endjin.*.d.ts
Vellum.*.d.ts

# Roslyn cache directories
*.ide/
*.vs/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

#NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding addin-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# If using the old MSBuild-Integrated Package Restore, uncomment this:
#!**/packages/repositories.config
# except solution packages projects
!**/Cms/Packages/*
/
# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
# [Ss]tyle[Cc]op.* <-- We want the stylecop config files
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
MSDeploy/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/
37 changes: 37 additions & 0 deletions AdventOfCode2018.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28306.52
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AoC2018.Solutions", "AoC2018.Solutions\AoC2018.Solutions.csproj", "{875441A6-700B-4CD1-BDEB-FF84A5ACFC47}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AoC2018.Tests", "AoC2018.Tests\AoC2018.Tests.csproj", "{40846808-9418-4723-A857-4580585942DD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AoC2018.Runner", "AoC2018.Runner\AoC2018.Runner.csproj", "{B3438CDA-5A64-451D-B446-F0778FD0F597}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{875441A6-700B-4CD1-BDEB-FF84A5ACFC47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{875441A6-700B-4CD1-BDEB-FF84A5ACFC47}.Debug|Any CPU.Build.0 = Debug|Any CPU
{875441A6-700B-4CD1-BDEB-FF84A5ACFC47}.Release|Any CPU.ActiveCfg = Release|Any CPU
{875441A6-700B-4CD1-BDEB-FF84A5ACFC47}.Release|Any CPU.Build.0 = Release|Any CPU
{40846808-9418-4723-A857-4580585942DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{40846808-9418-4723-A857-4580585942DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{40846808-9418-4723-A857-4580585942DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{40846808-9418-4723-A857-4580585942DD}.Release|Any CPU.Build.0 = Release|Any CPU
{B3438CDA-5A64-451D-B446-F0778FD0F597}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B3438CDA-5A64-451D-B446-F0778FD0F597}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B3438CDA-5A64-451D-B446-F0778FD0F597}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B3438CDA-5A64-451D-B446-F0778FD0F597}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1940F7C8-FECC-4F11-8FEB-19EC03C47C37}
EndGlobalSection
EndGlobal
Loading

0 comments on commit cc04df5

Please sign in to comment.