Skip to content

Instantly share code, notes, and snippets.

View jdmartin's full-sized avatar
💭
🐢

Jon Martin jdmartin

💭
🐢
View GitHub Profile
@jdmartin
jdmartin / debveil.md
Created August 13, 2023 19:02
How I stop up veilid-server on Debian 12

So, this is pretty much by the book, but just in case it's helpful...

Setup

System

  1. I created a new VPS (1GB RAM, 1 CPU). (It is technically stronger than a potato)
  2. Once up, I did the usual:
    • apt-get update; apt-get upgrade
    • apt install needrestart
  • apt install unattended-upgrades
@jdmartin
jdmartin / bsdgames-osx.rb
Last active April 30, 2023 04:12 — forked from ctdk/bsdgames-osx.rb
A homebrew formula for installing bsdgames-osx (updated for macOS Sierra). For now, just plunk it into /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/bsdgames-osx.rb (or, put it in ~/.homebrew/Library/Formula/ and specify this path when installing) and run "brew install bsdgames-osx". Tested successfully with MacOS X 10.12.3.
require 'formula'
class BsdgamesOsx < Formula
desc 'The classic bsdgames of yore for Mac OS X and macOS.'
homepage 'https://github.com/ctdk/bsdgames-osx'
url 'https://github.com/ctdk/bsdgames-osx/archive/bsdgames-osx-2.19.3.tar.gz'
sha256 '699bb294f2c431b9729320f73c7fcd9dcf4226216c15137bb81f7da157bed2a9'
head 'https://github.com/ctdk/bsdgames-osx.git'
version '2.19.3'
depends_on "bsdmake" => ':build'
@jdmartin
jdmartin / gist:35ac718a960769161834a145d1367e4d
Created April 26, 2016 16:10
Opt out of Homebrew Analytics (.bashrc addition)
# Opt out of Homebrew analytics
export HOMEBREW_NO_ANALYTICS=1
if [[ -e "$HOME/.homebrew_analytics_user_uuid" ]]; then
rm -f "$HOME/.homebrew_analytics_user_uuid"
fi

Setup Mac OS X

I'm in a hospital in Spain and my MacBook was stolen.

Hospital Commit

Now I bought a new one and need to configure it. I have an external hard drive that backup everything using Time Machine, but I don't want all the crap I had in the old one.

1. Run Software Update