Skip to content

Instantly share code, notes, and snippets.

View rabdill's full-sized avatar
😅

Rich Abdill rabdill

😅
View GitHub Profile
@rabdill
rabdill / keybase.md
Created June 14, 2023 15:57
Keybase verification 2023

Keybase proof

I hereby claim:

  • I am rabdill on github.
  • I am rabdill (https://keybase.io/rabdill) on keybase.
  • I have a public key whose fingerprint is F818 76E7 EBA6 8995 7F16 385A C4AC DAC2 CE34 E40E

To claim this, I am signing this object:

@rabdill
rabdill / abdill.zsh-theme
Created January 15, 2021 17:02
Personal theme for the ZSH shell
# - Loadable by the "Oh My Zsh" tool: https://github.com/ohmyzsh/ohmyzsh
# - A fork of the "robbyrussell" theme
# - Customized with much help from https://scriptingosx.com/2019/07/moving-to-zsh-06-customizing-the-zsh-prompt/
unsetopt nomatch # to prevent weird string comparison/globbing problems with ohmyzsh
setopt AUTO_CD # typing path will cd there
# turn on history
HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history
setopt EXTENDED_HISTORY # for timestamps, elapsed time, etc
@rabdill
rabdill / raytrace_photos.r
Last active May 27, 2020 17:46
Turn a bitmap into an unsettling 3D map
# Inspired by this twitter thread:
# https://twitter.com/tylermorganwall/status/1088978382195437568
# Using (and borrowing code from) the immaculate documentation here:
# https://github.com/clauswilke/isoband
# https://github.com/tylermorganwall/rayshader
# Just provide a URL to the image you want to make weird; everything else should work out of the box:
image_url = "https://pbs.twimg.com/profile_images/905186381995147264/7zKAG5sY_400x400.jpg"
resolution = "200x200" # 200x200 seems manageable here; this is the factor that will increase computation time
@rabdill
rabdill / .vimrc
Created September 17, 2018 20:47
I am tired of losing my vi configuration every time I switch computers and forget about it.
" with thanks to https://github.com/amix/vimrc/blob/master/vimrcs/basic.vim
" highlighting!
syntax enable
" spaces not tabs
set expandtab
" tabs should be 4 spaces not 8:
set tabstop=4