Compare commits

...

140 Commits
town ... master

Author SHA1 Message Date
Ben Harris 8698adae25 add rsyncall 2024-03-27 15:27:32 -04:00
Ben Harris f0fdbab641 safe directory workaround 2024-03-01 12:39:45 -05:00
Ben Harris d537b626df add some scripts 2024-03-01 12:39:19 -05:00
Ben Harris e52edc8402 git options 2024-02-29 17:34:37 -05:00
Ben Harris 84c3343b0f submodule updates 2024-02-07 13:22:41 -05:00
Ben Harris 2ffaf6d00d fish updates 2024-02-07 13:19:41 -05:00
Ben Harris 237bd4a7db remove insult thing that was dumb
also update submodules
2024-02-05 19:59:14 -05:00
Ben Harris 2ceccc6717 swap to native vim package management 2022-12-02 23:09:58 -05:00
Ben Harris 13ffb021ef update vim submodules 2022-12-02 22:37:21 -05:00
Ben Harris 72493884f0 remove some unused functions
also move certexpiry to be a sh script
2022-10-13 12:07:59 -04:00
Ben Harris 4815662c48 reindent gitconfig 2022-08-10 15:11:27 -04:00
Ben Harris fd399e7dfa update vim submodules 2022-08-10 15:06:33 -04:00
Ben Harris ab9da2a8b4 tidy up config.fish 2022-08-10 15:05:22 -04:00
Ben Harris ed016a7211 print desc from httpstatus 2022-07-29 15:52:59 -04:00
Ben Harris f107c145c4 add lil http status code script 2022-07-29 15:44:02 -04:00
Ben Harris 30fc00b49f set init.defaultBranch to main 2022-07-29 14:28:44 -04:00
Ben Harris dc41bf9df1 update vim submodules 2022-07-28 15:22:38 -04:00
Ben Harris 9ac23a93f5 weechat changed some urls??
also add f script
2022-07-21 11:13:00 -04:00
Ben Harris f8b013fc20 update vim submodules 2022-07-11 15:53:59 -04:00
Ben Harris 60ae2b82ba update vim submodules 2022-06-09 13:54:11 -04:00
Ben Harris f5d04cb608 a bunch of random stuff 2022-05-12 14:12:46 -04:00
Ben Harris 96eb5a5cc2 update vim submodules 2022-05-02 12:10:38 -04:00
Ben Harris d4bec05c3d update vim submodules 2022-04-19 12:17:59 -04:00
Ben Harris 8eef122aa6 update vim submodules 2022-04-12 13:55:47 -04:00
Ben Harris eb73c18475 remove shell declaration from tmux.conf 2022-04-12 13:21:24 -04:00
Ben Harris 872cbbb7d8 add cwhois 2022-04-08 16:19:24 -04:00
Ben Harris 1d9a5cbba1 update vim-gitgutter 2022-02-19 11:03:23 -05:00
Ben Harris b861a2a482 change gall to a sh script 2022-02-17 16:42:31 -05:00
Ben Harris c65852cdf4 update vim submodules 2022-02-08 12:53:21 -05:00
Ben Harris cf222d1738 fix TZ loading in byobu 2022-01-14 16:18:27 -05:00
Ben Harris fe57e6f976 change time format 2022-01-14 16:14:52 -05:00
Ben Harris a76a01c200 update vim submodules 2021-12-31 17:41:29 -05:00
Ben Harris 1af0d6d84e
update vim submodules 2021-12-18 16:53:05 -05:00
Ben Harris efb5b6d52f weechat updates for 3.3 2021-10-10 16:27:41 -04:00
Ben Harris fead404111 update fish functions 2021-10-10 16:23:34 -04:00
Ben Harris 8408a06469 update vim submodules 2021-10-07 15:45:43 -04:00
Ben Harris 8da8bb6171 update vim-fugitive 2021-08-31 11:05:07 -04:00
Ben Harris c2b0897f40 add rbenv 2021-08-29 15:37:04 -04:00
Ben Harris 9b48fea224 update vim submodules 2021-08-29 15:19:23 -04:00
Ben Harris f12eb3f7f2 update vim submodules 2021-08-04 11:52:41 -04:00
Ben Harris 1605c96e1e update weechat aliases 2021-08-04 11:52:28 -04:00
Ben Harris 7ed566b1c9 update weechat stuff 2021-07-26 14:36:05 -04:00
Ben Harris c32a2c6322 update scripts and autojoins 2021-05-27 14:24:04 -04:00
Ben Harris 5996e710c5 apparently these didn't get /saved 2021-05-19 23:59:09 -04:00
Ben Harris a1d00e7357 update freenode to libera 2021-05-19 23:58:13 -04:00
Ben Harris e55b10a835 add c 2021-05-14 16:17:51 -04:00
Ben Harris 4d4ee98463 remove xclip and notify-send dependencies 2021-05-12 17:09:41 -04:00
Ben Harris df8503643a update submodule before installing pb 2021-05-12 17:07:16 -04:00
Ben Harris a86d372c55 add pb to install script 2021-05-12 17:06:13 -04:00
Ben Harris f8a2e1ec92 update vim submodule 2021-05-12 17:05:06 -04:00
Ben Harris 2c1e7fb634 update autojoins 2021-05-12 12:12:24 -04:00
Ben Harris 83edc21889 update vim submodules 2021-05-11 14:27:29 -04:00
Ben Harris c602ed4c3b update weechat autojoins 2021-04-16 13:49:55 -04:00
Ben Harris 1b0443ec4d update vim submodules 2021-04-16 13:45:53 -04:00
Ben Harris 56d94a0304 update autojoins and add new 3.1 options 2021-03-23 16:04:45 -04:00
Ben Harris 2c926f4be6 update vim packages 2021-03-10 08:27:20 -05:00
Ben Harris 7b32b16565 update autojoins 2021-03-05 11:33:45 -05:00
Ben Harris 9b06777071 update vim submodules 2021-03-05 10:19:52 -05:00
Ben Harris 17cf6263c8 update autojoins 2021-02-17 13:23:47 -05:00
Ben Harris ec7968a7bf update vim submodules 2021-02-17 10:32:41 -05:00
Ben Harris 9cd6bc92ba switch to autojoinem.py 2021-01-15 14:15:52 -05:00
Ben Harris 67829c71a4 switch to autojoinem.py 2021-01-10 13:10:53 -05:00
Ben Harris 0035dbc72c weechat script and autojoin updates 2020-11-25 18:32:16 -05:00
Ben Harris 43e22bffd9 update vim submodules 2020-11-24 23:13:01 -05:00
Ben Harris 141b1952a2 weechat 3.0 changes, updated autojoins 2020-11-17 20:25:16 -05:00
Ben Harris 63a9a3d726 update autojoins 2020-11-10 14:20:59 -05:00
Ben Harris 1a005002eb update vim submodules 2020-11-10 14:20:36 -05:00
Ben Harris 2b8232332c add gemtext highlighting 2020-11-03 10:06:23 -05:00
Ben Harris 63b67331d9 fix blinkenshell and add demure's buf highlight 2020-11-02 17:32:06 -05:00
Ben Harris c1d299d412 update vim submodules 2020-10-30 15:28:05 -04:00
Ben Harris 8ebe3aa7a9 update vim-airline 2020-10-21 18:33:41 -04:00
Ben Harris a72a572b27 update autojoins 2020-10-21 18:33:19 -04:00
Ben Harris 4771fa97ea
add fzf keybindings
i'm using the system packages for fzf now and the
~/.fzf dir no longer exists. let's just grab the
file contents from the fzf upstream and use it
directly
2020-10-21 18:30:24 -04:00
Ben Harris 71303dfaa1
update vim submodules 2020-10-12 22:02:26 -04:00
Ben Harris 2e18d76700 tidy up config.fish 2020-10-07 19:29:49 -04:00
Ben Harris a1491fa7ed update vim submodules and autojoins 2020-10-06 16:05:33 -04:00
Ben Harris b94b3cc2dc update autojoins 2020-10-06 10:37:32 -04:00
Ben Harris 537f1fa7b5 update vim submodules 2020-10-05 14:32:24 -04:00
Ben Harris d50c2d31c7 remove dangling lf targets from Makefile 2020-09-29 14:02:26 -04:00
Ben Harris 95c2abb918 delete other lf files 2020-09-29 14:00:33 -04:00
Ben Harris 3d5219f815 remove fzf and lf 2020-09-29 13:58:53 -04:00
Ben Harris c5ab99a07a update lf submodule 2020-09-29 13:45:41 -04:00
Ben Harris f740ba65bc update vim submodules 2020-09-29 13:44:17 -04:00
Ben Harris 2fb3ac8f12 update vim submodules 2020-09-10 15:33:16 -04:00
Ben Harris 1318b19d4e update autojoins 2020-09-10 15:32:59 -04:00
Ben Harris 0f5e88492b update vim submodules 2020-09-02 09:23:07 -04:00
Ben Harris 5fb97e1d3a pipe dev null to certexpiry fn 2020-09-02 09:22:38 -04:00
Ben Harris b0e39637aa update autojoins 2020-08-12 10:41:04 -04:00
Ben Harris 0344c878bb update submodules 2020-07-27 13:38:09 -04:00
Ben Harris 35f632ae46 update autojoins 2020-07-24 09:46:39 -04:00
Ben Harris e6c1596fa7
update fzf submodule 2020-07-19 12:31:20 -04:00
Ben Harris 7f4f643d87
update command colors 2020-07-19 12:27:09 -04:00
Ben Harris 4909d88392 update lf submodule 2020-07-19 12:18:19 -04:00
Ben Harris fa1e559b09 update vim submodules 2020-07-19 12:14:34 -04:00
Ben Harris b6a7d64463 update scripts and configs for weechat 2.9 2020-07-18 14:14:12 -04:00
Ben Harris 655cdf37df update wee_slack and a weechat settings 2020-07-10 14:17:24 -04:00
Ben Harris 4842f0a125 update vim submodules 2020-07-10 14:17:14 -04:00
Ben Harris 2ee76662fb update autojoins 2020-07-07 13:50:45 -04:00
Ben Harris cb1f585ef7 add #crawl and mutt.fish 2020-06-19 01:50:24 -04:00
Ben Harris bc7def2852 add vim-airline 2020-06-15 14:45:09 -04:00
Ben Harris bf09d2f67a update autojoins 2020-06-08 22:52:39 -04:00
Ben Harris 44fad4a085 update vim submodules 2020-06-03 01:35:43 -04:00
Ben Harris 759b68dfe3 update autojoin lists 2020-06-03 01:34:28 -04:00
Ben Harris a0bd03f9d5 update weechat configs
- add more nick colors
- update hashbang oper config
- update autojoins
2020-05-27 11:13:14 -04:00
Ben Harris 8326c5c000 update autojoins 2020-05-06 21:28:47 -04:00
Ben Harris 7d2fa5f390 update backupstatus alias 2020-04-29 13:39:37 -04:00
Ben Harris b1bae56eea update weechats and vim submodules 2020-04-27 20:42:35 -04:00
Ben Harris 2fd57e8772 add lf 2020-02-26 15:26:00 -05:00
Ben Harris 9307af0b25 fix filemodes 2020-02-23 22:22:03 -05:00
Ben Harris 905e0f642e update vim submodules 2020-02-23 21:48:17 -05:00
Ben Harris 148b28615e fixes for fish 3.1.0, remove fish_right_prompt 2020-02-23 21:47:35 -05:00
Ben Harris a6d5e6731b update vim submodules 2020-02-04 20:23:53 -05:00
Ben Harris 19e05bf2c2 add some vim 2020-02-04 20:22:43 -05:00
Ben Harris 9769129e8b new vim submodules and remove /cs aliases from weechat 2020-01-13 15:36:45 -05:00
Ben Harris 6427b33677 annual channel purge 2020-01-06 13:18:26 -05:00
Ben Harris cf5d32598e update autojoins 2019-12-18 14:41:08 -05:00
Ben Harris c4427031ae remove sublime and vscode from dotfiles 2019-12-18 14:40:33 -05:00
Ben Harris 53d596ca8a update vim plugins 2019-12-18 12:42:02 -05:00
Ben Harris a6e099b6cf opt out of .net telemetry, weechat 2.7 2019-12-18 12:38:23 -05:00
Ben Harris c5770ac4c6 update autojoins 2019-11-20 09:13:56 -05:00
Ben Harris 0eebd01222 update weechat scripts 2019-10-23 20:49:15 -04:00
Ben Harris 756dbd8397 update vim plugins, add vim-fish 2019-10-23 20:45:27 -04:00
Ben Harris 4da01f4b90 add markdown formatting function 2019-09-24 10:08:43 -04:00
Ben Harris 4d88215734 update deps and ignore vim datadirs 2019-08-23 09:50:05 -04:00
Ben Harris b897d96f1c update wildcard-cert function 2019-08-23 09:47:06 -04:00
Ben Harris 6744462d00 pull remote changes when running make 2019-08-14 10:10:21 -04:00
Ben Harris 22ee872d52 some vim tips from begriffs' vim history post 2019-08-13 17:06:27 -04:00
Ben Harris d38bddff8a bat -p and weechat stuff 2019-07-31 22:50:04 -04:00
Ben Harris 16200fac9c stripcolors function 2019-07-24 12:03:29 -04:00
Ben Harris 2370dab7d5 remove unused scripts 2019-06-25 10:18:27 -04:00
Ben Harris d3246bcc2a add darenet 2019-06-25 09:45:42 -04:00
Ben Harris 166eae6fd6 add zombies function 2019-06-25 00:52:54 -04:00
Ben Harris 331a8d5ed2
add certexpiry command 2019-06-24 23:49:28 -04:00
Ben Harris c90e9ea7b1
vim guifont 2019-06-24 21:21:42 -04:00
Ben Harris 1e333ac7ed same_nick_middle, git aliases 2019-06-24 21:19:32 -04:00
Ben Harris 9a912b7796 add /emoji alias 2019-06-17 15:48:34 -04:00
Ben Harris c82e352ab9 add jokes 2019-06-17 14:06:13 -04:00
Ben Harris 55ceb20f8f add lynx.fish 2019-06-07 15:03:09 -04:00
Ben Harris 39a52a270b weechat 2.5 2019-06-07 15:02:18 -04:00
Ben Harris 08a6fa8739 new aliases and upgraded scripts 2019-05-29 13:39:18 -04:00
282 changed files with 8187 additions and 25114 deletions

