Skip to content

Instantly share code, notes, and snippets.

View orangewolf's full-sized avatar

Rob Kaufman orangewolf

View GitHub Profile
class Flight
has_many :locations
has_many :events
validates_uniqeness :flight_number
end
class Event
belongs_to :location
end
@orangewolf
orangewolf / Ubuntu16SwapFile
Created March 30, 2017 06:17 — forked from MPJHorner/Ubuntu16SwapFile
Create Swap File on Ubuntu 16.04
sudo fallocate -l 1G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
sudo swapon --show
@orangewolf
orangewolf / samvera-training-work-types.md
Created October 17, 2023 23:58 — forked from ShanaLMoore/samvera-training-work-types.md
Samvera Training Workshop: SESSION 2 - WORK TYPES

image

Samvera Training Workshop - SESSION 2 - WORK TYPES

September 13, 2023. 8AM to 2PM PT

Welcome!

Here you'll find the workshop's exercises and supplemental training materials that is meant to go along with the commits found within this PR. As you work through the exercises, you can reference the related commit(s) to check your progress. YOU WILL NOT NEED TO CHECK OUT THIS BRANCH.

We are a community! "When the tide rises, all ships sail". ⛵️ Your feedback and/or contributing back to the Samvera community directly would be greatly appreciated by all!

@orangewolf
orangewolf / uninstall_rippling.sh
Last active January 9, 2025 18:22 — forked from 10maurycy10/uninstall_rippling.sh
A script to remove Rippling MDM.
#!/bin/bash
export PS4='+[$(date -u)][${BASH_SOURCE}:${LINENO}]: ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'; set -x;
if [ `id -u` -ne 0 ]; then
echo "Rippling uninstall must be run by root"
exit 1
fi
sudo launchctl unload /Library/LaunchDaemons/com.rippling.*