Skip to content

Instantly share code, notes, and snippets.

@zyocum
zyocum / mailcap
Created July 29, 2020 17:09
Custom Terminal UI for Reddit mailcap for macOS
# Example mailcap file for Terminal UI for Reddit
# https://gitlab.com/ajak/tuir/
#
# Copy the contents of this file to {HOME}/.mailcap, or point to it using $MAILCAPS
# Then launch TUIR using the --enable-media flag. All shell commands defined in
# this file depend on external programs that must be installed on your system.
#
# HELP REQUESTED! If you come up with your own commands (especially for OS X)
# and would like to share, please post an issue on the GitHub tracker and we
# can get them added to this file as references.
@zyocum
zyocum / cup_surface_area.html
Last active July 1, 2021 16:06
surface_area_of_cup
<meta charset="utf-8" emacsmode="-*- markdown -*">
**Surface Area of a Cup with a Straight Outer Edge**
Let's say our cup is defined by the following parameters:
\begin{align*}
r=\,&\text{radius of the top of the cup}\\
b=\,&\text{height of the cup}\\
B=\,&\text{angle of the sloped side of the cup}\\
\end{align*}
@zyocum
zyocum / simple.toml
Created September 4, 2022 14:36
Simple macchina theme
#colo for a complete reference, visit
# https://github.com/Macchina-CLI/macchina/wiki/Theme-Documentation
hide_ascii = true
prefer_small_ascii = true
spacing = 1
padding = 0
separator = ""
key_color = "Magenta"
separator_color = "LightMagenta"
@zyocum
zyocum / starship.toml
Created September 4, 2022 14:38
Custom starship config
# Don't print a new line at the start of the prompt
add_newline = false
# for nerd font symobls see: https://www.nerdfonts.com/cheat-sheet
format = """\
$username\
$hostname\
$directory\
$read_only\
@zyocum
zyocum / starship.toml
Created December 21, 2022 23:07
Zach's `starship.toml`
# some symbols used in this config require custom fonts or additional software
# for nerd font symobls see: https://www.nerdfonts.com/cheat-sheet
# for Apple SF symbols (macOS only) see: https://developer.apple.com/sf-symbols/
# Don't print a new line at the start of the prompt
add_newline = false
format = """\
$username\
$hostname\