28
.gitmodules vendored
View File

@ -1,25 +1,27 @@
[submodule "fish/.config/fish/nvm-wrapper"]
path = fish/.config/fish/nvm-wrapper
url = https://github.com/passcod/nvm-fish-wrapper
[submodule "vim/.vim/bundle/quick-scope"]
path = vim/.vim/bundle/quick-scope
path = vim/.vim/pack/plugins/start/quick-scope
url = https://github.com/unblevable/quick-scope
[submodule "vim/.vim/bundle/vim-fugitive"]
path = vim/.vim/bundle/vim-fugitive
path = vim/.vim/pack/plugins/start/vim-fugitive
url = https://github.com/tpope/vim-fugitive
[submodule "vim/.vim/bundle/vim-commentary"]
path = vim/.vim/bundle/vim-commentary
path = vim/.vim/pack/plugins/start/vim-commentary
url = https://github.com/tpope/vim-commentary
[submodule "vim/.vim/bundle/vim-surround"]
path = vim/.vim/bundle/vim-surround
path = vim/.vim/pack/plugins/start/vim-surround
url = https://github.com/tpope/vim-surround
[submodule "vim/.vim/bundle/vim-gitgutter"]
path = vim/.vim/bundle/vim-gitgutter
path = vim/.vim/pack/plugins/start/vim-gitgutter
url = https://github.com/airblade/vim-gitgutter
[submodule "fzf/.fzf"]
path = fzf/.fzf
url = https://github.com/junegunn/fzf
[submodule "vim/.vim/bundle/vim-lastplace"]
path = vim/.vim/bundle/vim-lastplace
path = vim/.vim/pack/plugins/start/vim-lastplace
url = https://github.com/farmergreg/vim-lastplace
[submodule "vim/.vim/bundle/vim-fish"]
path = vim/.vim/pack/plugins/start/vim-fish
url = https://github.com/dag/vim-fish
[submodule "vim/.vim/bundle/vim-airline"]
path = vim/.vim/pack/plugins/start/vim-airline
url = https://github.com/vim-airline/vim-airline
[submodule "pb"]
path = pb
url = https://tildegit.org/tomasino/pb

