Skip to content

Instantly share code, notes, and snippets.

View Chailotl's full-sized avatar
🐈
gato parado

Chai Chailotl

🐈
gato parado
View GitHub Profile
@Chailotl
Chailotl / Heatmaps.md
Created March 2, 2024 05:28
Various dataviews I used to use in Obsidian.
dv.header(2, "💸 Money Spent")

const calendarData = {
	entries: []
}

for (let page of dv.pages('"Daily notes"').where(p => p["money-spent"])) {
	let sum = page["money-spent"]
	let content = ""
@Chailotl
Chailotl / main.ahk
Created February 1, 2022 22:43
An AutoHotKey script I used to use, now replaced with Microsoft PowerToys and hardware media keys.
; -----
; = Shortcuts = (Ctrl+LShift+...)
; Space - Pin/unpin active window
;
; = Music Controls = (Ctrl+LShift+...)
; Down Arrow - Lower volume
; Up Arrow - Raise volume
; Right Shift - Pause/play music
; Left Arrow - Previous track
; Right Arrow - Next Track
@Chailotl
Chailotl / virtual.ahk
Last active February 1, 2022 22:38
When using virtual audio cables, volume keys will not work correctly. This uses AutoHotKey and nircmd to remap the volume keys to control a different mixer.
Volume_Up::
Run, nircmd.exe changesysvolume 1310 Headphones 0
Return
Volume_Down::
Run, nircmd.exe changesysvolume -1310 Headphones 0
Return
@Chailotl
Chailotl / ICreeper.java
Created March 25, 2021 22:13
Camo Creepers
public interface ICreeper
{
void setColor(float red, float green, float blue);
int getColor();
boolean getCave();
}