const PERMITTED_REORDER = 0b1111010111; // acceptableState
contactEmail: 1 // 0b0000000001 t
contactName: 2 // 0b0000000010 t
contactPhone: 4 // 0b0000000100 t
deliveryWindow: 8 // 0b0000001000 false
endDate: 16 // 0b0000010000 t
jobsiteAddress: 32 // 0b0000100000 false
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
let csvAtom = Recoil.atom({key: "csvAtom", default: Belt.Map.String.empty}) | |
let headers = ( | |
`codigo`, | |
`descripcion`, | |
`cantidad requerida`, | |
) | |
module CsvButton = { | |
type makeCsvData = {fields: array<string>, data: array<array<string>>} |
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
const If = ({ children, orThis, it }) => { | |
return it ? children : orThis; | |
} | |
// usage example | |
<div> | |
<If it={age > 18} orThis={"🥤"}> 🍺 </If> | |
</div> |
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
const If = ({ children, orThis, it }) => { | |
return it ? children : orThis; | |
} | |
// usage example | |
<div> | |
<If it={age > 18} orThis={"🥤"}> 🍺 </If> | |
</div> |
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 = [ | |
{ | |
_key: 'MEXICAN_TACOS', | |
_id: 'recipes/MEXICAN_TACOS', | |
_rev: '_XTqNHIW--_', | |
name: 'MEXICAN TACOS', | |
Calories: 150, | |
Fat: 5, | |
Carbs: 1, | |
Protein: 23, |
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
Verifying my Blockstack ID is secured with the address 14eYnieZ5LhYJGU4W6CXnvXdVsBGExJ78S https://explorer.blockstack.org/address/14eYnieZ5LhYJGU4W6CXnvXdVsBGExJ78S |
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
var exec = require('child_process').exec; | |
var child; | |
var listCmd = 'initctl list | ag ' + process.argv[2]; | |
exec(listCmd, function (error, stdout, stderr) { | |
if (error !== null) { console.log('exec listCmd error', error); } | |
var rows = stdout.split('\n'); |
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":3,"names":[],"mappings":"","sources":["quotelog.js"],"sourcesContent":["!function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var u=\"function\"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var d=new Error(\"Cannot find module '\"+a+\"'\");throw d.code=\"MODULE_NOT_FOUND\",d}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return o(n?n:e)},l,l.exports,e,t,n,r)}return n[a].exports}for(var i=\"function\"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{\"default\":e}}function o(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function i(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e._ |
NewerOlder