Toy weekend project: make a parser-parser!
This takes in a grammar given in Bakus-Naur Form (BNF),
and a program that was written in the provided grammar,
and produces an image of Syntax Tree using graphviz.
References:
| brew install pandoc | |
| brew tap homebrew/cask | |
| brew install --cask basictex | |
| eval "$(/usr/libexec/path_helper)" | |
| # Update $PATH to include `/usr/local/texlive/2022basic/bin/universal-darwin` | |
| sudo tlmgr update --self | |
| sudo tlmgr install texliveonfly | |
| sudo tlmgr install xelatex | |
| sudo tlmgr install adjustbox | |
| sudo tlmgr install tcolorbox |
Random query recipes of JMESPath for the AWS CLI tools that I might have written or stumbled upon.
| .ui.unstackable.steps { | |
| flex-direction: row; | |
| } | |
| .ui.unstackable.steps .step { | |
| width: auto !important; | |
| } | |
| @media only screen and (max-width: (@largestMobileScreen)) { | |
| .ui.unstackable.padless.steps .step { |
| // components/Login/Login.js | |
| class Login extends Component { | |
| // ... | |
| handleSubmit(evt) { | |
| evt.preventDefault(); | |
| this.props.mutate(this.state) | |
| .then(({ data }) => { |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
Table of Contents
This content from this markdown file has moved a new, happier home where it can serve more people. Please check it out : https://docs.microsoft.com/azure/azure-cache-for-redis/cache-best-practices.
| 1) Install Ubuntu Server | |
| Instead of adding a 'pi' user in step 7 name your admin user 'pi' with a password of 'raspberry' during installation | |
| The Service configuration of gateblu-forever assumes this is running on a RaspberryPi | |
| 1. Add openSSH server (makes it easier to remotely connect with puTTY and copy / paste) | |
| 2) Install LTS node and npm from nodejs.org and node legacy (check http://nodejs.org for latest LTS release numbers) | |
| sudo apt-get update | |
| sudo apt-get upgrade -y | |
| sudo curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - | |
| sudo apt-get install -y nodejs |