Skip to content

Instantly share code, notes, and snippets.

@kaleb
kaleb / README.md
Created December 18, 2017 16:06
HTML comments

HTML Comments

Comment below

@kaleb
kaleb / .gitignore
Last active November 9, 2017 16:40
/node_modules
/jspm_packages
@kaleb
kaleb / js-main.js
Last active December 14, 2018 02:13
// @ts-check
import {Person} from './person.js';
const clippy = new Person('Clippy',
new Date(1996, 11 - 1, 19));
const rocky = new Person('Rocky',
9879879879879877);
@kaleb
kaleb / .vscode\settings.json
Created July 21, 2016 18:40
Lint Old PHP Using Docker For Visual Studio Code
{
"php.validate.executablePath": "scripts/php.sh"
}
@kaleb
kaleb / emphasis.md
Last active October 7, 2015 15:30
Markdown Emphasis

Yes, they DO!

Except snake_case. snake_case is ignored.

@kaleb
kaleb / README.md
Last active August 29, 2015 14:19
KO Component With foreach Binding

Purpose

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
kaleb / component-binding.html
Last active August 29, 2015 14:16
Knockout.js Custom Elements
<!DOCTYPE html>
<meta charset="utf-8">
<ul>
<li><a href=".">custom element</a></li>
<li><b>component binding</b></li>
<li><a href="template-binding.html">template binding</a></li>
</ul>
<hr />
<div data-bind="component: 'custom-element'">custom element loading...</div>
@kaleb
kaleb / README.md
Created December 4, 2014 02:46
This is a test. Please ignore.

Shoot me now.

@kaleb
kaleb / README.md
Created August 27, 2014 11:48
Example Submodule

This is my example git submodule.

@kaleb
kaleb / .gitmodules
Last active August 29, 2015 14:05
Example Parent Repo
[submodule "sub"]
path = sub
url = git@gist.github.com:/cce0551e8ce7f1856196.git