I hereby claim:
- I am ebullient on github.
- I am ebullientworks (https://keybase.io/ebullientworks) on keybase.
- I have a public key ASA3unLnm0PhZJAKl5xfKhcmH79s5z0dKmgKd8ShnShA_go
To claim this, I am signing this object:
Too much to explain. But here are some related scripts for managing / creating session notes. |
# Missing files with Custom JS | |
There are two parts: missing.js and missing.md | |
- `missing.js` is a CustomJS script (placed where you would store CustomJS scripts in your vault) | |
- `missing.md` is the target file (contents between HTML comments are overwritten) | |
The path to `missing.md` must be specified in `missing.js`. | |
I hereby claim:
To claim this, I am signing this object:
# ZSH configuration without oh-my-zsh | |
I stuff everything into a .zsh directory to keep the dir tree slimmer, which means I have a `.zshenv` file that contains: | |
``` | |
ZDOTDIR=~/.zsh | |
``` | |
All of the files and settings below then live in the `~/.zsh` directory | |
The referenced git-prompt.sh file is from |
CustomJS is used to load two JavaScript classes: create.js and dated.js
daily.md, weekly.md, monthly.md, and yearly.md are Templater templates which use instances of the previous classes to parse dates and generate headers and links.
Bonus is I was able to create a small test project to verify the output of dated.js, as it has no other dependencies aside from moment.js. The test project contains:
package.json
sets up a simple node project (such that npm install works)main.js
runs the test: node main.js
#!/usr/bin/env bash | |
# You must have sudo ability on your machine | |
machine=$1 | |
if [ -z $machine ]; then | |
echo "usage $0 {machine_name}" | |
exit | |
fi | |
docker-machine ls | grep ${machine} | |
if [ $? == 1 ]; then | |
echo "${machine} is not a docker-machine" |