Skip to content

Instantly share code, notes, and snippets.

View pdanford's full-sized avatar

Peter Danford pdanford

View GitHub Profile
@pdanford
pdanford / README.md
Last active June 30, 2022 13:41
OpenWrt and Netgear Nighthawk R7800 Setup

OpenWrt General Setup

Adblock Whitelist Additions:

storage.googleapis.com  
firebasestorage.googleapis.com  

Otherwise, updating offline Google Maps on iPhone doesn't work.

@pdanford
pdanford / README.md
Last active July 19, 2020 19:01
To get around “This copy of the Install macOS Mojave.app application is damaged, and can’t be used to install macOS.”

Creating macOS USB Flash Drive Boot Installers (and resolving "damaged" install errors)

This info details how to create bootable USB flash drive installers for macOS along with dealing with failed OS installs due to "damaged" app bundles.

pdanford - July 2020


  1. Format a USB 8GB (16GB for Catalina) flash drive as Mac OS Extended (Journaled) named UNTITLED.
  2. cd to the directory where your macOS installer app is located.
@pdanford
pdanford / README.md
Last active November 14, 2024 21:13
Launching iTerm2 from macOS Finder

Launching iTerm2 from macOS Finder

(Based on info from Peter Downs' gitub but with modified behavior to open a new terminal window for each invocation instead of reusing an already open window.)

The following three ways to launch an iTerm2 window from Finder have been tested on iTerm2 version 3+ running on macOS Mojave+.

pdanford - April 2020


@pdanford
pdanford / README.md
Last active February 20, 2023 15:45
OSX <--> Linux VPS Copy and Paste

Description

The below enables OSX style copy and paste between a headless X11 desktop (running on a Linux VPS using fluxbox WM and tightvncserver) and OSX using an OSX VNC client.

It works by remapping X11 keys used by xterm and X11 apps to match OSX command-c and command-v copy and paste. Also enables VNC clients to copy and paste between the OSX and X11 desktops. Note that copy paste works both ways when using the RealVNC OSX client, but with Apple's Screen Sharing you can only paste an X11 copy to the OSX desktop (not vise versa) because it doesn't like autocutsel or Linux or something.