Skip to content

Instantly share code, notes, and snippets.

+ https://www.udacity.com/courses/all
|
| -> Intro Algebra Review [ Must have ]
| |
| | -> College Algebra
| |
| | -> Visualizing Algebra
| |
| | -> Intro to Physics
| |
@stvhwrd
stvhwrd / Makefile
Last active May 23, 2016 20:15
This is a sweet boilerplate makefile for cmake
# This is a sweet boilerplate makefile for cmake
CC= gcc
CFLAGS= -Wall -O -g -ansi
SRCS= main.c queue.c
OBJS= main.o queue.o
PROGRAM= queuetest
MKDEP= gccmakedep
${PROGRAM}: ${OBJS}
@ CSC230 -- Elevator simulation program
@ Template Author: Dr. Micaela Serra
@ Modified by: Stevie Howard
@===== STAGE 0
@ Sets initial outputs and screen
@ Enters IDLE state and updates simulated time every second
@ Polls for left black button to exit simulation
@stvhwrd
stvhwrd / Auto-CSV-Importer.gs
Last active February 3, 2018 01:00
GAS runs on a time-driven trigger to automatically import a daily-updated CSV file
/**
* This script automatically imports a CSV file of specified name to a specified spreadsheet and applies some basic formatting.
* The formatting is only applied on columns A-Z, so if the CSV has more than 26 columns you'll have to adjust line 55 accordingly
*
* Author: Stevie Howard ([email protected])
* Date: November 30, 2015
*
* Libraries used (from Resources menu > Libraries): "BetterLog", with key: MYB7yzedMbnJaMKECt6Sm7FLDhaBgl_dE
* Read more about BetterLog here: https://github.com/peterherrmann/BetterLog
*
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <[email protected]>
# Stevie Howard <[email protected]>
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <[email protected]>
# Stevie Howard <[email protected]>
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
@stvhwrd
stvhwrd / Package Control.sublime-settings
Last active February 12, 2017 22:12
My Sublime Text 3 setup
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"A File Icon",
"Align Arguments",
"Alignment",
#!/bin/bash
### Disable animation of hotkey window on iTerm2:
defaults write com.googlecode.iterm2 HotkeyTermAnimationDuration -float 0.00001
@stvhwrd
stvhwrd / uvicMAC.sh
Last active August 29, 2015 14:20
Set up the UVic iMacs to suit my workflow. [Update: This Gist inspired a new project - Red-Carpet: https://www.github.com/stvhwrd/red-carpet]
#!/bin/bash
# #download dmg
# curl -LOC - http://foo.bar/file.ext
# #mount
# hdiutil mount ~/Chromium_OSX_42.0.2311.152.dmg
# #copy the app