Skip to content

Instantly share code, notes, and snippets.

View jdanyow's full-sized avatar
💭
Confirming my whereabouts

Jeremy Danyow jdanyow

💭
Confirming my whereabouts
View GitHub Profile
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="C:\chrome\dev-sessions\perf" --enable-precise-memory-info --enable-benchmarking --js-flags="--expose-gc"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="C:\chrome\dev-sessions\cors" --disable-web-security
@jdanyow
jdanyow / index.html
Last active February 22, 2016 00:22
ModifySetObserver - grab refs to Set modifier methods
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
Look at <code>script.js</code>...
<script src="script.js"></script>
@jdanyow
jdanyow / index.html
Created February 22, 2016 12:55
Alex the CSS Husky by David Khourshid http://codepen.io/davidkpiano/pen/wMqXea
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GistRun</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="husky">
<div class="mane">
<template>
<input keydown.trigger="handleKeydown($event)">
</template>
@jdanyow
jdanyow / app.html
Last active March 6, 2016 04:44
Aurelia - Search Input
<template>
<require from="./search"></require>
<search execute.call="doSearch(query)" delay.bind="400"></search>
<ul>
<li repeat.for="query of queries">${query}</li>
</ul>
</template>
<template>
<require from="./number-formatter"></require>
<input type="text" value.bind="value | numberFormat & updateTrigger:'blur'"/>
<br/> value: ${value}
</template>
@jdanyow
jdanyow / app.html
Last active March 6, 2016 04:45
Aurelia - AccessMember automatically creates objects
<template>
<require from="./debug"></require>
<button click.delegate="toggle()">toggle</button>
<input if.bind="show" value.bind="foo.bar">
<debug></debug>
</template>
<template>
<require from="./panel"></require>
<panel repeat.for="panel of panels"
header-text.bind="panel" close.call="close($index)">
Panel ${panel} Content
</panel>
</template>
@jdanyow
jdanyow / app.html
Last active March 6, 2016 04:47
Aurelia - Creating a wrapper around a compose binding and bind to the composed view model
<template>
<require from="./widget-wrapper"></require>
<widget-wrapper module-name="foo"></widget-wrapper>
</template>