Skip to content

Instantly share code, notes, and snippets.

View dxlbnl's full-sized avatar

Dexter dxlbnl

View GitHub Profile
@dxlbnl
dxlbnl / file1.txt
Last active February 26, 2018 13:19 — forked from anonymous/file1.txt
the description for this gist
Hoi Alexandros
@dxlbnl
dxlbnl / App.html
Created February 8, 2018 09:56 — forked from anonymous/App.html
Game of Life in 6's
<svg viewBox="0 0 100 130">
<defs>
<pattern id="pattern" width="{{patternWidth}}" height="{{patternHeight}}" patternUnits="userSpaceOnUse">
<path fill="url(#pattern)" stroke-width=".1" d="M0 {{gridHeight}}0h{{patternWidth}}"/>
<path fill="url(#pattern)" stroke-width=".1" d="M0 {{patternHeight}}h{{patternWidth}}"/>
<path fill="url(#pattern)" stroke-width=".1" d="M0 0h{{patternWidth}}"/>
<path fill="url(#pattern)" stroke-width=".1" d="M0 {{patternHeight}}L{{patternWidth}} 0"/>
<path fill="url(#pattern)" stroke-width=".1" d="M0 0L{{patternWidth}} {{patternHeight}}"/>
</pattern>
</defs>
@dxlbnl
dxlbnl / component.html
Last active January 19, 2017 15:35 — forked from Rich-Harris/component.html
Clock
<svg viewBox='0 0 100 100'>
<!-- first create a group and move it to 50,50 so
all co-ords are relative to the center -->
<g transform='translate(50,50)'>
<circle class='clock-face' r='48'/>
<!-- markers every minute (major markers every 5 minutes) -->
{{#each minor as tick, i}}
<line class='minor' y1='42' y2='45' transform='rotate( {{