Notes by Craig Phillips
- There are 11 fallacies of Distributed Computing:
- The network is reliable
- Latency isn’t a problem
- Bandwidth isn’t a problem
- The network is secure
- The topology won’t change
| # Create a new self signed HTTPS Certificate for IIS Express | |
| # Crafted with all organic, GMO, gluten free ingreditations | |
| # with an artisinal SAN to make Chrome 58 onwards happy. | |
| # | |
| # See https://bugs.chromium.org/p/chromium/issues/detail?id=308330 | |
| # | |
| # Run this at an administrative PowerShell prompt. | |
| # | |
| # You will be prompted to trust a new certificate via a windows dialog. | |
| # Click yes otherwise Visual Studio will not be able to determine your |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
| namespace SecretOrange | |
| { | |
| [HtmlTargetElement("a", Attributes = "asp-conditional")] | |
| public class ConditionalAnchorTagHelper : TagHelper | |
| { | |
| public override async void Process(TagHelperContext context, TagHelperOutput output) | |
| { | |
| var href = context.AllAttributes["href"]?.Value.ToString(); | |
| if (String.IsNullOrWhiteSpace(href)) |
| // | |
| // Badge.cs | |
| // Created by Alexey Kinev on 19 Jan 2015. | |
| // | |
| // Licensed under The MIT License (MIT) | |
| // http://opensource.org/licenses/MIT | |
| // | |
| // Copyright (c) 2015 Alexey Kinev <[email protected]> | |
| // | |
| using System; |
| <!-- _LAYOUT.CSHTML --> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>@ViewBag.Title - My ASP.NET Application</title> | |
| @Styles.Render("~/Content/css") | |
| @Scripts.Render("~/bundles/modernizr") |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| // Copyright (c) 2012 Daniel Grunwald | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy of this | |
| // software and associated documentation files (the "Software"), to deal in the Software | |
| // without restriction, including without limitation the rights to use, copy, modify, merge, | |
| // publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons | |
| // to whom the Software is furnished to do so, subject to the following conditions: | |
| // | |
| // The above copyright notice and this permission notice shall be included in all copies or | |
| // substantial portions of the Software. |