Tools: git-machete + GitHub CLI (gh)
Install tools and create aliases to speed up the "Draft & Wait" workflow.
# Install Machete
brew install git-machete| import { useReducer, useCallback, Reducer } from 'react'; | |
| interface State<T = string> { | |
| past: T[]; | |
| present: T; | |
| future: T[]; | |
| } | |
| interface Action<T> { | |
| type: 'UNDO' | 'REDO' | 'SET' | 'CLEAR'; |
| /*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. | |
| * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */ | |
| (window.canvas_bundle_jsonpfunction=window.canvas_bundle_jsonpfunction||[]).push([[5],{177:function(module,exports,__webpack_require__){"use strict";var memo,isOldIE=function(){return void 0===memo&&(memo=Boolean(window&&document&&document.all&&!window.atob)),memo},getTarget=function(){var memo={};return function(target){if(void 0===memo[target]){var styleTarget=document.querySelector(target);if(window.HTMLIFrameElement&&styleTarget instanceof window.HTMLIFrameElement)try{styleTarget=styleTarget.contentDocument.head}catch(e){styleTarget=null}memo[target]=styleTarget}return memo[target]}}(),stylesInDom=[];function getIndexByIdentifier(identifier){for(var result=-1,i=0;i<stylesInDom.length;i++)if(stylesInDom[i].identifier===identifier){result=i;break}return result}functi |
| const path = require('path'); | |
| const fs = require('fs'); | |
| const CopyPlugin = require('copy-webpack-plugin'); | |
| const lib = path.resolve(__dirname, 'lib/http'); | |
| const entry = {}; | |
| const copies = []; | |
| const externals = { '@architect/functions': 'commonjs @architect/functions' }; | |
| fs.readdirSync(lib).forEach((mod) => { |
| { | |
| "css": ".canvasPage {\n\n}", | |
| "id": "workpad-437c9656-65f8-4078-9569-a3fa6b53cdaf", | |
| "name": "Carousel in Markdown", | |
| "width": 1080, | |
| "height": 720, | |
| "page": 0, | |
| "pages": [ | |
| { | |
| "id": "page-b58842df-918e-4580-91fe-5890fa735703", |
I hereby claim:
To claim this, I am signing this object:
| Verifying I am +clint on my passcard. https://onename.com/clint |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl http://npmjs.org/install.sh | sh |
| var config = { | |
| "levels" : { | |
| "detail": 0, | |
| "trace": 1, | |
| "debug": 2, | |
| "enter": 3, | |
| "info": 4, | |
| "warning": 5, | |
| "error": 6 |