Skip to content

Instantly share code, notes, and snippets.

View timfish's full-sized avatar

Tim Fish timfish

  • Freelance
  • 02:05 (UTC +02:00)
View GitHub Profile
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "chrome",
"request": "launch",
"port": 9222,
"sourceMaps": true,
"internalConsoleOptions": "openOnSessionStart",
@timfish
timfish / app.html
Last active October 31, 2017 10:57
DI inheritance
<template>
<h2>My parent id: ${id}</h2>
<pre repeat.for="each of someObject">
each.id: ${each.id}
id: ${id}
$parent.id: ${$parent.id}
</pre>
@timfish
timfish / app.html
Last active October 31, 2017 15:32 — forked from jdanyow/app.html
Aurelia Gist
<template>
<require from="./svg-rect"></require>
<svg width="100" height="100" style="background-color:lightblue">
<rect></rect>
</svg>
</template>
@timfish
timfish / app.html
Last active October 31, 2017 15:43
Aurelia Gist
<template>
<require from="./svg-rect"></require>
<svg width="100" height="100" style="background-color:lightblue">
<svg-rect rect.bind="{x: 5, y: 5, width: 30, height: 20}"></svg-rect>
</svg>
</template>
@timfish
timfish / app.html
Last active October 31, 2017 15:47
remove svg wrappers
<template>
<require from="./svg-rect"></require>
<svg width="100" height="100" style="background-color:lightblue">
<svg-rect rect.bind="{x: 5, y: 5, width: 30, height: 20}"></svg-rect>
</svg>
</template>
@timfish
timfish / app.css
Created November 22, 2017 12:57
ai-dialog-open blur
body.ai-dialog-open #main-content {
filter: blur(3px);
}
ai-dialog-overlay {
background-color: rgba(0,0,0,.2);
}
@timfish
timfish / app.html
Created July 31, 2018 17:45
remove svg wrappers
<template>
<require from="./svg-rect"></require>
<svg width="100" height="100" style="background-color:lightblue">
<svg-rect rect.bind="{x: 5, y: 5, width: 30, height: 20}"></svg-rect>
</svg>
</template>
@timfish
timfish / app.html
Created July 31, 2018 17:45
remove svg wrappers
<template>
<require from="./svg-rect"></require>
<svg width="100" height="100" style="background-color:lightblue">
<svg-rect rect.bind="{x: 5, y: 5, width: 30, height: 20}"></svg-rect>
</svg>
</template>
@timfish
timfish / app.html
Last active August 1, 2018 12:18
remove svg wrappers
<template>
<require from="./select-component"></require>
<select-component selected.bind="selected"></select-component>
<div>
Selected: ${selected.name}
</div>
</template>
@timfish
timfish / index.html
Created April 29, 2020 15:02
autonumeric
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dumber Gist</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<base href="/">
</head>
<!--
Dumber gist uses dumber bundler, the default bundle file