Skip to content

Instantly share code, notes, and snippets.

View ScottKillen's full-sized avatar
🖼️
Creating

Scott Killen ScottKillen

🖼️
Creating
View GitHub Profile
@eleanorkonik
eleanorkonik / readwise-settings.md
Created February 4, 2022 15:05
Eleanor's Readwise Settings

File name

{{title|replace(""","")|replace(""","")|replace("'","")|replace("'","")|truncate(127)}} by {{author|truncate(120)}}

I do this so that weird characters or overly-long file names don't break dropbox or git, since Readwise doesn't natively sanitize things.

Page metadata

Metadata

@bennewton999
bennewton999 / dailyNoteTemplate.txt
Last active April 25, 2024 12:40
My current Daily Note Template in Obsidian utilizing Templater and DataView Plugins
---
creation date: <% tp.file.creation_date() %>
tags: DailyNote <% tp.file.title.split('-')[0] %>
---
modification date: <%+ tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm:ss") %> // This doesn't currently work in front matter, hoping that gets fixed.
# <% tp.file.title %>
<< [[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %>]] | [[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>]]>>
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active March 26, 2024 01:21
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >

@acoulton
acoulton / cronic
Last active August 27, 2021 05:49
An enhanced version of [cronic - a cure for cron's chronic email problem](http://habilis.net/cronic/) that supports logging task output to a file for situations where you want to keep history on the server for further inspection but only want to be emailed if your task fails.
#!/bin/bash
# Cronic v2 - cron job report wrapper
# Copyright 2007 Chuck Houpt. No rights reserved, whatsoever.
# Amended 2013 Andrew Coulton.
# Public Domain CC0: http://creativecommons.org/publicdomain/zero/1.0/
# Basic usage, to run a task and discard the output unless it fails or outputs to STDERR
# cronic /run/my/task
#