Skip to content

Instantly share code, notes, and snippets.

kaleb /
Created Dec 18, 2017
HTML comments

HTML Comments

Comment below

View .gitignore
View js-main.js
// @ts-check
import {Person} from './person.js';
const clippy = new Person('Clippy',
new Date(1996, 11 - 1, 19));
const rocky = new Person('Rocky',
kaleb / .vscode\settings.json
Created Jul 21, 2016
Lint Old PHP Using Docker For Visual Studio Code
View .vscode\settings.json
"php.validate.executablePath": "scripts/"
kaleb /
Last active Oct 7, 2015
Markdown Emphasis

Yes, they DO!

Except snake_case. snake_case is ignored.

kaleb /
Last active Aug 29, 2015
KO Component With foreach Binding


I would like to be able to have a Knockout custom component that can have either static content or dynamic content using the foreach binding.

view demo

kaleb / component-binding.html
Last active Aug 29, 2015
Knockout.js Custom Elements
View component-binding.html
<!DOCTYPE html>
<meta charset="utf-8">
<li><a href=".">custom element</a></li>
<li><b>component binding</b></li>
<li><a href="template-binding.html">template binding</a></li>
<hr />
<div data-bind="component: 'custom-element'">custom element loading...</div>
kaleb /
Created Dec 4, 2014
This is a test. Please ignore.

Shoot me now.

kaleb /
Created Aug 27, 2014
Example Submodule

This is my example git submodule.

kaleb / .gitmodules
Last active Aug 29, 2015
Example Parent Repo
View .gitmodules
[submodule "sub"]
path = sub
url =