Skip to content

Instantly share code, notes, and snippets.

Asier Illarramendi doup

Block or report user

Report or block doup

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View machine.js
const machine = Machine({
id: 'watch',
initial: 'displays',
states: {
displays: {
initial: 'time',
states: {
time: {
on: {
A_DOWN: 'alarm1',
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@doup
doup / machine.js
Last active Sep 27, 2019
Generated by XState Viz: https://xstate.js.org/viz
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@doup
doup / machine.js
Last active Sep 27, 2019
Generated by XState Viz: https://xstate.js.org/viz
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@doup
doup / machine.js
Last active Sep 26, 2019
Generated by XState Viz: https://xstate.js.org/viz
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@doup
doup / 00_example.php
Last active Apr 30, 2017
CarbonFields Transformer to get & cast values from a container
View 00_example.php
<?php
// Define the theme container
use \Carbon_Fields\Container;
use \Carbon_Fields\Field;
$theme_container = Container::make('theme_options', 'Theme')->add_fields([
Field::make('text', 'analytics_id', 'Google Analytics tracking ID'),
Field::make('text', 'maps_api_key', 'Google Maps API Key'),
// ...
]);
View keybase.md

Keybase proof

I hereby claim:

  • I am doup on github.
  • I am doup (https://keybase.io/doup) on keybase.
  • I have a public key ASBQesR9H0meF424Hll015NaP6uLGAJ__yAMISbgQoR7FQo

To claim this, I am signing this object:

@doup
doup / inspect.html
Created Oct 24, 2016
Chrome/Firefox element inspects element detection & bounding box
View inspect.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Inspector</title>
<meta name="description" content="The HTML5 Herald">
<meta name="author" content="SitePoint">
<style>
body {
width: 50%;
@doup
doup / todo.md
Last active Oct 27, 2016
Markdown TODO example
View todo.md

Example:

  • foo
  • bar
You can’t perform that action at this time.