Skip to content

Instantly share code, notes, and snippets.

@selfire1
selfire1 / marvin-toggl-tracking.sh
Created June 17, 2021 09:52
A shell script to start tracking an Amazing Marvin task in Toggl Track.
#!/bin/bash
# -------------------------------------------------
# Before running the script, make sure that you understand it. Running code you find on the Internet may damage your system.
# -------------------------------------------------
# In Amazing marvin, set the path to this script as "Start time tracking task" in the "System Triggers strategy" like this:
# /Path/to/this/script $TASK_TITLE
# Replace "YourSecretToken" with your Toggl API token below.
# -------------------------------------------------
curl -v -u YourSecretToken:api_token \
@selfire1
selfire1 / bibleverse-formatting.css
Created May 26, 2021 20:53
bibleverse-formatting.css
/* Formatting for Bible verses (h6 headers) in Obsidian */
.markdown-preview-view h6,
.cc-pretty-preview .markdown-preview-view h6
{
position: relative;
left: -4%;
top: 18px;
line-height: 0px;
margin-top: -20px;
margin-right: 3px;