This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react' | |
import { setConfig } from 'react-hot-loader' | |
let style = { | |
position: 'fixed', | |
cursor: 'pointer', | |
top: 0, | |
right: 0, | |
background: 'green', | |
color: 'white', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User Registration | |
Pending* | |
startConfirmationFlow -> Confirmation Flow | |
deny -> Denied | |
Confirmation Flow | |
Fetch Customer Brands | |
brandsReceived -> Approved | |
empty -> Partner has no brands | |
failed -> Api Error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ghostscript command to remove the password from an encrypted pdf document. | |
# Replace ENCRYPTED.pdf with the path to your password protected pdf file. | |
# The unencrypted file is created as OUTPUT.pdf in the same directory. | |
# Install Ghostscript on the Mac with brew install gs | |
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=OUTPUT.pdf -c .setpdfwrite -f ENCRYPTED.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BulkPurchaseInquiryForm& | |
data | |
invalid* | |
VALID_DATA -> valid | |
valid | |
INVALID_DATA -> invalid | |
RESET -> invalid | |
input | |
pristine* | |
USER_INPUT -> dirty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
root: true, | |
env: { | |
node: true | |
}, | |
extends: [ | |
'prettier', | |
'plugin:@typescript-eslint/recommended', | |
'prettier/@typescript-eslint', | |
'plugin:prettier/recommended', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream node-app { | |
# Enable this to use theserver running inside docker | |
# server node-app:3000; | |
# Enable this to use the (development) server running on your localhost | |
server host.docker.internal:3000; | |
} | |
server { | |
location / { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"1": { | |
"entity_id": "1", | |
"type_id": "simple", | |
"sku": "dress_test", | |
"status": "1", | |
"visibility": "4", | |
"tax_class_id": "2", | |
"weight": "1.0000", | |
"price": "1500.0000", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<div id="⚛️"></div> | |
<script src="https://unpkg.com/[email protected]/umd/react.development.js"></script> | |
<script src="https://unpkg.com/[email protected]/umd/react-dom.development.js"></script> | |
<script src="https://unpkg.com/[email protected]/babel.js"></script> | |
<script type="text/babel"> | |
ReactDOM.render(<div>Hello World!</div>, document.getElementById('⚛️')) | |
</script> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
blog: | |
image: jekyll/jekyll | |
command: jekyll serve --livereload | |
ports: | |
- "4000:4000" | |
- "35729:35729" | |
volumes: | |
- .:/srv/jekyll |
NewerOlder