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
@jhilker98
jhilker98 / infobox.html
Created October 5, 2022 20:02
example infoboxes in tailwind css
<aside class="infobox">
<header class="w-full text-lg text-center font-bold p-1 bg-blue-500 text-white">Infobox Title</header>
<figure class="!my-0">
<img src="https://images.unsplash.com/photo-1632951634308-d7889939c125" alt="" class="object-cover h-60" />
<figcaption class="text-center md:!my-auto text-gray-600">Some woods and a river.</figcaption>
</figure>
<table class="w-full">
<tr>
<td class="first:!pl-2 first:font-bold">Born</td>
<td class="!pr-0 !py-0">02 Jan. 1106</td>
@jhilker98
jhilker98 / buildIosevka.sh
Last active July 19, 2022 16:38
Josevka Build Plans, ELIFECYCLE error
#!/usr/bin/env bash
dos2unix $HOME/josevka/* &>/dev/null
IOSEVKA_VER="$(awk 'NR==1{print $2}' $HOME/josevka/build.org)"
FAMILY="$(rg '\[buildPlans.(josevka[a-z-]{0,})\]' $HOME/josevka/build.org | sed 's/]//g' | cut -d'.' -f2 | fzf | xargs)"
docker run -e "FONT_VERSION=$IOSEVKA_VER" -it -v "$HOME/josevka":/build avivace/iosevka-build ttf::$FAMILY
#case $FAMILY in
# "josevka")
# docker run -v $HOME/josevka/dist/josevka/ttf:/in -v $HOME/josevka/patched/josevka:/out nerdfonts/patcher -c -l -q --careful --no-progressbars;;
#
@jhilker98
jhilker98 / install.sh
Last active July 6, 2022 01:50
endeavourOS install scripts
echo "Installing global packages now..."
sudo pacman -Syu python-setuptools python-pip dunst zsh geoclue rofimoji rofi-pass rofi-calc emacs
yay -S qtile-extras-git
echo "Changing shell to zsh"
chsh -s /bin/zsh
printf "Installing Nix and Home Manager\n"
sh <(curl -L https://nixos.org/nix/install) --daemon
echo 'export NIX_PATH=$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels${NIX_PATH:+:$NIX_PATH}' >> ~/.profile && source ~/.profile
if [[ ! -d "$HOME/.config/doom" ]]; then
{ lib
, fetchFromGitHub
, python3
, python3Packages
, mypy
, glib
, pango
, pkg-config
, libinput
, libxkbcommon
@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 / conf.nix
Last active June 25, 2022 15:43
broken qtile setup
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@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.
@jhilker98
jhilker98 / build-bt.el
Last active February 22, 2022 18:56
broken version of broken-thrones publish - unable to export images in file
(setq user-emacs-directory (file-truename "./.emacs.d/"))
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
@jhilker98
jhilker98 / schemes.org
Last active February 4, 2022 19:09
wip color schemes

Custom Color Schemes

these are my wip color schemes

Color Scheme 1

Toml

[colors]

# special
@jhilker98
jhilker98 / build-plans-extended.toml
Last active September 25, 2021 03:49
my collection of iosevka build plans, pre nerd-font patch
[buildPlans.iosevka-mono]
family = "Iosevka Mono"
spacing = "term"
serifs = "sans"
no-cv-ss = false
[buildPlans.iosevka-mono.variants]
inherits = "ss14"
[buildPlans.iosevka-mono.variants.design]