Skip to content

Instantly share code, notes, and snippets.

View ebullient's full-sized avatar
🎉
Commonhaus, Commonhaus, Commonhaus....

Erin Schnabel ebullient

🎉
Commonhaus, Commonhaus, Commonhaus....
View GitHub Profile
@ebullient
ebullient / _campaign.md
Last active November 14, 2024 20:30
Managing a campaign in obsidian
# 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`.

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
# 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 August 14, 2024 21:31
Method for creating/updating daily/weekly/monthly templates in Obsidian.md

Scripts

CustomJS files:

  • create.js - file creation
  • dated.js - date-based file manipulation (daily, weekly, monthly, yearly)
  • project.js - random functions for project files (crosses with dataview)
  • task-cleanup.js - finds all dated tasks from the previous month and un-tasks them

Templates

#!/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"