Skip to content

Instantly share code, notes, and snippets.

View ScottJWalter's full-sized avatar
🔮
Particle. Wave. It's all data.

Scott Walter ScottJWalter

🔮
Particle. Wave. It's all data.
View GitHub Profile
@meloonics
meloonics / example.md
Last active April 30, 2024 08:03
Obsidian CSS: Stylable Image containers with captions, made from Callouts

image-paths are obviously broken on this one, you can replace the links with images of your own.

[!fig|left|snail]- ![[snail.png|Snail Facts!|200]] Snails are cool! Click to learn more!

  • Snails r cute :3
  • They be eating leaf
  • Swirly soft-boi chomkers :3333

Read-more [[Le Smail Manifesto|here]]!

[!fig|right|px] ![[meloonics_64.png|64]] It me!

@dannberg
dannberg / obsidian-physical-object-moc.txt
Last active March 20, 2024 21:24
Obsidian template for Physical Objects MOC. Full guide coming soon. Find other Obsidian guildes at dannb.org
\[[+Home]] %% tags:: #MOC %%
# Physical Objects MOC
```meta-bind-button
label: New Physical Object
hidden: false
class: ""
tooltip: ""
id: ""
style: primary
@dannberg
dannberg / obsidian-physical-object-template.txt
Created February 21, 2024 14:04
Obsidian template for Physical Objects. Full guide coming soon. Find other Obsidian guildes at dannb.org
---
Purchased: <% tp.date.now("YYYY-MM-DD") %>
Price:
URL:
---
tags:: [[🛍️ Physical Objects MOC]]
<% await tp.file.move("/Spaces/Physical Objects/" + tp.date.now("YYYY-MM-DD") + " " + tp.file.title) %>
# [[<% tp.date.now("YYYY-MM-DD") + " " + tp.file.title %>]]
# Specs
@ScottJWalter
ScottJWalter / toggle_master_mute.ahk
Last active February 1, 2024 07:12
Toggle Master Audio mute using AutoHotKey
; ---------------------------------------------------------------------------------------------------------------------
; Ctrl+Alt+SPECIAL+K --> Toggle Audio
;
^!#k:: SoundSetMute !SoundGetMute()
; ---------------------------------------------------------------------------------------------------------------------
; Ctrl+Alt+Shift+SPECIAL+K --> Turn Audio OFF
;
^!+#K:: SoundSetMute true
@ScottJWalter
ScottJWalter / toggle_microphone.ahk
Last active February 1, 2024 07:28
Toggles the system default microphone through AutoHotKey
; ---------------------------------------------------------------------------------------------------------------------
; Ctrl+Alt+SPECIAL+M --> Toggle Microphone
;
^!#m:: SoundSetMute !SoundGetMute(, "Microphone"),, "Microphone"
; ---------------------------------------------------------------------------------------------------------------------
; Ctrl+Alt+Shift+SPECIAL+M --> Turn Microphone OFF
;
^!+#M:: SoundSetMute true,, "Microphone"
@ScottJWalter
ScottJWalter / Video - YouTube.md.txt
Last active January 26, 2024 08:49 — forked from ll14m4n/yt_video_url.md.txt
obsidian youtube templater
<%"---"%>
created: <% tp.file.creation_date('YYYY-MM-DD HH:MM:ssSS') %>
updated: <% tp.file.creation_date('YYYY-MM-DD HH:MM:ssSS') %>
cloud_host: "pcloud"
tags:
- video
- youtube
<%*
/*
REMEMBER: Save this file as 'Video - YouTube.md' (strip the '.txt' extension)
@ScottJWalter
ScottJWalter / obsidian-templater-env.js
Last active January 25, 2024 09:45
Script for Obsidian Templater plugin to simulate environment variables
/*
* emv.js -- A simple "environment variable simulator" for Obsidian Templater
*
* To use this from inside an Obsidian Templater script, drop this into the
* scripts folder (as defined in templater settings). Name it whatever you wish
* (Obsidian doesn't "namespace" javascript by file, it's all one global space).
*
* Now, inside your templater script:
*
* value = tp.user.env({ key: "key_name" });
@ScottJWalter
ScottJWalter / calibre_import.bat
Last active February 1, 2024 16:22
Batch file to bulk import a folder of files into Calibre with more extensive logging. #calibre #windows
@echo off
setlocal enabledelayedexpansion
rem The following variables set up the environment
set "work_drive=D:"
set "dir_in=D:\<folder-to-process>"
set "dir_out=D:\<processed-folder>"
set "log_file=_import.log"
@ScottJWalter
ScottJWalter / reset-open-flag.bat
Last active January 22, 2024 11:11
Resets an obsidian installation on Windows to not auto-launch any vault, taking you to vault selection. #obsidian #windows
@echo off
setlocal enabledelayedexpansion
rem This script assumes that it's running in the obsidian configuration
rem directory, which is usually at
rem
rem %USERPROFILE%\AppData\Roaming\obsidian
rem
rem Where %USERPROFILE% is your user name
rem
@ms3056
ms3056 / !Collection of Obsidian Snippets
Last active February 4, 2024 23:54
Collection of Obsidian Snippets
- ActiveLine.css
- Callouts.css