| title | author | date | source | snippet | gist |
|---|---|---|---|---|---|
MSBuild Version Properties Cheatsheet |
natemcmaster |
September 18, 2019 |
Based on Stack Overflow
| <Project Sdk="Microsoft.NET.Sdk"> | |
| <PropertyGroup> | |
| <OutputType>Exe</OutputType> | |
| <TargetFramework>net6.0</TargetFramework> | |
| <ImplicitUsings>enable</ImplicitUsings> | |
| <Nullable>enable</Nullable> | |
| <AnalysisMode>AllEnabledByDefault</AnalysisMode> | |
| <AnalysisLevel>latest</AnalysisLevel> | |
| <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
| title | author | date | source | snippet | gist |
|---|---|---|---|---|---|
MSBuild Version Properties Cheatsheet |
natemcmaster |
September 18, 2019 |
Based on Stack Overflow
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Http; | |
| using Microsoft.Extensions.Hosting; | |
| public class Program | |
| { | |
| public static void Main(string[] args) => | |
| Host.CreateDefaultBuilder(args) | |
| .ConfigureWebHostDefaults(webBuilder => |
| // How to get the pickadate to mount correcty in React.js component | |
| // requires jQuery and pickadate.js (https://github.com/amsul/pickadate.js/) | |
| var Component = React.createClass({ | |
| getInitialState: function() { | |
| return ({value: null}); | |
| }, | |
| componentDidMount: function() { |
Place the supervisord.conf under .ebextensions/supervisor/
Place the supervisor.config under .ebextensions/
Place the data_import_consumer.conf under .ebextensions/supervisor/
| me=$(whoami) | |
| # Get Sudo. | |
| if [ $EUID != 0 ]; then | |
| sudo "$0" "$@" | |
| exit $? | |
| fi | |
| # Install Xcode command line tools. | |
| xcode-select --install |
npm install -g jspm@betajspm initjspm install angular2 reflect-metadata zone.js es6-shimThis will create a jspm_packages folder, and a config.js file.
Open the config.js file - this file manages options for the System.js loader - tweak it as appropriate
Hi Nicholas,
I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I led the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:
The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can't