Skip to content

Instantly share code, notes, and snippets.

@zsimo
zsimo / gist:407529497616b76cdc5eec75b4bc20d2
Last active February 19, 2024 08:03
Trail Making Test Android App Privacy Policy

Privacy Policy

Simone Sacchi built the Trail Making Test app as a Free app. This SERVICE is provided by Simone Sacchi at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The App does not share any Personal Information.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Trail Making Test unless otherwise defined in this Privacy Policy.

@zsimo
zsimo / machine.js
Created June 29, 2020 12:28
Generated by XState Viz: https://xstate.js.org/viz
function isOk (context) {
return context.errors_counter < context.THRESHOLD;
}
function isOKAndShouldSendSolvedEmail (context, event) {
return !event.error && context.should_send_solved_email === true;
}
var machine = Machine({
id: 'error_manager',
@zsimo
zsimo / machine.js
Last active June 28, 2020 12:57
Generated by XState Viz: https://xstate.js.org/viz
function isOk (context) {
return context.errors_counter < 3;
}
function isOKAndShouldSendSolvedEmail (context, event) {
return !event.error && context.should_send_solved_email === true;
}
@zsimo
zsimo / machine.js
Last active June 26, 2020 20:03
Generated by XState Viz: https://xstate.js.org/viz
var error_manager = Machine(
{
id: 'error_manager',
initial: 'ready',
context: {
errors: 0,
},
states: {
ready: {
@zsimo
zsimo / machine.js
Created December 17, 2019 14:12
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@zsimo
zsimo / machine.js
Created December 17, 2019 13:28
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
$this->view->json_data = json_encode($json, JSON_HEX_APOS);
div {
background: lightblue;
height: 20px;
width: 200px;
margin: 2px;
}
@zsimo
zsimo / design-button.markdown
Created March 7, 2014 09:30
A Pen by Simone.
@zsimo
zsimo / dabblet.css
Created March 6, 2014 21:52
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
div {
height: 150px;
width: 150px;
transition: all 500ms ease;
}
.container {