Skip to content

Instantly share code, notes, and snippets.

View adfernandes's full-sized avatar

Andrew Fernandes adfernandes

View GitHub Profile
@adfernandes
adfernandes / ipv6guide.md
Created July 25, 2024 18:49 — forked from timothyham/ipv6guide.md
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1

@adfernandes
adfernandes / defang.md
Created July 8, 2023 03:34 — forked from macshome/defang.md
How to defang system protections on macOS

How to Defang macOS System Protections

If you want to change things on the root drive of a Mac you will need to take some steps to disable the built in security of the system. Most of these steps are the same regardless if you are on Intel or Apple Silicon. If there is a difference it is noted.

Note that all of these things put a Mac into an unsupported and less secure state.

Make sure you either perform these steps in a VM or that you reset the protections after you are done poking around

Protections and Terms

(This list is not exahustive on the details of each. Check the links at the end for more info.)

@adfernandes
adfernandes / keybase.md
Created February 5, 2016 02:36
Keybase.io Proof of Identity

Keybase proof

I hereby claim:

  • I am adfernandes on github.
  • I am adfernandes (https://keybase.io/adfernandes) on keybase.
  • I have a public key whose fingerprint is 7AAB 256C 9920 BEF1 F3AD 7CE5 C939 938D A7C9 BDA9

To claim this, I am signing this object:

@adfernandes
adfernandes / GolaySequences~Compiles~Quickly.swift
Created February 9, 2015 17:51
Swift Hang ~ Compiles Quickly
let golay: [String:[[Int8]]] = [
"a": [
[],
[1,1],
[1,1,1,-1],
[1,1,1,-1,1,1,-1,1],
[1,1,1,-1,1,1,-1,1,1,1,1,-1,-1,-1,1,-1],
[1,1,1,-1,1,1,-1,1,1,1,1,-1,-1,-1,1,-1,1,1,1,-1,1,1,-1,1,-1,-1,-1,1,1,1,-1,1],
[1,1,1,-1,1,1,-1,1,1,1,1,-1,-1,-1,1,-1,1,1,1,-1,1,1,-1,1,-1,-1,-1,1,1,1,-1,1,1,1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