Skip to content

Instantly share code, notes, and snippets.

View jhilker98's full-sized avatar
๐Ÿ”Ž
Currently looking for work.

Jacob Hilker jhilker98

๐Ÿ”Ž
Currently looking for work.
View GitHub Profile
@ms3056
ms3056 / README.md
Last active March 28, 2026 02:11
Timeline template

image

Version History

  • V1 - initial release
  • V2: cleaned up the code a little, removed the black background behind the current day text as it wasn't precise. I left the code in there - just uncomment it. Removed an indent at the end to prevent breaking the SVG - thanks q on Discord!

Note

  • Reading View is BROKEN - wait for the plugin (assuming no surprises await me there). TBD - (when it gets done)โ„ข
  • Live Preview works as it should
  • Adjustments can be made at the top of the file
@aamiaa
aamiaa / RevertNewLayout.md
Last active April 30, 2026 20:05
Revert New Discord Layout

The original snippet no longer works!

On 02/09/2024 at around 8pm UTC, Discord flipped an experiment (2023-09_mobile_redesign_override_toggles) which ignores the layout toggle that this script relied on.

If you want to continue using the old layout, you can either use a modded mobile client (such as Vendetta) to disable that experiment, or downgrade to an old version of the app.

Method 1 - Downgrading (Android)

Tip

Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023

  1. Download version 205.15 of Discord mobile app from ApkMirror
@marcopaganini
marcopaganini / how-to-remove-git-crypt.md
Last active June 20, 2025 02:48
How to remove git-crypt from your repo (maintaining history).

How to remove git-crypt and maintain your history

I've been successfully using git-crypt to provide provide partial encryption to some of my repos. It's a great program and I'd definitely recommend it for your git repository encryption needs.

However, while installation is quite simple, I couldn't find good instructions on how to uninstall git-crypt and maintain history intact.

This guide provides simple instructions on how to accomplish that. In the end,

@KartikBazzad
KartikBazzad / router.ts
Created August 13, 2023 07:27
Simple Express similar API Router For ASTRO with middleware support
// Router class
import type { APIContext } from "astro";
type Method = "GET" | "POST" | "PUT" | "DELETE";
type Route = {
method: Method;
uri: string;
callbacks: Array<(context?: APIContext) => any>;
};
@Heziode
Heziode / dataviewjs_wordcount_obsidian.js
Created April 8, 2023 14:47
Word and Character Count of multiple notes in Obsidian, using dataviewjs.
// Word Count Dashboard
// a dataviewjs snippet by @pseudometa, https://gist.github.com/chrisgrieser/ac16a80cdd9e8e0e84606cc24e35ad99
// version 1.10.2
// last update: 2022-01-25
//----------------------------------------------------
// Import configuration
//----------------------------------------------------
const source = dv.current();
const sourceFolder = source.sourceFolder;
@materro
materro / Consolas Nerd Font.md
Created March 23, 2023 10:05
Generate Consolas Nerd Font

Create Consolas Nerd Font using Font Pather

  1. Download Font Patcher and extract it. You will need font-patcher script.
  2. Copy Consolas font from C:\Windows\Fonts.

    You will get (probably) 4 files: consola.ttf, consolab.ttf, consolai.ttf, consolaz.ttf.

  3. Install required dependencies (Ubuntu):
apt-get install python3-fontforge
  1. If You will get ValueError: not enough values to unpack (expected 3, got 2) edit font-patcher to fix it.
@vehrka
vehrka / tor2e_pc_character_sheet_obsidian.md
Created January 28, 2023 11:38
Obsisian.md template for a Playing Character sheet for the The One Ring RPG 2e
Campaign CAMPAIGN
type PJ
summary SUMMARY

Culture: =this.culture Calling: =this.calling Cultural Blessing: =this.CulturalBlessing Shadow Path: =this.ShadowPath

@arjan-s
arjan-s / overlay_qtile_master.nix
Last active October 9, 2023 18:04
qtile master with qtile-extras on NixOS
(final: super: {
pythonPackagesOverlays =
(super.pythonPackagesOverlays or [])
++ [
(_: pprev: {
qtile = pprev.qtile.overridePythonAttrs (_: {
version = ''unstable-2023-10-06''; # qtile
src = super.fetchFromGitHub {
owner = "qtile";
repo = "qtile";
@jhilker98
jhilker98 / buildFont.sh
Last active December 5, 2022 19:02
my shell functions, building iosevka, defining stuff, and creating gitignores
function buildFont {
iosevka_ver=$(awk 'NR==1{print $2}' $HOME/josevka/build.org | cut -d'v' -f2)
fonts=("josevka" "josevka-mono" "josevka-code" "josevka-code-mono" "josevka-book-sans" "josevka-book-slab")
font=$(printf "%s\n" "${fonts[@]}" | fzf)
docker run -e "FONT_VERSION=$iosevka_ver" -i -v "~/josevka":/build avivace/iosevka-build
}
zle -N buildFont{,}
@exdeejay
exdeejay / Tag List.md.txt
Last active March 30, 2026 16:12
Obsidian Dataview snippet - List all tags sorted by frequency of use
## Tags
%% Copy the below text, including the ```, to use in your own file %%
%% Make sure to turn on "Enable Javascript Queries" in Dataview's settings! %%
```dataviewjs
// List all tags sorted by frequency of use
let tags = dv.pages()
.flatMap(page => page.file.tags)