Skip to content

Instantly share code, notes, and snippets.

/*{
"CATEGORIES": [
"XXX"
],
"CREDIT": "",
"INPUTS": [
{
"DEFAULT": 0,
"NAME": "width",
"TYPE": "float"

Terms & Conditions

By downloading or using the app, these terms will automatically apply to you – you should make sure therefore that you read them carefully before using the app. You’re not allowed to copy, or modify the app, any part of the app, or our trademarks in any way. You’re not allowed to attempt to extract the source code of the app, and you also shouldn’t try to translate the app into other languages, or make derivative versions. The app itself, and all the trade marks, copyright, database rights and other intellectual property rights related to it, still belong to Tekim Digital Limited.

Tekim Digital Limited is committed to ensuring that the app is as useful and efficient as possible. For that reason, we reserve the right to make changes to the app or to charge for its services, at any time and for any reason. We will never charge you for the app or its services without making it very clear to you exactly what you’re paying for.

The Flourish Companion App app stores and processes personal

This is for internal use.
@miketamis
miketamis / machine.js
Created October 3, 2019 23:00
Generated by XState Viz: https://xstate.js.org/viz
function testOnPage(className) {
return async ({ rendered }) => {
await wait(() => expect(rendered.container.querySelector(className)).toBeInTheDocument());
};
}
async function testLoading({ rendered: { container, getByText, history, debug } }) {
await wait(() => expect(getByText('Loading...')).toBeInTheDocument(), { container });
}
@miketamis
miketamis / machine.js
Last active July 15, 2019 23:31
Generated by [XState Viz](https://xstate.js.org/viz)
const fetchUser = userId => new Promise((resolve, reject) => {
setTimeout(() => {
reject({'name': "Mike"})
}, 1000)
});
const userMachine = Machine({
id: 'user',
initial: 'idle',
interface Node {
type: string;
loc: SourceLocation | null;
}
interface SourceLocation {
source: string | null;
start: Position;
end: Position;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@miketamis
miketamis / From-Scratch-RCA.md
Last active June 1, 2018 02:11
What I would want from a React Create App

React Create App is great, and one of the biggest things making React more accessable. However I use more toolsets and different ones.

Requirements

Development Tools:

  • Automatic Page Reload
  • Hot Reloading
  • Intergration into text editor (at least VSCode, with its debug tools)
  • Static analysis for
  • general javascript tidyness / common problem (indentation, not assigning the right varibles etc)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.