Skip to content

Instantly share code, notes, and snippets.

View ebullient's full-sized avatar
🎉

Erin Schnabel ebullient

🎉
View GitHub Profile
@ebullient
ebullient / _campaign.txt
Last active January 28, 2024 17:27
Managing a campaign in obsidian
View _campaign.txt
Too much to explain. But here are some related scripts for managing / creating session notes.
View _missing.txt
# 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`.
View keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@ebullient
ebullient / .about
Created February 4, 2022 13:13
zsh-config-without-oh-my-zsh
View .about
# 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
@ebullient
ebullient / _dates in obsidian.md
Last active May 3, 2023 20:55
Method for creating/updating daily/weekly/monthly templates in Obsidian.md
View _dates in obsidian.md

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
View vpn_fix.sh
#!/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"