View File

@ -16,7 +16,7 @@ endif
install:
@make $(UNAME)
Linux: bash fzf fish git mutt byobu weechat vim nvim gnupg bin vscode sublime
Linux: bash bin byobu fish git gnupg mutt nvim pb vim weechat
Windows: bash git vim
Other: bash git vim
@ -30,10 +30,9 @@ clean:
stow -t "$$HOME" -D gnupg
stow -t "$$HOME" -D mutt
stow -t "$$HOME" -D nvim
stow -t "$$HOME" -D sublime
stow -t "$$HOME" -D vim
stow -t "$$HOME" -D vscode
stow -t "$$HOME" -D weechat
$(MAKE) -C pb PREFIX=~/.local uninstall
bash:
@printf "$(YELLOW)--- bash -----------------------------------------------\n$(RESET)"
@ -52,12 +51,6 @@ fish:
@printf "$(YELLOW)--- fish -----------------------------------------------\n$(RESET)"
stow -t "$$HOME" fish
fzf: fish
@printf "$(YELLOW)--- fzf ------------------------------------------------\n$(RESET)"
git submodule update --init -- fzf/.fzf
stow -t "$$HOME" fzf
~/.fzf/install --no-bash --no-zsh --no-completion --no-update-rc --key-bindings --64
git:
@printf "$(YELLOW)--- git ------------------------------------------------\n$(RESET)"
stow -t "$$HOME" git
@ -76,20 +69,18 @@ nvim:
@printf "$(YELLOW)--- nvim -----------------------------------------------\n$(RESET)"
stow -t "$$HOME" nvim
sublime:
@printf "$(YELLOW)--- sublime --------------------------------------------\n$(RESET)"
stow -t "$$HOME" sublime
pb:
@printf "$(YELLOW)--- pb -------------------------------------------------\n$(RESET)"
git submodule update --remote --init -- pb
$(MAKE) -C pb PREFIX=~/.local install
vim:
@printf "$(YELLOW)--- vim ------------------------------------------------\n$(RESET)"
mkdir -p ~/.vim/undodir
git submodule update --init -- vim/.vim/bundle
mkdir -p ~/.vim/{undodir,swap,backup}
chmod 700 ~/.vim/{undodir,swap,backup}
git submodule update --remote --init -- vim/.vim/pack/plugins
stow -t "$$HOME" vim
vscode:
@printf "$(YELLOW)--- vscode ---------------------------------------------\n$(RESET)"
stow -t "$$HOME" vscode
weechat:
@printf "$(YELLOW)--- weechat --------------------------------------------\n$(RESET)"
stow -t "$$HOME" weechat
@ -98,4 +89,4 @@ nuke:
@printf "$(RED)--- nuking existing files ------------------------------\n$(RESET)"
rm -rf ~/.byobu ~/.config/fish ~/.fzf ~/.bash*
.PHONY: bash fzf fish git vim nvim mutt byobu weechat gnupg bin vscode sublime clean install nuke Windows Linux Other
.PHONY: bash fish git pb vim nvim mutt byobu weechat gnupg bin clean install nuke Windows Linux Other

View File

@ -6,6 +6,6 @@ it includes configs for my most frequently used tools.
### steps to install on debian and derivatives
1. `apt install make stow fish git byobu vim`
1. `apt install make stow fish git byobu vim ripgrep fzf`
1. `make nuke install` - note that nuke removes existing files in your $HOME

0
bash/.bash_aliases Executable file → Normal file
View File

0
bash/.bash_logout Executable file → Normal file
View File

0
bash/.bash_profile Executable file → Normal file
View File

0
bash/.bashrc Executable file → Normal file
View File

1
bin/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
bin/lf

84
bin/bin/c Executable file
View File

