Repository home https://github.com/deppen8/documenting-your-code
End product https://deppen8.github.io/documenting-your-code/
[alias] | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- |
# Change these variables as necessary. | |
main_package_path = ./cmd/example | |
binary_name = example | |
# ==================================================================================== # | |
# HELPERS | |
# ==================================================================================== # | |
## help: print this help message | |
.PHONY: help |
# converts dendron note structure to obsidian note structure | |
# - removes frontmatter | |
# - adds tags | |
# - converts internal links | |
# - ignores empty (frontmatter-only) notes | |
# | |
# use at your own risk | |
import glob | |
import re |
# study stream aliases | |
# Requires https://github.com/caarlos0/timer to be installed. spd-say should ship with your distro | |
declare -A pomo_options | |
pomo_options["work"]="45" | |
pomo_options["break"]="10" | |
pomodoro () { | |
if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then | |
val=$1 |
#!/usr/bin/env python | |
""" | |
Obtain the starred data with this: | |
https://github.com/dogsheep/github-to-sqlite#fetching-repos-that-have-been-starred-by-a-user | |
""" | |
import csv | |
import json | |
import string |
Repository home https://github.com/deppen8/documenting-your-code
End product https://deppen8.github.io/documenting-your-code/
// Place your key bindings in this file to override the defaults | |
[ | |
// The following are Kevin's keybindings for VSCode | |
// They are made available under CC BY 4.0 | |
// | |
// To navigate | |
// `==` denote sections | |
// `---` denotes subsections | |
// | |
// == Dendron |
Twitter abuses all media file uploads, each type in its own way. If we want to upload a good looking animation loop from some low-color, high-detail generative art, we have to game their system's mechanisms.
don't upload a video file, they will re-encode it into absolute 💩
create a GIF, which they will auto-convert into a video file 😱
The frames of the GIF will be resized to an even-sized width using an extremely naive algorithm. Your GIF should be an even size (1000, 2000,