diff --git a/.fisher b/.fisher deleted file mode 100644 index 405113c..0000000 --- a/.fisher +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/fish -curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher diff --git a/pi/.tmux.conf b/.tmux.conf similarity index 100% rename from pi/.tmux.conf rename to .tmux.conf diff --git a/mac/.vim/commentN.txt b/.vim/commentN.txt similarity index 100% rename from mac/.vim/commentN.txt rename to .vim/commentN.txt diff --git a/mac/.vim/commentP.txt b/.vim/commentP.txt similarity index 100% rename from mac/.vim/commentP.txt rename to .vim/commentP.txt diff --git a/mac/.vim/commentQ.txt b/.vim/commentQ.txt similarity index 100% rename from mac/.vim/commentQ.txt rename to .vim/commentQ.txt diff --git a/mac/.vim/commentS.txt b/.vim/commentS.txt similarity index 100% rename from mac/.vim/commentS.txt rename to .vim/commentS.txt diff --git a/mac/.vim/ftdetect/ano.vim b/.vim/ftdetect/ano.vim similarity index 100% rename from mac/.vim/ftdetect/ano.vim rename to .vim/ftdetect/ano.vim diff --git a/mac/.vim/ftdetect/go.vim b/.vim/ftdetect/go.vim similarity index 100% rename from mac/.vim/ftdetect/go.vim rename to .vim/ftdetect/go.vim diff --git a/mac/.vim/ftdetect/prv.vim b/.vim/ftdetect/prv.vim similarity index 100% rename from mac/.vim/ftdetect/prv.vim rename to .vim/ftdetect/prv.vim diff --git a/mac/.vim/ftdetect/txt.vim b/.vim/ftdetect/txt.vim similarity index 100% rename from mac/.vim/ftdetect/txt.vim rename to .vim/ftdetect/txt.vim diff --git a/mac/.vim/syntax/ano.vim b/.vim/syntax/ano.vim similarity index 100% rename from mac/.vim/syntax/ano.vim rename to .vim/syntax/ano.vim diff --git a/mac/.vim/syntax/go.vim b/.vim/syntax/go.vim similarity index 100% rename from mac/.vim/syntax/go.vim rename to .vim/syntax/go.vim diff --git a/mac/.vim/syntax/prv.vim b/.vim/syntax/prv.vim similarity index 100% rename from mac/.vim/syntax/prv.vim rename to .vim/syntax/prv.vim diff --git a/mac/.vim/syntax/rust.vim b/.vim/syntax/rust.vim similarity index 100% rename from mac/.vim/syntax/rust.vim rename to .vim/syntax/rust.vim diff --git a/mac/.vim/syntax/tests/ano.ano b/.vim/syntax/tests/ano.ano similarity index 100% rename from mac/.vim/syntax/tests/ano.ano rename to .vim/syntax/tests/ano.ano diff --git a/mac/.vim/syntax/tests/prv.prv b/.vim/syntax/tests/prv.prv similarity index 100% rename from mac/.vim/syntax/tests/prv.prv rename to .vim/syntax/tests/prv.prv diff --git a/mac/.vim/syntax/tests/txt.txt b/.vim/syntax/tests/txt.txt similarity index 100% rename from mac/.vim/syntax/tests/txt.txt rename to .vim/syntax/tests/txt.txt diff --git a/mac/.vim/syntax/txt.vim b/.vim/syntax/txt.vim similarity index 100% rename from mac/.vim/syntax/txt.vim rename to .vim/syntax/txt.vim diff --git a/mac/.vim/.netrwhist b/mac/.vim/.netrwhist deleted file mode 100644 index 2c43992..0000000 --- a/mac/.vim/.netrwhist +++ /dev/null @@ -1,8 +0,0 @@ -let g:netrw_dirhistmax =10 -let g:netrw_dirhistcnt =6 -let g:netrw_dirhist_6='/Users/adamska/.vim/ftdetect' -let g:netrw_dirhist_5='/Users/adamska/Documents/work/dotfiles/mac' -let g:netrw_dirhist_4='/Users/adamska/Documents/work/dotfiles' -let g:netrw_dirhist_3='/Users/adamska/Documents/work' -let g:netrw_dirhist_2='/usr/share/vim/vim90' -let g:netrw_dirhist_1='/Users/adamska/.vim' diff --git a/mac/.vim/colors/real_def.vim b/mac/.vim/colors/real_def.vim deleted file mode 100755 index 7acebaa..0000000 --- a/mac/.vim/colors/real_def.vim +++ /dev/null @@ -1,25 +0,0 @@ -" Vim color file -" Maintainer: Bram Moolenaar -" Last Change: 2001 Jul 23 - -" This is the default color scheme. It doesn't define the Normal -" highlighting, it uses whatever the colors used to be. - -" Set 'background' back to the default. The value can't always be estimated -" and is then guessed. -hi clear Normal -set bg& - -" Remove all existing highlighting and set the defaults. -hi clear - -hi LineNr ctermfg=Green - -" Load the syntax highlighting defaults, if it's enabled. -if exists("syntax_on") - syntax reset -endif - -let colors_name = "real_def" - -" vim: sw=2 diff --git a/mac/.zshrc b/mac/.zshrc deleted file mode 100755 index 74d7967..0000000 --- a/mac/.zshrc +++ /dev/null @@ -1,132 +0,0 @@ -# ============================================================================== -# Auth: dodd -# File: .zshrc -# Revn: 01-02-2025 2.0 -# Func: Define user-made aliases and functions to make using the terminal easier -# -# TODO: make bt functions to check for connection before dc/connecting -# research git command stuff -# ============================================================================== -# CHANGE LOG -# ------------------------------------------------------------------------------ -# 09-06-2023: init -# copied over useful aliases from ocelot -# wrote function to ssh into ocelot remotely, ip robust -# 09-09-2023: added aliases to gcc and g++ -# 09-10-2023: added moved tdm and donut to ~/bin/, changed alias accordingly -# 09-15-2023: made ocelot and sentinel try local ssh before using $ip -# 09-18-2023: added vim alias to correct vim loading shitty colors -# 12-28-2023: added blueutil aliases to connect/dc from M50x's -# 01-18-2024: converted btutil aliases into functions -# added power on/off to btfunctions -#*04-11-2024: removed constant ip call, because of ddns (thanks luke) -# added o and p flags to ls alias -# gutted remote ssh calls, replaced with ddns -# 05-11-2024: added git branch recognition of some sort -# 05-16-2024: updated pi static IP's ( fuck speccy ) -# fixed accidental yank and place of "-p 23" in sentinel -# 06-07-2024: updated pi public IP's ( fuck speccy again ) -# fixed accidental renaming ofrsentinel as rocelot -# 10-22-2024: updated prompt, moving git branch to beginning -# placed branch inside double brackets, [[ ]] ( vcs_git ) -# 12-20-2024: added -p flag to vim alias -#*01-02-2025: wrote and commented oops() -# -# ============================================================================== - - -# User specific aliases and functions -## Aliases - -### Shows everything in detail, except . and .. -# A - list ALL ( except for . and .. ) -# F - put symbols behind items in list -# G - force color -# h - human readable file sizes -# l - long, list long -# o - list long, omit group -alias ll="ls -AFGhlo" -alias l="ls -AFGhlo" - -### Go home -alias home="cd ~" - -### local ssh -alias ocelot="ssh ocelot@192.168.1.152" -alias sentinel="ssh pi@192.168.1.139" -alias rocelot="ssh ocelot@97.70.74.80" -alias rsentinel="ssh -p 23 pi@97.70.74.80" - - -### mac gcc is an alias for clang -### after downloading gcc, it's not in the global bin, it's local -alias gcc="/usr/local/bin/gcc-13" -alias g++="/usr/local/bin/g++-13" - -### donut -alias donut="~/bin/donut" - -### tdm -alias tdm="~/bin/tdm" - -### vim -alias vim="vim +\"colo real_def\" -p" - -### load changes to .zshrc -alias src="source ~/.zshrc" - -## Aliases - - -## Functions -### turn on bluetooth and connect to m50x-bt -### TODO make more robust? how does btutil react when bt is on -### btutil -p 1 is run? -bt() { - blueutil -p 1 - blueutil --connect 00-0a-45-19-a0-4e -} - - -### turn off bluetooth and dc from m50x-bt -btdc() { - blueutil --disconnect 00-0a-45-19-a0-4e - blueutil -p 0 -} - - -### correct mistaken commands -oops() { - # not exactly sure this works on zsh - # but in *bash* - # $1 is the argument given to the function - # and $_ is the arguments from the previous command - # so the idea is that if you do like - # ls ~/.vim/syntax/commentS.txt - # and you wanna do vim ~/.vim/syntax/commentS.txt - # but don't wanna type it all out again - # you do can just do - # ls ~/.vim/syntax/commentS.txt - # oops vim - # and it works - $1 $_ - # TODO improve with bangs, so the correct command is stored in - # history -} - -## Functions - - -autoload -Uz vcs_info -precmd() { vcs_info } - -zstyle ':vcs_info:git:*' formats '%F{white}<<%f%F{red}[[%b]]%f' - -# zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html -setopt PROMPT_SUBST -# %F{color}...%f colors the encompassed text /color/ -# %m - shows the short machine name -# %1d - current working directory -PROMPT='%F{green}%m%f%B%F{red}${vcs_info_msg_0_}%b%f::%F{blue}%1~%f ⇌ ' -#PROMPT='%F{green}%*%f %F{blue}%~%f %F{red}${vcs_info_msg0}%f$ ' - diff --git a/mac/dos.sh b/mac/dos.sh deleted file mode 100755 index b58da47..0000000 --- a/mac/dos.sh +++ /dev/null @@ -1,20 +0,0 @@ -# ============================================================================== -# Auth: dodd -# File: XXX.xx -# Revn: MM-DD-YYYY 0.0 -# Func: -# -# TODO: create -# ============================================================================== -# CHANGE LOG -# ------------------------------------------------------------------------------ -# MM-DD-YYYY: init -# -# ============================================================================== - - -for i in {1..10} -do - osascript mes.as +15863812670 "hewwo uwu" -done - diff --git a/mac/mac_dl.sh b/mac/mac_dl.sh deleted file mode 100755 index 730014b..0000000 --- a/mac/mac_dl.sh +++ /dev/null @@ -1,29 +0,0 @@ -# ============================================================================== -# Auth: dodd -# File: mac_dl.sh -# Revn: 09-09-2023 0.1 -# Func: print the apps and links of stuff to download -# -# TODO: add mathematica -# ============================================================================== -# CHANGE LOG -# ------------------------------------------------------------------------------ -# 09-09-2023: init -# -# ============================================================================== - -echo "chrome" -echo "https://www.google.com/chrome/" - -echo "spotify" -echo "https://www.spotify.com/us/download/mac/" - -echo "minecraft" -echo "https://www.minecraft.net/en-us/download" - -echo "notion" -echo "https://www.notion.so/desktop" - -echo "arduino" -echo "https://www.arduino.cc/en/software" - diff --git a/mac/mac_setup.sh b/mac/mac_setup.sh deleted file mode 100755 index b03b898..0000000 --- a/mac/mac_setup.sh +++ /dev/null @@ -1,76 +0,0 @@ -# ============================================================================== -# Auth: dodd -# File: mac_setup.sh -# Revn: 01-04-2025 1.0 -# Func: re-setup terminal tools in mac -# -# TODO: improve -# comment? -# ============================================================================== -# CHANGE LOG -# ------------------------------------------------------------------------------ -# 09-09-2023: init -# 04-11-2024: added mkdir for bin and src -# moved some clones up a little bit -# put binaries in local bin directory -# 12-18-2024: made dotfiles symlink instead of copied diverging files -# 12-20-2024: corrected relative pathing issue with symlinks -# fixed bugs in cp mes.as and dos.sh lines -#*01-14-2025: fixed typo in .vimrc symlink -# -# ============================================================================== - -brew help > out 2> errout -rm out - -if [ -s errout ]; then - rm errout - echo "installing brew" - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -fi - - -brew install gcc -brew install go -brew install htop -#brew install btop -brew install neofetch -brew install onefetch -brew install rust -brew install tmux -brew install wireshark -brew install nmap - -mkdir ~/bin -mkdir ~/src -mkdir ~/Documents/work -cd ~/Documents/work - -git clone https://github.com/alexander-the-alright/dotfiles - -ln -s ~/Documents/work/dotfiles/mac/.zshrc ~/.zshrc -ln -s ~/Documents/work/dotfiles/.vimrc ~/.vimrc -ln -s ~/Documents/work/dotfiles/mac/.vim ~/.vim - -#cp dotfiles/mac/.zshrc ~/ -#cp dotfiles/mac/.vimrc ~/ -#cp -r dotfiles/mac/.vim ~/ - -cp dotfiles/mac/mes.as ~/ -cp dotfiles/mac/dos.sh ~/ - -git clone https://github.com/alexander-the-alright/soary - -git clone https://github.com/alexander-the-alright/TDM -go build TDM/tdm.go -mv tdm ~/bin - -/usr/local/bin/gcc-13 -o donut dotfiles/mac/donut.c > /dev/null 2> errout - -if [ -s errout ]; then - rm errout - echo "gcc failed" -else - mv donut ~/bin -fi - diff --git a/mac/mes.as b/mac/mes.as deleted file mode 100644 index fed99be..0000000 --- a/mac/mes.as +++ /dev/null @@ -1,7 +0,0 @@ -on run {targetBuddyPhone, targetMessage} - tell application "Messages" - set targetService to 1st service whose service type = SMS - set targetBuddy to buddy targetBuddyPhone of targetService - send targetMessage to targetBuddy - end tell -end run diff --git a/mac/texmf/tex/latex/5311.sty b/mac/texmf/tex/latex/5311.sty deleted file mode 100644 index d4fcec6..0000000 --- a/mac/texmf/tex/latex/5311.sty +++ /dev/null @@ -1,107 +0,0 @@ -% Style file for CS5311 "Theory of Computation" documents -% Charles Wallace -% These style settings are what I use to format the lecture notes and homework assignments. -% Feel free to use as much (or as little) of them as you like. - -\usepackage{amsmath} -\usepackage{amsthm} -\usepackage{latexsym} -\usepackage{fullpage,parskip,paralist} -\usepackage{amsmath,amsthm,amssymb} -\usepackage{graphicx} - -\ifdefined\nosol - \newcommand{\sol}[1]{} - \newcommand{\soltitle}{} -\else - \newcommand{\sol}[1]{{\bf Solution.} #1} - \newcommand{\soltitle}{: Solutions} -\fi - -\newcommand{\thetitle}[1]{\title{#1\soltitle}} -\author{} -\date{CS5311, Theory of Computation} - -% \ie, \eg: the abbreviations the way they are supposed to be written -\newcommand{\ie}{{\em i.e.,}} -\newcommand{\eg}{{\em e.g.,}} - -% These set common formats for various kinds of names -% \prob{P}: name of problem/language P -\newcommand{\prob}[1]{\mbox{\bf #1}} -% \pprob{P}{M}: problem P restricted to machine class M -\newcommand{\pprob}[2]{\mbox{$\prob{#1}_{\prob{\tiny #2}}$}} -% \prog{M}: name of program/machine M -\newcommand{\prog}[1]{\mbox{\tt #1}} -% \enc{M}: string encoding of machine M -\newcommand{\enc}[1]{\mbox{[\prog{#1}]}} -% \lang{M}: language accepted by machine M -\newcommand{\lang}[1]{\mbox{\bf L(\prog{#1})}} - -% definition environment (unnumbered) -\theoremstyle{definition} -\newtheorem*{definition}{Definition} -% numbered environments: theorem, proof, lemma, corollary, claim -\newtheorem{theorem}{Theorem} -\newtheorem{lemma}{Lemma} -\newtheorem{corollary}{Corollary} -\newtheorem{claim}{Claim} - -% Proof opening statement -\newcommand{\prf}{{\em Proof.}} -\newcommand{\prfout}{{\em Proof outline.}} - -% \code{L}{P}{I}{C}: Turing Machine code (as a box containing formatted text) -% L: horizontal length of box -% P: name of program -% I: names of inputs -% C: program code -\newcommand{\code}[4]{\fbox{\parbox{#1} -{\prog{#2}\hfill (Input: #3) -\begin{enumerate} -#4 -\end{enumerate}}}} - -% some common problems -\newcommand{\atm}{\pprob{A}{TM}} -\newcommand{\etm}{\pprob{E}{TM}} -\newcommand{\alltm}{\pprob{All}{TM}} -\newcommand{\acfl}{\pprob{A}{CFL}} -\newcommand{\allcfl}{\pprob{All}{CFL}} -\newcommand{\areg}{\pprob{A}{RL}} -\newcommand{\allreg}{\pprob{All}{RL}} -\newcommand{\anfa}{\pprob{A}{NFA}} -\newcommand{\adfa}{\pprob{A}{DFA}} - -% \bigo{T}: big-O of term T -\newcommand{\bigo}[1]{\mbox{O$(#1)$}} -% \expbigo{T}: 2^(big-O of term T) -\newcommand{\expbigo}[1]{\mbox{$2^{\mbox{O$(#1)$}}$}} -% \bigom{T}: big-Omega of term T -\newcommand{\bigom}[1]{\mbox{$\Omega(#1)$}} -% time/space complexity terms -\newcommand{\TIME}[1]{\mbox{TIME$(#1)$}} -\newcommand{\NTIME}[1]{\mbox{NTIME$(#1)$}} -\newcommand{\SPACE}[1]{\mbox{SPACE$(#1)$}} -\newcommand{\NSPACE}[1]{\mbox{NSPACE$(#1)$}} -% some common complexity classes -\newcommand{\PTIME}{\mbox{P}} -\newcommand{\NPTIME}{\mbox{NP}} -\newcommand{\EXPTIME}{\mbox{EXPTIME}} -\newcommand{\PSPACE}{\mbox{PSPACE}} -\newcommand{\NPSPACE}{\mbox{NPSPACE}} -\newcommand{\LSPACE}{\mbox{L}} -\newcommand{\NLSPACE}{\mbox{NL}} -\newcommand{\coNLSPACE}{\mbox{coNL}} -\newcommand{\NC}{\mbox{NC}} -\newcommand{\NPcomplete}{\NPTIME-complete} - -% \polyreduce{P}{Q} polynomial-time reduction relation -\newcommand{\polyreduce}[2]{$\prob{#1}\leq_{\mbox{\small P}}\prob{#2}$} -% \logreduce{P}{Q}: log-space reduction relation -\newcommand{\logreduce}[2]{$\prob{#1}\leq_{\mbox{\small L}}\prob{#2}$} - -\newcommand{\gad}{\mathbf{Gadget}} -\newcommand{\domino}[2] -{\begin{tabular}{|l|} \hline $#1$\\ \hline $#2$ \\ \hline \end{tabular}} - diff --git a/mac/yosemite.jpg b/mac/yosemite.jpg deleted file mode 100644 index 8acdf23..0000000 Binary files a/mac/yosemite.jpg and /dev/null differ diff --git a/pi/.bash_profile b/pi/.bash_profile deleted file mode 100644 index af7043d..0000000 --- a/pi/.bash_profile +++ /dev/null @@ -1,183 +0,0 @@ -# ============================================================================== -# Auth: dodd -# File: .bashrc -# Revn: 01-04-2025 1.0 -# Func: Define user-made aliases and functions to make using the terminal easier -# -# TODO: break down PS1 stuff -# color files in ls, and color different file differently -# pick a new color and prompt scheme -# ============================================================================== -# CHANGE LOG -# ------------------------------------------------------------------------------ -# 07-12-2023: init -# cleaned it up a little -# 08-24-2023: updated some PS1 stuff, added documentation -# 08-30-2023: added link to color resource -# 05-16-2024: updated exe name for ekho, changed call -# 06-07-2024: added "if not running interactively" line to make scp -# work -# 06-09-2024: updated ekho exe to ekho-cli-sen -#*01-04-2025: added vim -p alias -# -# ============================================================================== - -# If not running interactively, don't do anything -[[ $- == *i* ]] || return - -# User specific aliases and functions -## Aliases - -### Shows everything in detail, except . and .. -alias ll="ls -AFGhl" -alias l="ls -AFGhl" -alias lr="ls -AFGhlR" - -### Go home -alias home="cd ~" - -### TDM stuff -alias todo="~/bin/todo" -alias mark="~/bin/todo mark" -alias delete="~/bin/todo delete" -alias show="~/bin/todo show" - -### MOTD stuff -alias ekho="~/bin/ekho-cli-sen" - -### vim default to tabs -alias vim="vim -p" - -## Aliases - -## Exports - -# Holy shit, export PS1 kept failing, so I had to make it reload every -# time a command is run. Hacky and probably really slow, but it works -# PROMPT_COMMAND is a command run before it prints the prompt -# export PS1 is the command prompt, won't run in this file, only runs -# in actual terminal, or here apparently -# \e[0;31m is red -# \W is the current folder -# \e[0;34m is blue -# ' -> ' is a space and then an arrow, and then a space -# \e0;31m is red again -# \e[m is no color -#export PROMPT_COMMAND="export PS1='\[\e[0;32m\]\W\[\e[1;31m\] -> \[\e[0;32m\]'" -#export PROMPT_COMMAND="export PS1='\e[0;31m$(parse_git_branch) \e[m\W -> '" -#export PROMPT_COMMAND="export PS1='\W -> '" -#export LSCOLORS=exfxcxdxbxegabagacad -export PATH=$PATH:/usr/local/go/bin - -. "$HOME/.cargo/env" - - - -# set variable identifying the chroot you work in (used in the prompt below) -if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then - debian_chroot=$(cat /etc/debian_chroot) -fi - -# set a fancy prompt (non-color, unless we know we "want" color) -case "$TERM" in - xterm-color) color_prompt=yes;; -esac - -# uncomment for a colored prompt, if the terminal has the capability; turned -# off by default to not distract the user: the focus in a terminal window -# should be on the output of commands, not on the prompt -force_color_prompt=yes - -if [ -n "$force_color_prompt" ]; then - if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - # We have color support; assume it's compliant with Ecma-48 - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such - # a case would tend to support setf rather than setaf.) - color_prompt=yes - else - color_prompt= - fi -fi - -#TODO come back and break each of these down -if [ "$color_prompt" = yes ]; then - # PS1 documentation - # https://misc.flogisoft.com/bash/tip_colors_and_formatting - - # color resource - https://misc.flogisoft.com/bash/tip_colors_and_formatting - e="\e" # escape character - # background types - rst="[0m" - bold="[1m" - ul="[4m" - blink="[5m" - # colors - red="[31m" - green="[32m" - yellow="[33m" - blue="[34m" - magenta="[35m" - cyan="[36m" - lred="[91m" - lgreen="[92m" - lblue="[94m" - lmag="[95m" - lcyan="[96m" - white="[97m" - # background colors - bred="[40m" - bgreen="[42m" - bblue="[44m" - - # use different PS1 for each user, while maintaining one bashfile - if [ "${USER}" = "venom" ]; then - # venom gets diamond dogs - #PS1='\[\033[01;34m\]DIAMOND DOGS\[\033[00m\]:\[\033[01;32m\]\W\[\033[00m\] ♢ ' - PS1="$e$blue""DIAMOND"" "DOGS"$e$rst":"$e$green""\W""$e$rst ♢ " - # kaz might get it too - elif [ "${USER}" = "ocelot" ]; then - # pi/ocelot gets OUTER-HEAVEN - # this makes some sense for ocelot, but itd make more sense - # for venom or kaz. But still - # or something - #PS1='\[\033[01;32m\]\h\[\033[00m\]/\[\033[01;37m\]\[\033[07;37m\]XOF\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\] ⇌ ' - PS1="$e$bold$e$green""\h""$e$rst"::"$e$blue""\W""$e$rst ⇌ " - else - # use the standard prompt if we don't know the user - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' - fi -else - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' -fi -unset color_prompt force_color_prompt - -# If this is an xterm set the title to user@host:dir -case "$TERM" in -xterm*|rxvt*) - PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\h: \w\a\]$PS1" - ;; -*) - ;; -esac - -# enable color support of ls and also add handy aliases -if [ -x /usr/bin/dircolors ]; then - test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" - alias ls='ls --color=auto' - alias dir='dir --color=auto' - #alias vdir='vdir --color=auto' - - alias grep='grep --color=auto' - alias fgrep='fgrep --color=auto' - alias egrep='egrep --color=auto' -fi - -# colored GCC warnings and errors -export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' - -# run quick and dirty program to flash an LED -~/bin/boot - -# call motd -#~/bin/ekho-cli-sen -~/bin/client.o diff --git a/pi/.bashrc b/pi/.bashrc deleted file mode 100644 index 740a413..0000000 --- a/pi/.bashrc +++ /dev/null @@ -1,82 +0,0 @@ - -# make less more friendly for non-text input files, see lesspipe(1) -[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" - -# set variable identifying the chroot you work in (used in the prompt below) -if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then - debian_chroot=$(cat /etc/debian_chroot) -fi - -# set a fancy prompt (non-color, unless we know we "want" color) -case "$TERM" in - xterm-color) color_prompt=yes;; -esac - -# uncomment for a colored prompt, if the terminal has the capability; turned -# off by default to not distract the user: the focus in a terminal window -# should be on the output of commands, not on the prompt -#force_color_prompt=yes - -if [ -n "$force_color_prompt" ]; then - if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - # We have color support; assume it's compliant with Ecma-48 - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such - # a case would tend to support setf rather than setaf.) - color_prompt=yes - else - color_prompt= - fi -fi - -if [ "$color_prompt" = yes ]; then - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' -else - PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' -fi -unset color_prompt force_color_prompt - -# If this is an xterm set the title to user@host:dir -case "$TERM" in -xterm*|rxvt*) - PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" - ;; -*) - ;; -esac - -# enable color support of ls and also add handy aliases -if [ -x /usr/bin/dircolors ]; then - test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" - alias ls='ls --color=auto' - #alias dir='dir --color=auto' - #alias vdir='vdir --color=auto' - - alias grep='grep --color=auto' - alias fgrep='fgrep --color=auto' - alias egrep='egrep --color=auto' -fi - -# some more ls aliases -alias ll='ls -alF' -alias la='ls -A' -alias l='ls -CF' - -# Add an "alert" alias for long running commands. Use like so: -# sleep 10; alert -alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' - -# Alias definitions. -# You may want to put all your additions into a separate file like -# ~/.bash_aliases, instead of adding them here directly. -# See /usr/share/doc/bash-doc/examples in the bash-doc package. - -if [ -f ~/.bash_aliases ]; then - . ~/.bash_aliases -fi - -# enable programmable completion features (you don't need to enable -# this, if it's already enabled in /etc/bash.bashrc and /etc/profile -# sources /etc/bash.bashrc). -if [ -f /etc/bash_completion ] && ! shopt -oq posix; then - . /etc/bash_completion -fi diff --git a/pi/.vim/commentN.txt b/pi/.vim/commentN.txt deleted file mode 100644 index a2f36e2..0000000 --- a/pi/.vim/commentN.txt +++ /dev/null @@ -1,13 +0,0 @@ -# ============================================================================== -# Auth: dodd -# File: XXX.xx -# Revn: MM-DD-YYYY 0.0 -# Func: -# -# TODO: create -# ============================================================================== -# CHANGE LOG -# ------------------------------------------------------------------------------ -# MM-DD-YYYY: init -# -# ============================================================================== diff --git a/pi/.vim/commentP.txt b/pi/.vim/commentP.txt deleted file mode 100644 index 867fc84..0000000 --- a/pi/.vim/commentP.txt +++ /dev/null @@ -1,13 +0,0 @@ -% ============================================================================== -% Auth: dodd -% File: XXX.xx -% Revn: MM-DD-YYYY 0.0 -% Func: -% -% TODO: create -% ============================================================================== -% CHANGE LOG -% ------------------------------------------------------------------------------ -% MM-DD-YYYY: init -% -% ============================================================================== diff --git a/pi/.vim/commentQ.txt b/pi/.vim/commentQ.txt deleted file mode 100644 index c6b6aeb..0000000 --- a/pi/.vim/commentQ.txt +++ /dev/null @@ -1,15 +0,0 @@ -""" - =============================================================================== - Auth: dodd - File: XXX.py - Revn: MM-DD-YYYY 0.0 - Func: - - TODO: create - =============================================================================== - CHANGE LOG - ------------------------------------------------------------------------------- - MM-DD-YYYY: init - - =============================================================================== -""" diff --git a/pi/.vim/commentS.txt b/pi/.vim/commentS.txt deleted file mode 100644 index 2f5df64..0000000 --- a/pi/.vim/commentS.txt +++ /dev/null @@ -1,13 +0,0 @@ -// ============================================================================= -// Auth: dodd -// File: XXX.xx -// Revn: MM-DD-YYYY 0.0 -// Func: -// -// TODO: create -// ============================================================================= -// CHANGE LOG -// ----------------------------------------------------------------------------- -// MM-DD-YYYY: init -// -// ============================================================================= diff --git a/pi/.vim/ftdetect/ano.vim b/pi/.vim/ftdetect/ano.vim deleted file mode 100644 index d7e32bb..0000000 --- a/pi/.vim/ftdetect/ano.vim +++ /dev/null @@ -1 +0,0 @@ -au BufRead,BufNewFile *.ano set filetype=ano diff --git a/pi/.vim/ftdetect/go.vim b/pi/.vim/ftdetect/go.vim deleted file mode 100755 index aba646a..0000000 --- a/pi/.vim/ftdetect/go.vim +++ /dev/null @@ -1,135 +0,0 @@ -" ============================================================================== -" Auth: David Daub , Alex -" Lang: GoLang -" Revn: 15-11-2009 Official, 03-27-2020 1.4 -" Func: Define syntax coloring for .go files when being edited in Vim -" -" TODO: very much -" learn regex -" learn Go -" ============================================================================== -" CHANGE LOG -" ------------------------------------------------------------------------------ -" 12-31-2018: init -" 01-01-2019: added header block -" added coloring for bool type -" changed print/println to Print/Println, added Printf/Sprintf -" changed boolean values link to Keyword (Yellow) from Boolean -" (Green?) -" 01-02-2019: added coloring for main and Scanln -" 12-26-2019: changed goBoolean link from Keyword to Type -" added coloring for error -" 03-27-2020: added while to list of repetition structures -" -" ============================================================================== - -" Quit when a (custom) syntax file was already loaded -if exists("b:current_syntax") - finish -endif - - -" A bunch of useful Go keywords -syn keyword goStatement select -syn keyword goStatement defer -syn keyword goStatement fallthrough range type -syn keyword goStatement return - -syn keyword goClause import package -syn keyword goConditional if else switch -syn keyword goBranch goto break continue -syn keyword goLabel case default -syn keyword goRepeat for -syn keyword goRepeat while -" Added this line ^^^ -syn keyword goType struct const interface func -syn keyword goType var map -syn keyword goType uint8 uint16 uint32 uint64 -syn keyword goType int8 int16 int32 int64 -syn keyword goType float32 float64 -syn keyword goType float32 float64 -syn keyword goType byte -syn keyword goType uint int float uintptr string -syn keyword goType bool -" Added this line ^^^ -syn keyword goType error -" Added this line ^^^ - -syn keyword goConcurrent chan go - -syn keyword goValue nil -syn keyword goBoolean true false - -syn keyword goConstant iota - -" Builtin functions -syn keyword goBif len make new close closed cap map - -" According to the language specification it is not garanteed to stay in the -" language. See http://golang.org/doc/go_spec.html#Bootstrapping -syn keyword goBif Print Println Printf Sprintf Scanln -" Changed print[ln] to Print[ln] ^^^ - -syn keyword goBif panic panicln main - -" Comments -syn keyword goTodo contained TODO FIXME XXX -syn match goLineComment "\/\/.*" contains=@Spell,goTodo -syn match goCommentSkip "^[ \t]*\*\($\|[ \t]\+\)" -syn region goComment start="/\*" end="\*/" contains=@Spell,goTodo - -" Numerals -syn case ignore -"integer number, or floating point number without a dot and with "f". -syn match goNumbers display transparent "\<\d\|\.\d" contains=goNumber,goFloat,goOctError,goOct -syn match goNumbersCom display contained transparent "\<\d\|\.\d" contains=goNumber,goFloat,goOct -syn match goNumber display contained "\d\+\(u\=l\{0,2}\|ll\=u\)\>" - -" hex number -syn match goNumber display contained "0x\x\+\(u\=l\{0,2}\|ll\=u\)\>" - -" oct number -syn match goOct display contained "0\o\+\(u\=l\{0,2}\|ll\=u\)\>" contains=goOctZero -syn match goOctZero display contained "\<0" - -syn match goFloat display contained "\d\+\.\d*\(e[-+]\=\d\+\)\=" -syn match goFloat display contained "\d\+e[-+]\=\d\=\>" -syn match goFloat display "\(\.[0-9_]\+\)\(e[-+]\=[0-9_]\+\)\=[fl]\=i\=\>" - -" Literals -syn region goString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ contains=@Spell - -syn match goSpecial display contained "\\\(x\x\+\|\o\{1,3}\|.\|$\)" -syn match goCharacter "L\='[^\\]'" -syn match goCharacter "L'[^']*'" contains=goSpecial - - -hi def link goStatement Statement -hi def link goClause Preproc -hi def link goConditional Conditional -hi def link goBranch Conditional -hi def link goLabel Label -hi def link goRepeat Repeat -hi def link goType Type -hi def link goConcurrent Statement -hi def link goValue Constant -hi def link goBoolean Type -" Changed goBoolean link from Boolean to Keyword -" Changed goBoolean link from Keyword to Type -hi def link goConstant Constant -hi def link goBif Function -hi def link goTodo Todo -hi def link goLineComment goComment -hi def link goComment Comment -hi def link goNumbers Number -hi def link goNumbersCom Number -hi def link goNumber Number -hi def link goFloat Float -hi def link goOct Number -hi def link goOctZero Number -hi def link goString String -hi def link goSpecial Special -hi def link goCharacter Character - - -let b:current_syntax = "go" diff --git a/pi/.vim/ftdetect/prv.vim b/pi/.vim/ftdetect/prv.vim deleted file mode 100644 index 282b4f2..0000000 --- a/pi/.vim/ftdetect/prv.vim +++ /dev/null @@ -1 +0,0 @@ -au BufRead,BufNewFile *.prv set filetype=prv diff --git a/pi/.vim/ftdetect/txt.vim b/pi/.vim/ftdetect/txt.vim deleted file mode 100755 index 3d876da..0000000 --- a/pi/.vim/ftdetect/txt.vim +++ /dev/null @@ -1,5 +0,0 @@ - - -autocmd BufNewFile,BufRead *.txt set filetype=txt - - diff --git a/pi/.vim/syntax/ano.vim b/pi/.vim/syntax/ano.vim deleted file mode 100755 index 8c8d521..0000000 --- a/pi/.vim/syntax/ano.vim +++ /dev/null @@ -1,231 +0,0 @@ -" ==================================================================== -" Auth: jontino -" Lang: ANO -" Revn: 04-17-2023 1.0 -" Func: Define syntax coloring for .ano files when being edited in Vim -" -" TODO: begin writing, add new words -" implement regular expressions for match baby names -" ==================================================================== -" CHANGE LOG -" -------------------------------------------------------------------- -" 04-17-2023: copied from prv.vim -" -" ==================================================================== - -" Quit when a (custom) syntax file was already loaded -if exists("b:current_syntax") - finish -endif - - -" Required fields -" Comments -" header comments # Green -" single line comments // Cyan -" in/multi line comments /* ... */ Cyan -" Quotes -" must work multiline -" Gray? LightRed? -" Names -" - - - -" XXX Dates: -" Date highlighting for the Change Log -" the first and last quote define the expression -" \d is any digit [0-9] -" \{1,2} matches 1 or 2 times, although it should only ever get 2 -" - literal hyphen, which seperates months, days, and years -" The same three elements are repeated again for the days -" \d is any digit, used again for the years -" \{4} for only four digits can be matched -" ends with : because only dates in change log should be highlighted -" marked as contained, as it should only be highlighted in comments -" contains colon, so I can highlight the color separately -" for some reason, the colon doesn't work as keyword, so simple match -syn match date "\d\{1,2}-\d\{1,2}-\d\{4}:" contained contains=colon -syn match colon ":" contained - - - -" XXX Comments: -" comments come after # -" eg| not comment # now a comment -" # comment -" not a comment -" not -" not -" ### comment -" -" first and last quote define the expression -" # can come literally, because it doesn't need escaping -" . is every non-new line character possible -" * matches as many matches as possible -" i.e. a pound sign, and then as many characters as possible -syn match header "#.*" contains=commentFields,commentTodo,date,names,germ,rus,latin,rusgerm -syn match SLcomment "//.*" contains=names,germ,rus,latin,rusgerm -syn region ILMLcomment start="/\*" end="\*/" contains=names,germ,rus,latin,rusgerm -" commentFields and commentTodo are contained within comments, so they -" are as such in the definition of a comment, and listed as contained -" in their own definitions -" commentFields is match instead of keyword, will contain the space -syn keyword commentFields contained Auth Revn File Func -syn keyword commentTodo contained TODO todo Todo XXX FIXME -syn match commentFields contained "CHANGE LOG" - - - -" XXX Quotes: -" quotes should exist between odd pairs of quotation marks -" eg| "quote" not -" "quote" not "quote" -" "not -" quote" -" "quote only if the it rolls -" over onto the next line" -" Calling the quotation a region instead of pattern match makes it -" easier to wrap around a new line -" the first and last quote define the expression -" \ escapes the next character, allowing \" to appear as a literal " -" thus, start and end are both quotes, and the reqion can span lines -syn region quote start="\"" end="\"" contains=names,germ,rus,latin,rusgerm -" -- DEPRECATED -- -" the first and last quote define the expression -" \ is the escape character, so \" means I want to look for a quote -" . is every non-new line character possible -" \{,} is \{0,infinity}, means I'm looking for between 0 and infinity -" matches for the previous character, which is a wildcard, . -" \{-,} will prioritize the smallest amount of matches possible -" syn match quote "\".\{-,}\"" -" -- DEPRECATED -- - - - -" XXX Notes: -" Allow for notes to be left with special highlighting -" \c escapes the case, so search is entirely case insensitive -" note are all literals -" s\? will alow for either 0 or 1 of the character "s" to be matched, -" essentially allowing for both notes and note -" finally followed by a colon -" nextgroup is the actual notes to be taken, as this is just the tag -syn match noteTag "\cnotes\?:" nextgroup=notes -" define notes as starting with space, ending with exclamation mark -" if it's not denoted as contained, then the whole damn thing will be -" highlighted -syn region notes start=" " end="!" contained - - - -" XXX Names: -" keyword to the whole list of words -" lmfao ignore case sensitivity to avoid writing things twice -syn case ignore - -" nicknames for archie -syn keyword ambiii archie chicho chach chibo -syn keyword ambiii barchie chachfield archibald -syn match ambiii "Lord Archibald Mordecai Blackanddecker III" - -" nicknames for olly -syn keyword obrg olly bolly boliver oliver ogibler oboe -syn match obrg "bolly bear" -syn match obrg "bolly ball" -syn match obrg "olly ball" -syn match obrg "Sir Oliver Boliver Rockford Gubbins" - -" things that apply to both babies -syn match both "of Sealand" -syn match both "sink boy" -syn match both "baby boy" - -" us? -syn keyword parents mom dad - -syn case match -" lmfao and turn the case sensitivity back on - - - - -" keeping this as it might be useful later -" XXX Expressions: -" highlight equations, formulas, expressions, etc -" expressions: .* is any number of characters -" = is literal -" .* is any number of characters again -" added spaces around = to avoid confusion with => -" -" the idea is that it's stuff that equals stuff, and we -" worry about what it is later -" name: \c case-escapes the sequence -" \a is alphabetic characters, probably don't need escaping -" \+ is at least 1 match, so it's 1 or more letters is a name -" name: \c\a\= is 0 or 1 case-escaped alphabetic characters -" _ is literal, best I can get to subscripts -" \a\+ is 1 or more case-escaped alphabetic characters -" op: inside [] can allow for one choice from any contained characters -" =, +, -, /, ^ are all literals for operations -" \* escapes the * character, which is now multiplication -" Num: see Numbers: below -" FIXME try to make name into one thing, probably with \{,1} - - -" ColorGuide: ctermfg and ctermbg args - - - - source:: :help cterm -" Black -" LightBlue/Cyan/LightCyan, Blue/DarkBlue/DarkCyan -" Green/LightGreen, DarkGreen -" Red/LightRed, DarkRed -" Magenta/LightMagenta, DarkMagenta -" Yellow/LightYellow, DarkYellow/Brown -" White -" Gray/LightGray, DarkGray -" ColorGuide: ctermfg and ctermbg args - - - - source:: :help cterm -" ColorGuide: - - - - - - - - - - - - - - - source:: :help group-name -" Dates and fields in comments still use links for highlighting to get -" access to 'term' arguments that don't want to load correctly, namely -" Underline -> PreProc (Magenta in default colo), with underline -" ColorGuide: - - - - - - - - - - - - - - - source:: :help group-name - - -" XXX Coloring: -" hi[ghlight] cterm=