Skip to content

Instantly share code, notes, and snippets.

View mi5ha's full-sized avatar

Misha Peric mi5ha

View GitHub Profile
@mi5ha
mi5ha / designer.html
Last active August 29, 2015 14:06
designer
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@mi5ha
mi5ha / designer.html
Created September 22, 2014 05:51
designer
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@mi5ha
mi5ha / designer.html
Created October 20, 2014 19:36
designer
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@mi5ha
mi5ha / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@mi5ha
mi5ha / machine.js
Created February 15, 2020 13:07
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@mi5ha
mi5ha / wordMachine.js
Last active February 15, 2020 13:16
Generated by XState Viz: https://xstate.js.org/viz
const wordMachine = Machine({
id: 'word',
type: 'parallel',
states: {
bold: {
initial: 'off',
states: {
on: {
on: { TOGGLE_BOLD: 'off' }
},
@mi5ha
mi5ha / dogFetcherMachine.js
Created February 20, 2020 09:08
Generated by XState Viz: https://xstate.js.org/viz
const dogFetcherMachine = Machine({
id: "dog fetcher",
initial: "idle",
context: {
dog: null,
error: null
},
states: {
idle: {
on: { FETCH: "loading" }