Skip to content

Instantly share code, notes, and snippets.

View ScottKillen's full-sized avatar
🖼️
Creating

Scott Killen ScottKillen

🖼️
Creating
View GitHub Profile
@ScottKillen
ScottKillen / print.css
Last active April 2, 2024 17:12
PDF export stylesheet for obsidian
/* Obsidian snippet to style output of pdf exports
*/
@media print {
/* set your preferred fonts here.
*/
:root {
--body-font-family: "Newsreader Text", TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
title cssclasses
Tasks Dasbboard
task-dashboard

Unfinished tasks

⚠️ Overdue

not done
const apiUrl = "http://api.quotable.io/random?tags=";
async function start() {
var quote;
var cite;
const response = await fetch(apiUrl);
const data = await response.json();
if (response.ok) {
// Update DOM elements
@ScottKillen
ScottKillen / Tinker's Construct Materials.md
Last active November 4, 2023 21:51
Tinkers' Construct Material Stats and Traits

Tinker's Construct Materials

Material Stats

Material Head Durability Extra Durability Handle Durability Handle Modifer Mining Level Mining Speed Attack Value Head Traits Extra/Handle Traits Drawspeed Range Multiplier Bonus Damage Arrow Shaft Modifier Bonus Ammo
Paper 12.00 15.00 5.00 0.10 Stone 0.51 0.05 Writable Writable 0.67 0.40 -2.00
Constantan 25.00 6 6 0.80 Diamond 4.70 4.00 Thermal Inversion Thermal Inversion 1.82 1.50 5.00
Treated Wood 25.00 2 35.00 1.00 Stone 2.00 2.00 Ecological Ecological 1.00 1.12 1.20
Wood 35.00 15.00 25.00 1.00 Stone 2.00 2.00 Ecological Eco

IMPORTANT TA X NOTICE ACTION IS REQUIRED Backup Withholding Warning! We need a Form W-9 from you before: _______________________. Otherwise; backup withholding will begin on Account Number Current Name on Account Current TIN on Account The Internal Revenue Service (IRS) has notified us that the taxpayer identification number (TIN) on your account with us does not match its records. The IRS considers a TIN as incorrect if either the name or number shown on an account does not match a name and number combination in their files or the files of the Social Security Administration (SSA). If you do not take appropriate action to help us correct this problem before the date shown above, the law requires us to backup withhold on interest, dividends, and certain other payments that we make to your account. The backup withholding rate is: __ [set forth rates/dates] In addition to backup withholding, you may be subject to a $50 penalty by the IRS for failing to give us your correct Name/TIN combination. This notice tells

@ScottKillen
ScottKillen / Dangling Links Note.md
Created September 30, 2023 04:20
Dangling Links panel for Obsidian
@ScottKillen
ScottKillen / Daily Note Template.md
Last active July 8, 2023 19:45
Note templates for Obsidian
Error in user YAML: (<unknown>): did not find expected ',' or ']' while parsing a flow sequence at line 1 column 10
---
aliases: ["<% tp.date.now("MMMM Do, YYYY", 0, tp.file.title, "YYYY.MM.DD") %>","<% tp.date.now("MMMM D, YYYY", 0, tp.file.title, "YYYY.MM.DD") %>","<% tp.date.now("MMM D, YYYY", 0, tp.file.title, "YYYY.MM.DD") %>","<% tp.date.now("MMM. D, YYYY", 0, tp.file.title, "YYYY.MM.DD") %>","<% tp.date.now("M/D/YYYY", 0, tp.file.title, "YYYY.MM.DD") %>","<% tp.date.now("M-D-YYYY", 0, tp.file.title, "YYYY.MM.DD") %>","<% tp.date.now("YYYY-MM-DD", 0, tp.file.title, "YYYY.MM.DD") %>","<% tp.date.now("M.D.YYYY", 0, tp.file.title, "YYYY.MM.DD") %>",]
tags: DailyNote <%tp.file.title.split('-')[0]%>
---

📆 <%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") %>]] »


/* Remove the pin */
.workspace-tab-header[aria-label="Note file name without .md"] .workspace-tab-header-status-container .mod-pinned {
display: none;
}
ol {
list-style-type: upper-roman;
}
ol ol {
list-style-type: upper-alpha;
}
ol ol ol {
list-style-type: decimal;
@ScottKillen
ScottKillen / minimal-tweak-active.css
Created December 21, 2022 04:08
Tweaks accented text in minimal theme for Obsidian for readability.
#calendar-container .active,
.flair.mod-pop,
.horizontal-tab-nav-item.is-active,
.linter-navigation-item-selected,
.nav-file-title.is-active,
.vertical-tab-nav-item.is-active,
.community-item.is-selected,
.mod-cta {
text-shadow: 1px 1px 1px black;
}