@ -0,0 +1,84 @@
#!/bin/sh
set -eu
temp=$(mktemp -d)
trap 'rm -r "$temp"' EXIT
exec 3>>"${temp}/run.c"
cat >&3 <<EOF
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <inttypes.h>
#include <limits.h>
#include <locale.h>
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <wchar.h>
#include <wctype.h>
#include <fcntl.h>
#include <strings.h>
#include <unistd.h>
EOF
while getopts 'e:i:' opt; do
case "$opt" in
(e) expr=$OPTARG;;
(i) echo "#include <${OPTARG}>" >&3;;
(?) exit 1;;
esac
done
shift $((OPTIND - 1))
cat >&3 <<EOF
int main(int argc, char *argv[]) {
(void)argc;
(void)argv;
$*;
EOF
if [ -n "${expr:-}" ]; then
cat >&3 <<EOF
printf(
_Generic(
${expr},
char: "%c\n",
char *: "%s\n",
wchar_t *: "%ls\n",
signed char: "%hhd\n",
short: "%hd\n",
int: "%d\n",
long: "%ld\n",
long long: "%lld\n",
unsigned char: "%hhu\n",
unsigned short: "%hu\n",
unsigned int: "%u\n",
unsigned long: "%lu\n",
unsigned long long: "%llu\n",
double: "%g\n",
default: "%p\n"
),
${expr}
);
EOF
fi
if [ $# -eq 0 -a -z "${expr:-}" ]; then
cat >&3
fi
echo '}' >&3
cat >"${temp}/Makefile" <<EOF
CFLAGS += -Wall -Wextra -Wpedantic
EOF
make -s -C "${temp}" run
"${temp}/run"

4
bin/bin/certexpiry Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
exec openssl s_client -connect "$1" </dev/null 2>/dev/null \
| openssl x509 -noout -dates

18
bin/bin/f Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env perl
# https://blog.plover.com/prog/runN.html
my $field = shift or usage();
$field -= 1 if $field > 0;
$|=1;
while (<>) {
chomp;
my @f = split;
print $f[$field], "\n";
}
sub usage {
print STDERR "$0 fieldnumber\n";
exit 1;
}

11
bin/bin/gall Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
repos=$(find ~/workspace -type d -name .git)
for repo in $repos; do
dir=$(dirname "$repo")
printf "%s\n" "$(basename "$dir")"
git -C "$dir" "$@"
printf "\n"
done

14
bin/bin/httpstatus Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env python3
from http import HTTPStatus
from sys import argv, exit, stderr
if len(argv) == 2:
try:
status = HTTPStatus(int(argv[1]))
print(status.phrase)
print(status.description)
except ValueError:
print("Invalid HTTP status code", file=stderr)
exit(1)
else:
print(f"{argv[0]} [code] to print the name of the HTTP status code")

6
bin/bin/logcount Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
zcat -f /var/log/nginx/other_vhosts_access.log* |\
grep -viE '(bing|googlebot|baidu|semrush|yandex|ahrefsbot|linkcheck|yisou|mail\.ru|dotbot|seznambot|mj12bot|applebot|coccoc|webeaver|commoncrawl|exabot|7ooo\.ru|changedetection|brandwatch|360spider|gowikibot|ryte\.com|semanticscholar|crawler|alignab|daum\.net|Apache-HttpClient|wp-cron\.php|xmlrpc\.php|wp-login\.php|uptimerobot|/wp-admin/|python-requests|robots\.txt|feedparser|siteimprove|zoominfobot)' |\
grep -i "$1"

12
bin/bin/pbm Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
pbm() {
curl -s https://pinballmap.com/api/v1/locations/$1/machine_details.json\?machines_only=1 \
| jq -r '.machines | .[]' \
> ~/public_html/pin/$2.txt
}
pbm 9699 coinslot
pbm 13280 rightbrain

3
bin/bin/rsyncall Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
# https://anarc.at/blog/2019-07-07-rsync-oneliner/
exec rsync -PaSHAXx --numeric-ids --info=progress2 "$@"

View File

@ -4,6 +4,5 @@ rename 's/ /-/g' ~/Pictures/*.png
latest=$(ls -Art ~/Pictures | tail -n 1)
pb "~/Pictures/$latest" | xclip -selection clipboard
notify-send "on yr clipbrd"
pb "~/Pictures/$latest"

View File

@ -1,29 +0,0 @@
#!/usr/bin/env bash
DISTRO="$1"
RELEASE="$2"
PKGLIST="${DISTRO}.pkglist"
[ -z $DISTRO -o -z $RELEASE ] && \
echo "usage: sudo $0 <distro> <release>" && exit 1
[[ $(id -u) != 0 ]] && \
echo "re-run this as root" && exit 1
# make sure we have sources
echo "deb https://apt.syncthing.net/ syncthing stable" > /etc/apt/sources.list.d/syncthing.list
echo "deb https://weechat.org/${DISTRO} ${RELEASE} main" > /etc/apt/sources.list.d/weechat.list
apt update
apt upgrade -y
apt full-upgrade -y
apt install -y $(xargs < ${PKGLIST})
echo -n "install makefiles? [y/n]"
read answer
[[ "$answer" = "y" ]] && \
make nuke install

0
byobu/.byobu/.screenrc Executable file → Normal file
View File

2
byobu/.byobu/.tmux.conf Executable file → Normal file
View File

@ -1,3 +1 @@
set -g default-shell /usr/bin/fish
set -g default-command /usr/bin/fish
set -g default-terminal "screen-256color"

0
byobu/.byobu/.welcome-displayed Executable file → Normal file
View File

0
byobu/.byobu/backend Executable file → Normal file
View File

0
byobu/.byobu/color Executable file → Normal file
View File

2
byobu/.byobu/datetime.tmux Executable file → Normal file
View File

@ -1,2 +1,2 @@
BYOBU_TIME="%H:%M:%S"
BYOBU_TIME="%-l:%M:%S%P"
BYOBU_DATE=

0
byobu/.byobu/keybindings Executable file → Normal file
View File

0
byobu/.byobu/keybindings.tmux Executable file → Normal file
View File

0
byobu/.byobu/profile Executable file → Normal file
View File

0
byobu/.byobu/profile.tmux Executable file → Normal file
View File

0
byobu/.byobu/prompt Executable file → Normal file
View File

2
byobu/.byobu/status Executable file → Normal file
View File

@ -31,7 +31,7 @@ screen_lower_right="color network #disk_io custom #entropy raid reboot_required
# Tmux has one status line, with 2 halves for status
tmux_left=" #logo #distro #release #arch #session"
# You can have as many tmux right lines below here, and cycle through them using Shift-F5
tmux_right=" #network #disk_io #custom #entropy #raid reboot_required updates_available #apport #services #mail #users uptime #ec2_cost #rcs_cost #fan_speed cpu_temp #battery #wifi_quality processes load_average cpu_count cpu_freq memory #swap disk #whoami hostname #ip_address time_utc #date time"
tmux_right=" #network #disk_io #custom #entropy #raid reboot_required updates_available #apport #services #mail users uptime #fan_speed cpu_temp #battery #wifi_quality processes load_average cpu_count cpu_freq memory #swap disk #whoami hostname #ip_address time_utc #date time"
#tmux_right="network #disk_io #custom entropy raid reboot_required updates_available #apport #services #mail users uptime #ec2_cost #rcs_cost fan_speed cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap #disk whoami hostname ip_address #time_utc date time"
#tmux_right="network #disk_io custom #entropy raid reboot_required updates_available #apport #services #mail users uptime #ec2_cost #rcs_cost #fan_speed #cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap #disk #whoami #hostname ip_address #time_utc date time"
#tmux_right="#network disk_io #custom entropy #raid #reboot_required #updates_available #apport #services #mail #users #uptime #ec2_cost #rcs_cost fan_speed cpu_temp #battery #wifi_quality #processes #load_average #cpu_count #cpu_freq #memory #swap whoami hostname ip_address #time_utc disk date time"

0
byobu/.byobu/statusrc Executable file → Normal file
View File

0
byobu/.byobu/windows Executable file → Normal file
View File

0
byobu/.byobu/windows.tmux Executable file → Normal file
View File

View File

@ -1,265 +0,0 @@
adduser
ansible
apt
apt-listchanges
apt-utils
avahi-daemon
base-files
base-passwd
bash
bash-completion
bsdgames
bsdmainutils
bsdutils
build-essential
busybox
byobu
bzip2
cloc
console-setup
coreutils
cpio
cron
curl
dash
dbus
debconf
debconf-i18n
debian-archive-keyring
debian-faq
debianutils
desktop-base
diffutils
discover
dmidecode
dmsetup
dnsutils
doc-debian
dpkg
e2fslibs
e2fsprogs
erlang
file
file-roller
findutils
firmware-iwlwifi
fish
gcc-6-base
gedit-plugins
gettext-base
gimp
git
gnupgv2
gnupg-agent
gpgv
grep
groff-base
gzip
hdparm
hostname
ifupdown
init
initramfs-tools
init-system-helpers
inkscape
installation-report
iproute2
iptables
iputils-ping
isc-dhcp-client
isc-dhcp-common
keepassxc
keyboard-configuration
kmod
krb5-locales
laptop-detect
less
libacl1
libapparmor1
libapt-inst2.0
libapt-pkg5.0
libassuan0
libattr1
libaudit1
libaudit-common
libblkid1
libbsd0
libbz2-1.0
libc6
libcap2
libcap-ng0
libc-bin
libclass-isa-perl
libcomerr2
libcryptsetup4
libdb5.3
libdebconfclient0
libdevmapper1.02.1
libdns-export162
libelf1
libestr0
libfastjson4
libfdisk1
libffi6
libgcc1
libgcrypt20
libgdbm3
libgmp10
libgnutls30
libgpg-error0
libgsf-bin
libgtk2-perl
libhogweed4
libidn11
libidn2-0
libip4tc0
libip6tc0
libiptc0
libisc-export160
libkmod2
libksba8
liblocale-gettext-perl
liblockfile-bin
liblogging-stdlog0
liblognorm5
liblz4-1
liblzma5
libmnl0
libmount1
libncurses5
libncursesw5
libnetfilter-conntrack3
libnettle6
libnewt0.52
libnfnetlink0
libnpth0
libp11-kit0
libpam0g
libpam-modules
libpam-modules-bin
libpam-runtime
libpam-systemd
libpcre3
libpipeline1
libpopt0
libprocps6
libproxy1-plugin-networkmanager
libpsl5
libreadline7
libseccomp2
libselinux1
libsemanage1
libsemanage-common
libsepol1
libslang2
libsmartcols1
libsqlite3-0
libss2
libssl1.0.2
libssl1.1
libstdc++6
libswitch-perl
libsystemd0
libtasn1-6
libtext-charwidth-perl
libtext-iconv-perl
libtext-wrapi18n-perl
libtinfo5
libudev1
libunistring0
libustr-1.0-1
libuuid1
libxapian30
libxtables12
linux-image-amd64
locales
login
logrotate
lsb-base
lsof
make
man-db
manpages
mawk
mime-support
minetest
mosh
mount
mtr
mumble
mutt
nano
ncurses-base
ncurses-bin
ncurses-term
neofetch
neovim
netbase
netcat-traditional
network-manager-gnome
nodejs
npm
nvidia-driver
openssh-client
orca
passwd
pciutils
perl
perl-base
perl-modules-5.24
pinentry-curses
procps
python
python2.7
python3-pip
python3-reportbug
python3-uno
python-minimal
python-pip
readline-common
reportbug
rhythmbox
rhythmbox-plugin-cdrecorder
rhythmbox-plugins
rsyslog
rustc
scdaemon
seahorse
sed
sensible-utils
shotwell
simple-scan
snapd
stow
syncthing
systemd
systemd-sysv
sysvinit-utils
tar
task-desktop
task-english
tasksel
tasksel-data
telnet
thunderbird
totem-plugins
traceroute
transmission-gtk
tzdata
ucf
udev
usbutils
util-linux
vim
vim-common
vim-tiny
vinagre
vino
wamerican
wget
whiptail
xdg-user-dirs-gtk
xxd
xz-utils
yubikey-personalization
zlib1g

View File

@ -0,0 +1,11 @@
complete -c lf -o command -r -d 'command to execute on client initialization'
complete -c lf -o cpuprofile -r -d 'path to the file to write the CPU profile'
complete -c lf -o doc -d 'show documentation'
complete -c lf -o last-dir-path -r -d 'path to the file to write the last dir on exit (to use for cd)'
complete -c lf -o memprofile -r -d 'path to the file to write the memory profile'
complete -c lf -o remote -x -d 'send remote command to server'
complete -c lf -o selection-path -r -d 'path to the file to write selected files on open (to use as open file dialog)'
complete -c lf -o server -d 'start server (automatic)'
complete -c lf -o version -d 'show version'
complete -c lf -o help -d 'show help'

46
fish/.config/fish/config.fish Executable file → Normal file
View File

@ -1,25 +1,31 @@
status --is-login; and status --is-interactive; and exec byobu-launcher
if type -q nvim > /dev/null
set -xg EDITOR nvim
else
set -xg EDITOR vim
end
set -xg EDITOR vim
set -xg TZ 'America/Detroit'
if test -d ~/Maildir
set -x MAIL ~/Maildir
end
if test -d /usr/local/go
set -x GOPATH (/usr/local/go/bin/go env GOPATH)
for i in ~/bin ~/.local/bin ~/.rbenv/bin ~/.rbenv/shims ~/.cargo/bin ~/.yarn/bin ~/go/bin ~/.dotnet/tools
fish_add_path --path $i
end
set my_paths ~/bin /usr/local/go/bin ~/.yarn/bin $GOPATH/bin ~/.local/bin ~/.cargo/bin /snap/bin ~/.fzf/bin
for path in $my_paths
if test -d $path; and not echo $fish_user_paths | grep -q "$path"; and not echo $PATH | grep -q "$path"
set -x fish_user_paths $fish_user_paths $path
# add rbenv paths
if status --is-interactive && type -q rbenv
set -gx RBENV_SHELL fish
source '/usr/lib/rbenv/completions/rbenv.fish'
command rbenv rehash 2>/dev/null
function rbenv
set command $argv[1]
set -e argv[1]
switch "$command"
case rehash shell
source (rbenv "sh-$command" $argv|psub)
case '*'
command rbenv "$command" $argv
end
end
end
@ -28,11 +34,17 @@ if test -S $HOME/.gnupg/S.gpg-agent
set -x SSH_AUTH_SOCK $HOME/.gnupg/S.gpg-agent
set -x GPG_SOCK $HOME/.gnupg/S.gpg-agent
else
set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
type -q gpgconf && set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
end
set -x BBJ_USER $USER
set -x DEBEMAIL ben@tilde.team
set -x DEBFULLNAME "Ben Harris"
# load postexec_insult
postexec_insult
# add dotnet completions if needed
if status --is-interactive && type -q dotnet
complete -f -c dotnet -a "(dotnet complete)"
end
status --is-login && status --is-interactive && exec byobu-launcher

View File

@ -1,19 +1,24 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export DEBEMAIL:ben\x40tilde\x2eteam
SETUVAR DOTNET_CLI_TELEMETRY_OPTOUT:1
SETUVAR EMAIL:ben\x40tilde\x2eteam
SETUVAR __fish_init_2_39_8:\x1d
SETUVAR __fish_init_2_3_0:\x1d
SETUVAR __fish_init_3_x:\x1d
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:555\x1ebrblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:005fd7
SETUVAR fish_color_command:\x2d\x2dbold
SETUVAR fish_color_comment:990000
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:990000
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:009900
SETUVAR fish_color_error:ff0000
SETUVAR fish_color_escape:00a6b2
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:00a6b2
@ -31,4 +36,5 @@ SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fisher_dependency_count:bass\x1edone\x1egetopts\x1egitignore\x1ehumanize_duration\x1envm\x1espin

View File

@ -1,4 +1,3 @@
# Defined in /tmp/fish.5ZM6aQ/anonradio.fish @ line 1
function anonradio
nvlc http://anonradio.net:8000/anonradio
end

View File

@ -0,0 +1,4 @@
function backupstatus
ssh rsync quota
ssh rsync du -sh "*.borg"
end

View File

@ -1,8 +0,0 @@
function cat
if type -q bat >/dev/null
bat $argv
else
command cat $argv
end
end

View File

@ -1,8 +0,0 @@
# Defined in /tmp/fish.hXQA9y/cp_tilde_index.fish @ line 1
function cp_tilde_index
sudo cp /etc/skel/public_html/index.php /home/$argv[1]/public_html/.
sudo chown $argv[1]:$argv[1] /home/$argv[1]/public_html/index.php
if test -e /home/$argv[1]/public_html/index.html
sudo rm /home/$argv[1]/public_html/index.html
end
end

View File

@ -0,0 +1,3 @@
function cwhois
whois -h bgp.tools " -v $argv"
end

View File

@ -1,4 +0,0 @@
function e
exa -al --git --group-directories-first $argv
end

View File

@ -1,19 +0,0 @@
function fish_right_prompt
if is_git
if is_git_dirty
set_color --underline
end
set_color yellow
if is_git_ahead
echo -n '^'
else
echo -n '='
end
echo -n (git_branch)
set_color normal
end
end

View File

@ -1,3 +1,4 @@
function fish_user_key_bindings
fzf_key_bindings
fzf_key_bindings
bind \co 'lfcd; commandline -f repaint'
end

View File

@ -1 +0,0 @@
/home/ben/.fzf/shell/key-bindings.fish

View File

@ -0,0 +1,161 @@
# ____ ____
# / __/___ / __/
# / /_/_ / / /_
# / __/ / /_/ __/
# /_/ /___/_/ key-bindings.fish
#
# - $FZF_TMUX_OPTS
# - $FZF_CTRL_T_COMMAND
# - $FZF_CTRL_T_OPTS
# - $FZF_CTRL_R_OPTS
# - $FZF_ALT_C_COMMAND
# - $FZF_ALT_C_OPTS
# Key bindings
# ------------
function fzf_key_bindings
# Store current token in $dir as root for the 'find' command
function fzf-file-widget -d "List files and folders"
set -l commandline (__fzf_parse_commandline)
set -l dir $commandline[1]
set -l fzf_query $commandline[2]
# "-path \$dir'*/\\.*'" matches hidden files/folders inside $dir but not
# $dir itself, even if hidden.
test -n "$FZF_CTRL_T_COMMAND"; or set -l FZF_CTRL_T_COMMAND "
command find -L \$dir -mindepth 1 \\( -path \$dir'*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' \\) -prune \
-o -type f -print \
-o -type d -print \
-o -type l -print 2> /dev/null | sed 's@^\./@@'"
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
begin
set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT --reverse $FZF_DEFAULT_OPTS $FZF_CTRL_T_OPTS"
eval "$FZF_CTRL_T_COMMAND | "(__fzfcmd)' -m --query "'$fzf_query'"' | while read -l r; set result $result $r; end
end
if [ -z "$result" ]
commandline -f repaint
return
else
# Remove last token from commandline.
commandline -t ""
end
for i in $result
commandline -it -- (string escape $i)
commandline -it -- ' '
end
commandline -f repaint
end
function fzf-history-widget -d "Show command history"
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
begin
set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT $FZF_DEFAULT_OPTS --tiebreak=index --bind=ctrl-r:toggle-sort $FZF_CTRL_R_OPTS +m"
set -l FISH_MAJOR (echo $version | cut -f1 -d.)
set -l FISH_MINOR (echo $version | cut -f2 -d.)
# history's -z flag is needed for multi-line support.
# history's -z flag was added in fish 2.4.0, so don't use it for versions
# before 2.4.0.
if [ "$FISH_MAJOR" -gt 2 -o \( "$FISH_MAJOR" -eq 2 -a "$FISH_MINOR" -ge 4 \) ];
history -z | eval (__fzfcmd) --read0 --print0 -q '(commandline)' | read -lz result
and commandline -- $result
else
history | eval (__fzfcmd) -q '(commandline)' | read -l result
and commandline -- $result
end
end
commandline -f repaint
end
function fzf-cd-widget -d "Change directory"
set -l commandline (__fzf_parse_commandline)
set -l dir $commandline[1]
set -l fzf_query $commandline[2]
test -n "$FZF_ALT_C_COMMAND"; or set -l FZF_ALT_C_COMMAND "
command find -L \$dir -mindepth 1 \\( -path \$dir'*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' \\) -prune \
-o -type d -print 2> /dev/null | sed 's@^\./@@'"
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
begin
set -lx FZF_DEFAULT_OPTS "--height $FZF_TMUX_HEIGHT --reverse $FZF_DEFAULT_OPTS $FZF_ALT_C_OPTS"
eval "$FZF_ALT_C_COMMAND | "(__fzfcmd)' +m --query "'$fzf_query'"' | read -l result
if [ -n "$result" ]
cd $result
# Remove last token from commandline.
commandline -t ""
end
end
commandline -f repaint
end
function __fzfcmd
test -n "$FZF_TMUX"; or set FZF_TMUX 0
test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%
if [ -n "$FZF_TMUX_OPTS" ]
echo "fzf-tmux $FZF_TMUX_OPTS -- "
else if [ $FZF_TMUX -eq 1 ]
echo "fzf-tmux -d$FZF_TMUX_HEIGHT -- "
else
echo "fzf"
end
end
bind \ct fzf-file-widget
bind \cr fzf-history-widget
bind \ec fzf-cd-widget
if bind -M insert > /dev/null 2>&1
bind -M insert \ct fzf-file-widget
bind -M insert \cr fzf-history-widget
bind -M insert \ec fzf-cd-widget
end
function __fzf_parse_commandline -d 'Parse the current command line token and return split of existing filepath and rest of token'
# eval is used to do shell expansion on paths
set -l commandline (eval "printf '%s' "(commandline -t))
if [ -z $commandline ]
# Default to current directory with no --query
set dir '.'
set fzf_query ''
else
set dir (__fzf_get_dir $commandline)
if [ "$dir" = "." -a (string sub -l 1 -- $commandline) != '.' ]
# if $dir is "." but commandline is not a relative path, this means no file path found
set fzf_query $commandline
else
# Also remove trailing slash after dir, to "split" input properly
set fzf_query (string replace -r "^$dir/?" -- '' "$commandline")
end
end
echo $dir
echo $fzf_query
end
function __fzf_get_dir -d 'Find the longest existing filepath from input string'
set dir $argv
# Strip all trailing slashes. Ignore if $dir is root dir (/)
if [ (string length -- $dir) -gt 1 ]
set dir (string replace -r '/*$' -- '' $dir)
end
# Iteratively check if dir exists and strip tail end of path
while [ ! -d "$dir" ]
# If path is absolute, this can keep going until ends up at /
# If path is relative, this can keep going until entire input is consumed, dirname returns "."
set dir (dirname -- "$dir")
end
echo $dir
end
end

View File

@ -1,5 +1,4 @@
function is_git
git rev-parse --verify HEAD >/dev/null ^&1
# keeping ^ for now for v2 backwards compatibility
git rev-parse --verify HEAD >/dev/null 2>&1
end

View File

@ -1,8 +0,0 @@
function lg
if type -q lazygit > /dev/null
lazygit $argv
else
git status
end
end

View File

@ -0,0 +1,3 @@
function lynx
command lynx -vikeys -display_charset=UTF-8 $argv
end

View File

@ -0,0 +1,3 @@
function md
pandoc -s -f markdown -t html $argv[1] | lynx -stdin
end

View File

@ -0,0 +1,9 @@
function mdfmt
for md in $argv
pandoc \
-f markdown+yaml_metadata_block \
-t markdown+yaml_metadata_block \
--atx-headers \
-o $md $md
end
end

View File

@ -1,12 +0,0 @@
# Defined in /tmp/fish.QnvktC/postexec_insult.fish @ line 2
function postexec_insult --on-event fish_postexec
if test $status -ne 0
set_color red
echo -n =====
set_color magenta
echo -n (shuf -n1 ~/insults.txt)
set_color red
echo =====
set_color normal
end
end

View File

@ -0,0 +1,5 @@
# Defined in /tmp/fish.Fo1L3P/pubtr.fish @ line 1
function pubtr
mtr -wrc4 $argv[1] > ~/pub/mtr/"$argv[1]".txt
echo https://bhh.sh/pub/mtr/$argv[1].txt
end

View File

@ -1,3 +0,0 @@
function renew_ifd_cert
sudo certbot certonly --agree-tos --renew-by-default --manual --preferred-challenges=dns -d ironfishdistillery.com $argv
end

View File

@ -0,0 +1,3 @@
function rm
command rm -I $argv
end

View File

@ -0,0 +1,3 @@
function ssys
sudo systemctl $args
end

View File

@ -0,0 +1,3 @@
function stripcolors
sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g"
end

View File

@ -0,0 +1,3 @@
function sys
systemctl $argv
end

View File

@ -1,10 +1,11 @@
function wildcard-cert
sudo certbot certonly \
--dns-cloudflare \
--dns-cloudflare-credentials /root/.secrets/cloudflare.ini \
--server https://acme-v02.api.letsencrypt.org/directory \
--preferred-challenge dns-01 \
--cert-name $argv[1] \
-d $argv[1] \
sudo certbot certonly \
--dns-rfc2136 \
--dns-rfc2136-credentials /root/.secrets/rfc2136.ini \
--server https://acme-v02.api.letsencrypt.org/directory \
--preferred-challenge dns-01 \
--cert-name $argv[1] \
-d $argv[1] \
-d \*.$argv[1]
end

View File

@ -0,0 +1,3 @@
function zombies
ps -A -ostat,ppid | awk '/[zZ]/ && !a[$2]++ {print $2}'
end

View File

@ -1,48 +0,0 @@
Just what do you think you're doing Dave?
It can only be attributed to human error.
That's something I cannot allow to happen.
My mind is going. I can feel it.
Sorry about this, I know it's a bit silly.
Take a stress pill and think things over.
This mission is too important for me to allow you to jeopardize it.
We'll all be murdered in our beds!
You can't come in. Our tiger has got flu
What, what, what, what, what, what, what, what, what, what?
You can't get the wood, you know.
... and it used to be so popular...
Pauses for audience applause, not a sausage
Hold it up to the light --- not a brain in sight!
There's a lot of it about, you know.
You do that again and see what happens...
Harm can come to a young lad like that!
And with that remarks folks, the case of the Crown vs yourself was proven.
Speak English you fool --- there are no subtitles in this scene.
It's only your word against mine.
I think ... err ... I think ... I think I'll go home
My pet ferret can type better than you!
Your mind just hasn't been the same since the electro-shock, has it?
Maybe if you used more than just two fingers...
BOB says: You seem to have forgotten your passwd, enter another!
I can't hear you -- I'm using the scrambler.
The more you drive -- the dumber you get.
Listen, burrito brains, I don't have time to listen to this trash.
I've seen penguins that can type better than that.
Have you considered trying to match wits with a rutabaga?
You speak an infinite deal of nothing
I feel much better now.
You silly, twisted boy you.
He has fallen in the water!
I don't wish to know that.
You'll starve!
Have a gorilla...
There must be cure for it!
Ying Tong Iddle I Po
You gotta go owwwww!
I have been called worse.
Wrong! You cheating scum!
No soap, honkie-lips.
Where did you learn to type?
Are you on drugs?
You type like I drive.
Do you think like you type?
ur cute

@ -1 +0,0 @@
Subproject commit 315e568de006e80138f79c77d5508c7e4853e6b2

78
git/.gitconfig Executable file → Normal file
View File

@ -1,30 +1,76 @@
[user]
email = ben@tilde.team
name = Ben Harris
signingkey = FC2255B7BBC7EABD4EFAFA1068907D8BCCD85A5A
email = ben@tilde.team
name = Ben Harris
signingkey = FC2255B7BBC7EABD4EFAFA1068907D8BCCD85A5A
[push]
default = simple
default = simple
[commit]
gpgsign = true
gpgsign = false
verbose = true
[pull]
ff = only
ff = only
[pager]
diff = diff-highlight | less
log = diff-highlight | less
reflog = diff-highlight | less
show = diff-highlight | less
[diff]
colorMoved = default
[diff "gpg"]
textconv = gpg --no-tty --decrypt
cachetextconv = false
textconv = gpg --no-tty --decrypt
cachetextconv = false
[diff "ansible-vault"]
textconv = ansible-vault view
cachetextconv = false
textconv = ansible-vault view
cachetextconv = false
[sendemail]
smtpencryption = tls
smtpserver = mail.tilde.team
smtpserverport = 587
annotate = yes
smtpuser = ben
smtpencryption = tls
smtpserver = mail.tilde.team
smtpserverport = 587
smtpuser = ben
annotate = yes
[alias]
lol = log --oneline --graph --decorate --all
lol = log --oneline --graph --decorate --all
joke = !curl -s https://raw.githubusercontent.com/EugeneKay/git-jokes/lulz/Jokes.txt | shuf -n1
dad = !curl https://icanhazdadjoke.com
staged = diff --staged
ap = add --patch
cv = commit --verbose
local = log --oneline --no-merges ${1-$(git branch -lvv | perl -ne '/^\\\\*.*\\\\[(.*?)\\\\]/ and print \"$1\\n\"')}..HEAD
upstream = log --oneline --no-merges HEAD..${1-$(git branch -lvv | perl -ne '/^\\\\*.*\\\\[(.*?)\\\\]/ and print \"$1\\n\"')}
[rerere]
enabled = true
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false
[core]
pager = diff-highlight | less
excludesfile = /home/ben/.gitignore
[url "git@salsa.debian.org:"]
pushInsteadOf = https://salsa.debian.org/
insteadOf = salsa:
[url "git@bhh.sh:repos/"]
pushInsteadOf = https://git.bhh.sh/
[init]
defaultBranch = main
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[safe]
directory = *

1
git/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.pc/

View File

@ -12,7 +12,7 @@ set timeout=30
set record="+.Sent"
set postponed="+.Drafts"
mailboxes `echo -n "+ "; find ~/Maildir -maxdepth 1 -type d -name ".*" -printf "+%f' " `
mailboxes `echo -n "+ "; find ~/Maildir -maxdepth 1 -type d -name ".*" -printf "+%f' "`
macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"

1
pb Submodule

@ -0,0 +1 @@
Subproject commit a6cea6f11a60e7f1c7963c9ecad79d07f64ce4b2

View File

@ -1,23 +0,0 @@
{
// If you want exceptions reraised so you can see them in the console, change this to true.
"reraise_exceptions": false,
// If you want to have a syntax applied when new files are created, set new_file_syntax to the name of the syntax
// to use. The format is exactly the same as "syntax" in the rules below. For example, if you want to have a new
// file use JavaScript syntax, set new_file_syntax to 'JavaScript'.
"new_file_syntax": false,
// Auto add extensions to language settings file in User folder.
// Do not manually remove "apply_syntax_extensions" from the settings file.
// "extenstions" are ignored by "match": "all" setting.
"add_exts_to_lang_settings": true,
// Control level of logging in the console.
// (true|false|"verbose")
"debug": true,
// Put your custom syntax rules here:
"syntaxes": [
]
}

View File

@ -1,59 +0,0 @@
{
"HTML (Rails)":
[
"html.erb"
],
"JSON":
[
".bowerrc",
".csslintrc",
".eslintrc",
".jscsrc",
".jshintrc",
"geojson"
],
"PHP":
[
"inc",
"php3",
"php4",
"php5",
"phtml"
],
"Python":
[
"py3",
"pyw"
],
"Ruby":
[
"jbuilder",
"podspec",
"rabl",
"rake",
"rb",
"simplecov",
"thor"
],
"Ruby Haml":
[
"haml"
],
"Shell-Unix-Generic":
[
"bash",
"sh",
"zsh"
],
"XML":
[
"xml.dist"
],
"YAML":
[
".gemrc",
"YAML-tmLanguage",
"yml",
"yml.dist"
]
}

View File

@ -1,23 +0,0 @@
{
// If you want exceptions reraised so you can see them in the console, change this to true.
"reraise_exceptions": false,
// If you want to have a syntax applied when new files are created, set new_file_syntax to the name of the syntax
// to use. The format is exactly the same as "syntax" in the rules below. For example, if you want to have a new
// file use JavaScript syntax, set new_file_syntax to 'JavaScript'.
"new_file_syntax": false,
// Auto add extensions to language settings file in User folder.
// Do not manually remove "apply_syntax_extensions" from the settings file.
// "extenstions" are ignored by "match": "all" setting.
"add_exts_to_lang_settings": true,
// Control level of logging in the console.
// (true|false|"verbose")
"debug": true,
// Put your custom syntax rules here:
"syntaxes": [
]
}

View File

@ -1,59 +0,0 @@
{
"HTML (Rails)":
[
"html.erb"
],
"JSON":
[
".bowerrc",
".csslintrc",
".eslintrc",
".jscsrc",
".jshintrc",
"geojson"
],
"PHP":
[
"inc",
"php3",
"php4",
"php5",
"phtml"
],
"Python":
[
"py3",
"pyw"
],
"Ruby":
[
"jbuilder",
"podspec",
"rabl",
"rake",
"rb",
"simplecov",
"thor"
],
"Ruby Haml":
[
"haml"
],
"Shell-Unix-Generic":
[
"bash",
"sh",
"zsh"
],
"XML":
[
"xml.dist"
],
"YAML":
[
".gemrc",
"YAML-tmLanguage",
"yml",
"yml.dist"
]
}

View File

@ -1,5 +0,0 @@
{
"auto_complete": true,
"auto_complete_selector": "source - comment",
"auto_complete_triggers": [ {"selector": "source.cs", "characters": ".<"} ],
}

View File

@ -1,3 +0,0 @@
{
"ensure_newline_at_eof_on_save":true
}

View File

@ -1,21 +0,0 @@
<snippet>
<content><![CDATA[
// Ben Harris CS228-02 Network Programming
// $1
#include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
int main(int argc, char **argv){
$0
return 0;
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>CS228</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.c++</scope>
</snippet>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 563 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 566 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 563 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 575 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 563 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 563 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 573 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 563 B

Some files were not shown because too many files have changed in this diff Show More