Skip to content

Instantly share code, notes, and snippets.

View johnculviner's full-sized avatar
💻
Coding, duh

John Culviner johnculviner

💻
Coding, duh
View GitHub Profile
@johnculviner
johnculviner / jsconfigjson
Last active August 14, 2019 19:42
jsconfigjson
{
"compilerOptions": {
"target": "ES6",
"lib": ["es2017"],
"module": "commonjs",
"allowSyntheticDefaultImports": true,
"baseUrl": "./src/",
"checkJs": true,
"jsx": "react",
"paths": {
/**
* Whole House Fan II
*
* Copyright 2017 John Culviner
*
* MIT LICENSE
*/
definition(
name: "Whole House Fan II",
namespace: "culviner",
@johnculviner
johnculviner / TodoList.cshtml.template-snippet
Created October 25, 2013 02:01
Code for the post ILM blog post Building Rich Web Apps: jQuery & MVC vs. Angular.js & WebAPI
<tr>
<td>
<input data-val="true" data-val-required="The IsCompleted field is required." id="Items_###__IsCompleted" name="Items[###].IsCompleted" type="checkbox" value="false" >
<input name="Items[###].IsCompleted" type="hidden" value="false">
<span class="field-validation-valid" data-valmsg-for="Items[###].IsCompleted" data-valmsg-replace="true"></span>
</td>
<td>
<input data-val="true" data-val-required="The Task field is required." id="Items_###__Task" name="Items[###].Task" type="text" >
<span class="field-validation-valid" data-valmsg-for="Items[###].Task" data-valmsg-replace="true"></span>
</td>