Skip to content

Instantly share code, notes, and snippets.

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 / makemkvcon_cli.md
Last active Oct 25, 2021
Command Line Examples
View makemkvcon_cli.md

https://www.makemkv.com/

https://www.makemkv.com/developers/usage.txt

Note: I'm not sure how well this works / doesn't work in Windows, I have little experience messing with it. If you are not very familiar with Linux, . refers to the current path, you could also specify a path like ~/Videos for your Videos path in your home directory.

ISO to MKV

makemkvcon mkv iso:./movie.iso all .
@pjobson
pjobson / clover_boot_flags.md
Last active Oct 19, 2021
Clover Boot Flags
View clover_boot_flags.md

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)
View btrfsnotes.md

Filesystem Creation

Create a filesystem across four drives (metadata mirrored, linear data allocation)

mkfs.btrfs -d single /dev/sdb /dev/sdc /dev/sdd /dev/sde

Stripe the data without mirroring, metadata are mirrored

mkfs.btrfs -d raid0 /dev/sdb /dev/sdc
@pjobson
pjobson / remove_mcafee.md
Last active Oct 11, 2021
OSX McAfee Removal
View remove_mcafee.md

Removal of McAfee from OSX

Note: This was written in 2015, it may be out of date now.

There are a lot of commands here which I use sudo if you don't know what you're doing with sudo, especially where I rm you can severely screw up your system.

There are many reasons which you would want to remove a piece of software such as McAfee, such as not wanting it to hammer your CPU during work hours which seems like primetime for a virus scan.

I intend this to be a living document, I have included suggestions from peoples' replies.

View openwrt-on-x86_64.md

OpenWRT on x86_64

This is a very brief tutorial on getting OpenWRT installed on a regular computer, it assumes you know your way around Linux. If you find this and need additional details, please like, subscribe, and comm... oh wait this isn't youtube, just comment.

This is how I got OpenWRT going on a Mini ITX Intel DH67CF with an Intel G870 CPU with 4GB of RAM.

What You'll Need

  • 2 USB Sticks
  • Linux Live ISO
@pjobson
pjobson / plex_media_permissions_4_noobies.md
Last active Sep 30, 2021
Plex Media Permissions for Linux Noobies
View plex_media_permissions_4_noobies.md

Plex Media Permissions for Linux Noobies

There is no problem with being a noobie and I do not use the term to sligtht or disparage anyone.

This is a way to setup your permissions for running Plex in Linux. Different folks may use different methods.

The permissions concepts provided here apply to OSX, but the users and groups are controlled and modified differently, so much of this will not work properly. I think the command is dscl, but that could be out of date.

There are many ways to setup your permissions scheme in Linux, this methodology describes a way to do it, not everyone will like it, but it works for me, so whatever.

@pjobson
pjobson / compile_heimdall_mojave.md
Last active Sep 20, 2021
Compile Heimdall in Mojave & Catalina
View compile_heimdall_mojave.md
@pjobson
pjobson / dd_obs_test.sh
Created Oct 16, 2018
dd optimal blocksize detection
View dd_obs_test.sh
#!/bin/bash
#
# Copied from: https://github.com/tdg5/blog/blob/master/_includes/scripts/dd_obs_test.sh
#
# Since we're dealing with dd, abort if any errors occur
set -e
TEST_FILE=${1:-dd_obs_testfile}
TEST_FILE_EXISTS=0
if [ -e "$TEST_FILE" ]; then TEST_FILE_EXISTS=1; fi
@pjobson
pjobson / GT-3TP.md
Last active Sep 14, 2021
Baofeng GT-3TP Linux Flash Notes
View GT-3TP.md

Baofeng GT-3TP Linux Flash Notes

All FCC Rules apply, if you are not licensed you shouldn't be broadcasting on channels which are forbidden.

CHIRP LOGO

Loosely based on these GT-3 instructions.

I had a lot of trouble flashing on Windows 10 and MacOS, I should really have just started with Linux and not wasted a long time with the other OSes.

@pjobson
pjobson / syncthing_ubuntu-mint_headless.md
Last active Sep 11, 2021
Syncthing Ubuntu/Mint Headless
View syncthing_ubuntu-mint_headless.md

Syncthing Ubuntu/Mint Headless

Syncthing: https://syncthing.net/

Syncthing is a free, open-source peer-to-peer file synchronization application available for Windows, Mac, Linux, Android, Solaris, Darwin, and BSD. It can sync files between devices on a local network, or between remote devices over the Internet. Data security and data safety are built into the design of the software.

This is written using Linux Mint 18.1 Serena x86_64 using kernel 4.4.0-139-generic.

I couldn't find good directions for doing this, so here we go.