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
@aamiaa
aamiaa / RevertNewLayout.md
Last active June 27, 2024 20:26
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 October 17, 2023 16:46
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;
@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 type summary
CAMPAIGN
PJ
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{,}
@jhilker98
jhilker98 / ui.org
Last active May 15, 2022 19:08
fonts and colorschemes for sis

UI Stuff for Spyder

These will help your eyes.

Colorschemes

A good color scheme is the most important thing to use - it will help you quickly identify stuff such as functions, methods, keywords, etc.

  • Solarized - a nice blue theme, personally way too much blue for my taste, but very clear contrast.
  • Gruvbox - what I personally use, on medium contrast, dark theme. No documentation, so implementations in different editors vary.
  • Nord - A low contrast, pastel theme. It’s got great documentation, but too low contrast for me.
@peeush-agarwal
peeush-agarwal / main.yml
Last active November 30, 2022 20:53
GitHub Action workflow for CI/CD pipeline with Flask application
# This is a basic workflow to help you get started with Actions
name: Deploy to Raspberry Pi
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
@vherrmann
vherrmann / doct-org-roam.el
Last active April 21, 2024 00:00 — forked from progfolio/doct-org-roam.el
doct-org-roam.el
;;; doct-org-roam.el --- An org-roam extension for doct
;; Copyright (C) 2020 Nicholas Vollmer
;; Copyright (C) 2022 Valentin Herrmann
;; Author: Nicholas Vollmer <progfolio@protonmail.com>
;; URL: https://github.com/vherrmann/doct-org-roam
;; Created: July 27, 2020
;; Keywords: org, org-roam, convenience
;; Package-Requires: ((emacs "26.1"))
;; Version: 0.0.0