Skip to content

Instantly share code, notes, and snippets.

View taylorpaul's full-sized avatar

Taylor Paul taylorpaul

View GitHub Profile
@taylorpaul
taylorpaul / lastPage.sh
Created April 23, 2024 20:53
Bash Script (using pdftk) to Rip Last Page of PDF into seperate PDF and then merge all together.
#!/bin/bash
OUTDIR="./first_pass_notes"
OUTFILE="$OUTDIR/first-passes.pdf"
# Create the directory (ignore if already exitsing):
mkdir -p $OUTDIR
# Iterate through the PDF files and print the last page to our document
find . -maxdepth 1 -name "*.pdf" | while read fname ; do
echo "Working: $fname";
@taylorpaul
taylorpaul / install.sh
Last active March 16, 2020 14:24
This gist is meant to provide instructions for installing the necessary LAMP (Linux, Apache, MySql, PHP) stack for hosting your CS related web assignments locally. This will facilitate locally testing your webpages before sending them to the submit system and copying them to midn.cs.usna.edu.
# BETA!!! NOTE I AM STILL WORKING TO VERIFY INSTALL WITH A STUDENT:
#PRE: Install WSL
# Windows Key, type power shell, right click and run as administrator
# Run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
# Restart if prompted!
@taylorpaul
taylorpaul / README.md
Last active November 20, 2023 10:27
Tensorboard on SLURM

Environment:

Tensorflow: v0.11.0rc2 OS: CENTOS 6.8 (No root access)

Description:

  1. The tensorboardSLURM.sh can be run with the following command to start a tensorboard server on a SLURM cluster:
sbatch --array=0-0 tensorboardSLURM.sh 
@taylorpaul
taylorpaul / README.md
Last active April 22, 2022 17:28
Installing Tensorflow on CENTOS 6.8 Cluster without Root Access

Environment:

OS: CENTOS 6.8 (No root access)

GCC: locally installed 5.2.0 (Cluster default is 4.4.7)

Bazel: 0.4.0-2016-11-06 (@fa407e5)

Tensorflow: v0.11.0rc2

CUDA: 8.0