Skip to content

Instantly share code, notes, and snippets.

View OliverBalfour's full-sized avatar

OliverBalfour

View GitHub Profile
@OliverBalfour
OliverBalfour / README.md
Last active April 26, 2024 19:38
Obsidian custom checkbox snippet

Custom checkboxes for Obsidian! It's like deathau's snippet except updated to work really well in Live Preview mode in Obsidian 1.0.

Simply edit the x inside checkboxes to >, ?, etc. to see styling like below!

Editing Live Preview Viewing
image image image

Installation:

  • Download the checkbox.css file on this page
@OliverBalfour
OliverBalfour / notebook.py
Last active September 8, 2022 08:46
HTML custom elements for Jupyter notebooks.
"""
Paste this in your notebook after saving the HTML file in the same folder
Tested in VSCode notebooks, Google Colab and Jupyter Lab in Chrome
"""
from IPython.display import HTML
HTML(open("widget.html").read())
@OliverBalfour
OliverBalfour / default.yml
Last active April 18, 2021 09:42
default.yml
# espanso configuration file
# This is the default configuration file, change it as you like it
# You can refer to the official documentation:
# https://espanso.org/docs/
# Matches are the substitution rules, when you type the "trigger" string
# it gets replaced by the "replace" string.
matches:
# Simple text replacement
@OliverBalfour
OliverBalfour / vscode_settings.json
Last active April 14, 2021 02:20
vscode_settings.json
{
"git.autofetch": true,
"editor.acceptSuggestionOnCommitCharacter": false,
"workbench.colorTheme": "Visual Studio Dark",
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"workbench.startupEditor": "newUntitledFile",
"debug.javascript.debugByLinkOptions": null,
"terminal.integrated.automationShell.linux": "",