From 0c7e309365d7edf0e8330931b6303b823227f6a9 Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Wed, 25 Sep 2019 14:30:03 -0600 Subject: [PATCH] Added more files --- .scripts/cv.sh | 8 ++++++++ .scripts/install.sh | 29 +++++++++++++++++++++++++++++ .scripts/medlabweb.sh | 18 ++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100755 .scripts/cv.sh create mode 100644 .scripts/install.sh create mode 100755 .scripts/medlabweb.sh diff --git a/.scripts/cv.sh b/.scripts/cv.sh new file mode 100755 index 0000000..cbce812 --- /dev/null +++ b/.scripts/cv.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# cv.sh, by ntnsndr, v. 20180729 +# Summary: Uses Pandoc to generate CV pdf from source +# Input: None +# Output: A pandoc-proceessed output file + +# Command content +pandoc -s -f markdown+smart --variable fontsize=11pt -o ~/Cloud/Dox/Schneider-CV.pdf ~/Cloud/Notes/CV.md diff --git a/.scripts/install.sh b/.scripts/install.sh new file mode 100644 index 0000000..bd9f2df --- /dev/null +++ b/.scripts/install.sh @@ -0,0 +1,29 @@ +# Installation script for ntnsndr Deb dev environment + +# utils +sudo apt-get -y install xdg-open +# nextcloud +# keepassxc + +# emacs +sudo apt-get -y install emacs-gtk +sudo apt-get -y install elpa-markdown-mode +cd ~/.emacs.d/lisp/ && git clone git://github.com/bnbeckwith/wc-mode.git && mv wc-mode/wc-mode.el ./ && rm -rf wc-mode/ && cd ~ + +# gnome optional stuff +# to get Microsoft Exchange working on Gnome Calendar: +# sudo apt-get install evolution-ews + +# pandoc +sudo apt-get -y install pandoc +sudo apt-get -y install pandoc-citeproc +sudo apt-get -y install texlive + +# revealjs +# TO DO: https://github.com/hakimel/reveal.js/ + +# zotero +#DOWNLOAD AND UNPACK IN /opt/zotero +sudo /opt/zotero/set_launcher_icon +ln -s /opt/zotero/zotero.desktop ~/.local/share/applications/zotero.desktop +# IF WE CHANGE LOCATION, UPDATE THAT IN .emacs AND pandout SCRIPT \ No newline at end of file diff --git a/.scripts/medlabweb.sh b/.scripts/medlabweb.sh new file mode 100755 index 0000000..5c5f895 --- /dev/null +++ b/.scripts/medlabweb.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# medlabweb, by ntnsndr, v. 20190905 +# Summary: Downloads medlab website from GitLab and uploads to university server +# Input: N/A +# Live inputs: CU password +# Output: Uploaded website + +# Download files +git clone https://gitlab.com/medlabboulder/medlab-website.git +cd medlab-website + +# Build +bundle exec jekyll build +bundle exec jekyll deploy + +# Delete +cd .. +rm -rf medlab-website