Skip to content

Instantly share code, notes, and snippets.

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

Paul Jobson pjobson

:shipit:
p̰͍͖̄̀ͬ̒̎̅a̲͚̯̱̺͗̿̓̆͊̀͌ǘ̳̹͙͔̘̈ͭ̋̒ͭ̋lͫ̔ͯ̂ ͎͖͍̤ͣͧ̀ͨj̾o̹̗͍̲̽ͥ́̊͐b̪ͬͪͫ̂s̙̫͕̼̭͛̍̔on̽
View GitHub Profile
@pjobson
pjobson / how-to-generate-and-use-private-keys-with-openssl-tool.md
Created March 6, 2018 21:56 — forked from briansmith/how-to-generate-and-use-private-keys-with-openssl-tool.md
How to generate & use private keys using the OpenSSL command line tool

How to Generate & Use Private Keys using OpenSSL's Command Line Tool

These commands generate and use private keys in unencrypted binary (not Base64 “PEM”) PKCS#8 format. The PKCS#8 format is used here because it is the most interoperable format when dealing with software that isn't based on OpenSSL.

OpenSSL has a variety of commands that can be used to operate on private key files, some of which are specific to RSA (e.g. openssl rsa and openssl genrsa) or which have other limitations. Here we always use

@pjobson
pjobson / osx_remove_cc_cloud_junk.md
Last active April 16, 2022 07:55
Instructions for Removal of Various Adobe Cloud Services

I have found that Adobe services still worked fine after doing this, but your milage may vary, so be sure to have a back-up of your original install media or whatever.

You may or may not have these services, you can lookup what is running on your machine with launchctl list |grep -i adobe also run with sudo to find what is running at higher privledges.

User Level

Stop Services

launchctl stop com.adobe.acc.AdobeDesktopService.2252.965FE800-C621-41D6-898D-821201FB2F8A
@pjobson
pjobson / bash-colors.md
Created April 19, 2018 15:20 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@pjobson
pjobson / pre-push
Created May 8, 2018 22:42
pre-push shell script - checks to see if you want to push to master
#!/bin/bash
#
# Put in: ~/.git/hooks
# Make executable!
# Swiped from: https://blog.ghost.org/prevent-master-push/
protected_branch='master'
current_branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
if [ $protected_branch = $current_branch ]
@pjobson
pjobson / preview_generator.js
Created May 30, 2018 16:50
Script for Generating MidnightFonts Previews
#!/bin/node
// You may need to update your #!
/*
# Public Domain Mark 1.0
https://creativecommons.org/publicdomain/mark/1.0/
## No Copyright
@pjobson
pjobson / Dell_690.md
Last active February 9, 2023 22:04
Dell 690 Notes and Specifications
Constant Wrapper function Codec_ID Extension Extension alt. Python dict
MKV_A_AC3 xtr_base_c(new_codec_id, new_tid, tspec,"Dolby Digital (AC-3)"); A_AC3 ac3 'A_AC3': 'ac3'
MKV_A_EAC3 xtr_base_c(new_codec_id, new_tid, tspec,"Dolby Digital Plus (E-AC-3)"); A_EAC3 eac3 'A_EAC3': 'eac3'
A_MPEG/L* xtr_base_c(new_codec_id, new_tid, tspec,"MPEG-1 Audio Layer 2/3"); A_MPEG/L2 mp2 'A_MPEG/L2': 'mp2'
A_MPEG/L3 mp3 'A_MPEG/L3': 'mp3'
MKV_A_DTS xtr_base_c(new_codec_id, new_tid, tspec,"Digital Theater System (DTS)"); A_DTS dts 'A_DTS': 'dts'
MKV_A_PCM xtr_wav_c(new_codec_id, new_tid, tspec); A_PCM/INT/LIT wav 'A_PCM/INT/LIT': 'wav'
MKV_A_PCM_BE xtr_wav_c(new_codec_id, new_tid, tspec); A_PCM/INT/BIG wav 'A_PCM/INT/BIG': 'wav'
MKV_A_FLAC xtr_flac_c(new_codec_id, new_tid, tspec); A_FLAC flac ogg 'A_FLAC': 'flac'
MKV_A_ALAC xtr_alac_c(new_codec_id, new_tid, tspec); A_ALAC caf m4a 'A_ALAC': 'caf'
@pjobson
pjobson / clover_boot_flags.md
Last active March 27, 2023 17:53
Clover Boot Flags

Clover Boot Flags

Flag Description
-v Verbose Mode
-x Safe Mode
-s Single User Mode
-no-zp Zone Postponing (use if hanging)
cpus=1 Single CPU Core Mode
-f No Kext Cache Mode (use if hanging)
@pjobson
pjobson / latitude_longitude.txt
Last active January 27, 2024 15:28
Latitude / Longitude DMS, DDM, DD Regular Expressions
Degrees Minutes Seconds (DMS)
40° 26′ 46″ N 79° 58′ 56″ W
40° 26′ 46″ S 79° 58′ 56″ E
90° 0′ 0″ S 180° 0′ 0″ E
40° 26′ 45.9996″ N 79° 58′ 55.2″ E
Latitudes range from 0 to 90.
Longitudes range from 0 to 180.
Minutes & Seconds range from 0-60
Use N, S, E or W as either the last character,
which represents a compass direction North, South, East or West.
@pjobson
pjobson / _verify-repair-permissions-disk.md
Created September 21, 2018 01:01 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /