Skip to content

Instantly share code, notes, and snippets.

@saabi
saabi / hpmt_gold_interim_v6.json
Created July 31, 2023 02:21
hpmt_gold_interim_v6
{
"hpmt_gold_interim_v6": {
"aliases": {},
"mappings": {
"properties": {
"@timestamp": {
"type": "date"
},
"@version": {
"type": "text",
@saabi
saabi / machine.js
Last active November 15, 2022 05:54
Generated by XState Viz: https://xstate.js.org/viz
Machine({
"id": "MapRoute",
"initial": "UnknownPlatform",
"states": {
"UnknownPlatform": {
"on": {
"CLIENT_DETECTED": {
"target": "PageLanding"
}
}
@saabi
saabi / machine.js
Created July 14, 2022 15:34
Generated by XState Viz: https://xstate.js.org/viz
Machine({
"id": "TestingBuilder",
"type": "parallel",
"context": {
"autoExecute": false,
"cached": false,
"hideDisabledAxes": true,
"hideDisabledAggs": false,
"hideDisabledDatasets": false,
"hideDisabledItems": true,
@saabi
saabi / machine.js
Last active February 17, 2022 02:58
Generated by XState Viz: https://xstate.js.org/viz
Machine({
id: "fetchManager",
initial: "idle",
context: {
inputs: {
asapUris: [],
nextUris: [],
uris: [],
},
data: {},
@saabi
saabi / machine.js
Last active February 17, 2022 02:57
Generated by XState Viz: https://xstate.js.org/viz
const fetchMachine = Machine({
id: "fileFetcher",
initial: "pending",
context: {
uri: ''
},
states: {
pending: {
on: {
CANCEL: {
@saabi
saabi / Example Gist Title
Last active July 22, 2021 16:48
A Gist that is updated multiple times in a GH action
{
"prop1": "a second report"
}
@saabi
saabi / machine.js
Last active December 22, 2020 19:17
Generated by XState Viz: https://xstate.js.org/viz
Machine({
"id": "Form",
"initial": "CheckingSelection",
"on": {
"SELECTION_CHANGED": {
"target": "CheckingSelection",
"actions": [
"clearQuery",
"setSelection",
"sendEdited",
@saabi
saabi / machine.js
Created August 19, 2020 15:39
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@saabi
saabi / machine.js
Last active September 29, 2020 16:10
Generated by XState Viz: https://xstate.js.org/viz
Machine({
"id": "TestingBuilder",
"type": "parallel",
"context": {
"autoExecute": false,
"cached": false,
"hideDisabledAxes": true,
"hideDisabledAggs": false,
"hideDisabledDatasets": false,
"hideDisabledItems": true,
@saabi
saabi / index.html
Last active December 8, 2016 22:05
Array Initialization Tests #jsbench #jsperf (http://jsbench.github.io/#1c61c959206599ac435b9abb26e09a34) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Array Initialization Tests #jsbench #jsperf</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>