Skip to content

Instantly share code, notes, and snippets.

Avatar

Peter Danford pdanford

View GitHub Profile
@pdanford
pdanford / README.md
Last active Jan 13, 2020
OSX <--> Linux VPS Copy and Paste
View README.md

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.

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

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 Feb 24, 2021
OpenWrt and Netgear Nighthawk R7800 Setup
View README.md

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 Oct 31, 2021
Launching iTerm2 from macOS Finder
View README.md

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 / SARS-CoV-2 Vaccine Rebuttal.md
Last active Nov 28, 2021
Rebuttal to SARS-CoV-2 (COVID) vaccine abstinence
View SARS-CoV-2 Vaccine Rebuttal.md

Rebuttal to SARS-CoV-2 (COVID) vaccine abstinence

I wrote all this up to clarify and consolidate my research of the COVID situation in response to an email (from April 2021) with a vaccine hesitant point of view which made me realize there was a lot I didn't know.

I don’t understand why anyone under 65 or without some condition depressing their immune system would even consider the vaccine.

One big reason, because of the possibility of emerging variants becoming worse than the original strain [1.0]. That is to say, one day there may be one for which there is no effective vaccine and it no longer respects the 97-99% of people that can currently survive an infection without vaccination (e.g. causing more otherwise healthy younger people to be in the hospital [[1.0.1]](https://www.mha.org/Newsroom/ID/2916/COVID-19-Hospitalizations-Increasing-at-Alarming-Rate-fo