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 February 20, 2025 18:59
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;
@ScottKillen
ScottKillen / Tinker's Construct Materials.md
Last active October 16, 2024 01:05
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
@ScottKillen
ScottKillen / Makefile
Created September 28, 2024 19:22 — forked from alexedwards/Makefile
Boilerplate Makefile for Go projects
# Change these variables as necessary.
main_package_path = ./cmd/example
binary_name = example
# ==================================================================================== #
# HELPERS
# ==================================================================================== #
## help: print this help message
.PHONY: help
@ScottKillen
ScottKillen / git_repo_setup.sh
Last active August 17, 2024 15:05
Shell script to optimize a git repo for many files
#!/bin/sh
# Enable Git optimizations for repositories with many files.
git config feature.manyFiles true
# Update the index format to version 4 for better performance with large repositories.
git update-index --index-version 4
# Enable filesystem monitoring to speed up `git status` and similar commands.
# This uses the built-in fsmonitor on supported systems, reducing the need to scan the entire working directory.
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

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;
}