Skip to content

Instantly share code, notes, and snippets.

View YourFin's full-sized avatar

Patrick Nuckolls YourFin

  • United States
View GitHub Profile
@YourFin
YourFin / halogen-fs.purs
Last active October 6, 2020 07:53
Super simple filesystem browser with Purescript & Halogen
-- Paste me into try.purescript.org
module Main where
import Prelude
import Data.Array as Array
import Data.Maybe (Maybe(..))
import Data.Maybe as Maybe
import Data.Map (Map)
@YourFin
YourFin / stop-firefox
Last active March 16, 2018 00:43
A bash script for finding machines running firefox profiles, ssh'ing into them, and killing the firefox processes, so as to free up the firefox profiles for the current machine.
#!/bin/bash
# description: This script kills a running Iceweasel (Firefox) instance, so
# that a new one can be started.
# authors: Martin Dluhos, Jeff Leep, Patrick Nuckolls [nuckolls]
# created: September 8, 2011
# revised: March 14, 2018
# seperate
IFS=$'\n'
@YourFin
YourFin / install.rb
Created July 24, 2017 00:25 — forked from skyl/install.rb
Homebrew without sudo
#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby
# SET YOUR_HOME TO THE ABSOLUTE PATH OF YOUR HOME DIRECTORY
# chmod +x install.rb
# ./install.rb
YOUR_HOME = ''
HOMEBREW_PREFIX = "#{YOUR_HOME}/usr/local"
HOMEBREW_CACHE = '/Library/Caches/Homebrew'
HOMEBREW_REPO = 'https://github.com/Homebrew/homebrew'