diff --git a/bashrc b/bashrc index 677a5b4..433bcf6 100644 --- a/bashrc +++ b/bashrc @@ -13,4 +13,15 @@ alias restart='clear; source ~/.bashrc; echo' alias datereadable='date +"%A %B %d, %Y"' # --- !@#$ Aliases -------------------------------------------- -alias clera='clear' +alias clera='clear'; + +# --- Note-taking facilitated --------------------------------- +NOTE_PATH='/Users/w0ryn/Documents/notes'; +NOTE_EXTENSION='.txt'; +alias mynotes='cd $NOTE_PATH'; +function note() { vim $NOTE_PATH/$1$NOTE_EXTENSION; } +function notes() { NOTE="$NOTE_PATH/$1$NOTE_EXTENSION"; [ -f $NOTE ] && vim $NOTE || vim $NOTE_PATH; } + +# --- Homework facilitated ------------------------------------ +HW_TEMPLATE="$RC_DIR/latex/homework_template.tex" +function hw() { [ $# -ne 0 ] && cp $HW_TEMPLATE ./$1.tex || echo "Homework filename required"; } diff --git a/latex/homework_template.tex b/latex/homework_template.tex new file mode 100644 index 0000000..cd9bdd8 --- /dev/null +++ b/latex/homework_template.tex @@ -0,0 +1,90 @@ +% -- Document body begins on line 80 + +% --------------------------------------------------------------------------------------------- +% ------ Document type and page margins ------------------------------------------------------- +% --------------------------------------------------------------------------------------------- +\documentclass[letterpaper]{article} +\usepackage[margin=1in,bottom=.5in,includefoot]{geometry} + +\usepackage{lastpage} % -- Package used for finding total page numbers +\usepackage{amssymb} % -- Package used for typing "bold" math letters and symbols +\usepackage{amsmath} % -- Package for various math symbols +\usepackage{arydshln} % -- Package used for dashed lines in tables +\usepackage{dashrule} % -- Package used for dashed lines on the page +\usepackage{listings} % -- Package used for code snippets +\usepackage[final]{pdfpages} % -- Package used for inserting pages of a PDF file +\usepackage{tikz} % -- Package used for drawing graphs +\usepackage{graphicx} % -- Package used to insert graphics +\graphicspath{ {./images/} } + + +% --------------------------------------------------------------------------------------------- +% Edit this section to create the title, headers, and footers for the document +% --------------------------------------------------------------------------------------------- + +\newcommand{\homeworkTitle} {Homework } +\newcommand{\authorName} {Wryn Wagner} +\newcommand{\Anumber} {A01995076} +\newcommand{\assignmentDate} {} +\newcommand{\classId} {} + + +% --------------------------------------------------------------------------------------------- +% ------ Header Code -------------------------------------------------------------------------- +% --------------------------------------------------------------------------------------------- + +\newcommand{\headerLeft} {\homeworkTitle : \assignmentDate} +\newcommand{\headerCenter} {\classId} +\newcommand{\headerRight} {\authorName\ (\Anumber)} +\newcommand{\pageOfTotal} {\thepage\ of \pageref{LastPage}} + +\usepackage{fancyhdr} +\pagestyle{fancy} +\fancyhf{} +\fancyhead[L]{\headerLeft} +\fancyhead[R]{\headerRight} +\fancyhead[C]{\headerCenter} +\fancyfoot[C]{\pageOfTotal} +\fancypagestyle{plain}{ + \fancyhf{} + \fancyhead[L]{\headerLeft} + \fancyhead[R]{\headerRight} + \fancyhead[C]{\headerCenter} + \fancyfoot[C]{\pageOfTotal} +} + +\title{\homeworkTitle} +\author{\authorName \\ \Anumber} +\date{\assignmentDate} + + +% --------------------------------------------------------------------------------------------- +% ------ Theorems, Lemmas, and Corollaries ---------------------------------------------------- +% --------------------------------------------------------------------------------------------- + +\newtheorem{theorem}{Theorem}[section] +\newtheorem{corollary}{Corollary}[theorem] +\newtheorem{lemma}[theorem]{Lemma} + + +% --------------------------------------------------------------------------------------------- +% --------------------------------------------------------------------------------------------- +% --------------------------------------------------------------------------------------------- +\begin{document} +\maketitle +% --------------------------------------------------------------------------------------------- +% Begin document here :) +% --------------------------------------------------------------------------------------------- +\section{} %Problem 1 +\subsection{Prompt} + + + +\noindent\rule{2in}{0.4pt} +% --------------------------------------------------------------------------------------------- + + +% --------------------------------------------------------------------------------------------- +% --------------------------------------------------------------------------------------------- +\end{document} + diff --git a/osx_iterm2/favourite_themes b/osx_iterm2/favourite_themes new file mode 100644 index 0000000..9ee6cda --- /dev/null +++ b/osx_iterm2/favourite_themes @@ -0,0 +1,37 @@ +ForestBlue + + +ayu - Black background cyan folders +Adventure Time - Purple and bright colors +Purple Rain - Darker background Adventure Time +AlienBlood - Dark Green +Argonaut - Dark Blue-grey and visible colors +Lavandula - Like Argonaut but with lavander instead of blue files +Floraverse - Dark Violet and visible colors +Grape - Dark Purple and faded white-colors +Batman - Batman colors +Monokai Remastered - Dark background and purple directories +CrayonPonyFish - Burgundy/Redish theme +Flatland - Grey on bluish standard text +FunForrest - Autumn-esk colors +LabFox - Autumn-esk colors +Harper - Black with shades of green +IC-Green - Light gray with shades of green +IC-Orange - Light gray with shades of orange +Jelly Beans - Dark gray with faded colors +Mona Lisa - Dark burgundy background with light colors +Nocturnal Winter - Wintery/Dark +Royal - Dark on Dark (legible!) +Seashells - Like ForestBlue with lighter blues and oranges +Shaman - Dark on Dark (legible!) cool colors +Slate - Grey with blue-scale scheme +Sundried - Dark grey with tomatoelike feel and blue folders +Symfonic - Dark grey with clear colors +TheHulk - Dark with bright greens +TomorrowNightBlue - Lighter blue background (still dark) +TomorrowNightBurns - Dark with red-scale colors +Ubuntu - Ubuntu +UnderTheSea - Forrest Blue with brighter colors +Urple - Dark with purple and orange +WildCherry - Darker Ubuntu:q + diff --git a/redirect.sh b/redirect old mode 100644 new mode 100755 similarity index 100% rename from redirect.sh rename to redirect diff --git a/vimrc b/vimrc index 2272eb2..28e96b6 100644 --- a/vimrc +++ b/vimrc @@ -39,6 +39,7 @@ augroup filetype_specific_formatting autocmd FileType html setlocal tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab foldmethod=indent foldlevel=99 autocmd FileType javascript setlocal tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab foldmethod=indent foldlevel=99 autocmd FileType vim setlocal tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab foldmethod=marker foldlevel=1 + autocmd FileType sh setlocal tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab foldmethod=indent foldlevel=99 augroup END " }}}