Skip to content

Instantly share code, notes, and snippets.

p̰͍͖̄̀ͬ̒̎̅a̲͚̯̱̺͗̿̓̆͊̀͌ǘ̳̹͙͔̘̈ͭ̋̒ͭ̋lͫ̔ͯ̂ ͎͖͍̤ͣͧ̀ͨj̾o̹̗͍̲̽ͥ́̊͐b̪ͬͪͫ̂s̙̫͕̼̭͛̍̔on̽

Paul Jobson pjobson

p̰͍͖̄̀ͬ̒̎̅a̲͚̯̱̺͗̿̓̆͊̀͌ǘ̳̹͙͔̘̈ͭ̋̒ͭ̋lͫ̔ͯ̂ ͎͖͍̤ͣͧ̀ͨj̾o̹̗͍̲̽ͥ́̊͐b̪ͬͪͫ̂s̙̫͕̼̭͛̍̔on̽
View GitHub Profile
pjobson / sublime-text-prefs.json
Created Oct 8, 2020
Preferences for Sublime Text
View sublime-text-prefs.json
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"font_face": "Hack",
"font_size": 20.0,
"gutter": true,
"highlight_line": true,
"line_numbers": true,
"line_padding_bottom": 2,
"line_padding_top": 2,
View git-completion.bash
# bash/zsh completion support for core Git.
# Copyright (C) 2006,2007 Shawn O. Pearce <>
# Conceptually based on gitcompletion (
# Distributed under the GNU General Public License, version 2.0.
# The contained completion routines provide support for completing:
# *) local and remote branch names
# *) local and remote tag names
pjobson / deluge_mods.user.js
Last active Sep 16, 2020
DelugeWeb Modficaitons UserScript
View deluge_mods.user.js
// ==UserScript==
// @name Deluge Modifications
// @namespace Violentmonkey Scripts
// @match http://localhost:8112/
// @grant none
// @version 1.0
// @author Paul Jobson <>
// @description Mods for DelugeWeb for streamlining the program. Adds: a default move to path, move path input focus, move path input enter key detection.
// ==/UserScript==
pjobson /
Last active Sep 11, 2020
Clean Install macOS Command Line Tools (CLI)


Homebrew on fresh macOS install.

/bin/bash -c "$(curl -fsSL"


Do with care, this installs and sets your shell to bash 5.x instead of the default 3.x.

pjobson /
Last active Sep 2, 2020
Install pgModeler Mint/Ubuntu

Install pgModeler

Not a QT expert? Need to get pgModeler installed and getting tons of errors?

Secret Dependencies are Secret

Not that we needed all that for the trip, but once you get locked into a serious library collection, the tendency is to push it as far as you can.

Seriously I have no idea if you need all of this stuff or not, this is what I installed / have installed and it works.

pjobson /
Created Aug 25, 2020
Script for Finding a File and Opening with Sublime
read -ra FILE <<< "$INPUT"
FIND=`/usr/bin/find . -name ${FILE[0]}`
`/usr/bin/subl ${FIND}:${LINE}`
View npm-completion.bash
#!/usr/bin/env bash
# npm (Node Package Manager) completion
if command -v npm &>/dev/null
eval "$(npm completion)"

Various Versions of macOS/OSX will fail on install for various reasons. You can fix them by disconnecting from your wifi or network or resetting your NVRAM. Booting from your USB stick, opening terminal and doing: date ########## where the # nubers are below. Format is: MMDDhhmmYY

10.16 - 0.5 Leopard   - date 0101010121 <- Currently not needed
10.15 - Catalina      - date 0101010120 <- Currently not needed
10.14 - Mojave        - date 0101010119 <- Currently not needed
10.13 - High Sierra   - date 0101010118
10.12 - Sierra        - date 0101010117

Instructions provided in the QGIS site no longer work properly.

Import the Key

curl | gpg --import
gpg --fingerprint 51F523511C7028C3
gpg --export --armor 51F523511C7028C3 | sudo apt-key add -
pjobson /
Created Mar 12, 2020
Install High Sierra or Mojave

This copy of the Install macOS application is damaged, and can’t be used to install macOS.

This copy of the Install macOS High application is damaged, and can’t be used to install macOS.

  • Disconnect from the internet.
  • Open Terminal (Utilities -> Terminal)
  • Run: date -u 0818025919
  • Command-Q to quit Terminal
  • Run the Installer again