Skip to content

Instantly share code, notes, and snippets.

@ivanagui2
ivanagui2 / restart coreaudio daemon
Created March 16, 2025 22:43 — forked from felipecsl/restart coreaudio daemon
Restart Mac OS X coreaudio daemon. Useful if you cannot change the audio output device to Airplay.
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`
# or...
sudo killall coreaudiod
@ivanagui2
ivanagui2 / ntfs.md
Created February 25, 2024 11:16 — forked from six519/ntfs.md
Read/write NTFS drive on macOS Ventura with Apple silicon processor

Configuring your Mac!

Change security settings

  • Shut down your Mac, then press and hold the power button until "Loading startup options" appear.
  • Select "Options"
  • In the menu on top of the screen, choose "Utilities" -> "Startup Security Utility".
  • Click "Security Policy"
  • Select "Reduced Security" and check "Allow user management of kernel extensions from identified developers".
  • Reboot
@ivanagui2
ivanagui2 / keyservers.md
Created December 30, 2023 16:57 — forked from rjhansen/keyservers.md
SKS Keyserver Network Under Attack

SKS Keyserver Network Under Attack

This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.

Terminological Note

"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.

Who am I?

@DrTom
DrTom / mac_os_upgrade.md
Last active April 23, 2025 16:46
Migrate or Upgrade MacPorts etc after Mac OS Upgrade

Upgrade Mac OS and all related Development Tools

In short: reinsall everything which has been compiled in or linked against libraries the old system.

Upgrade Mac OS

  1. Upgrade OS
  2. Install or Upgrade XCode
@six519
six519 / ntfs.md
Last active December 20, 2025 11:02
Read/write NTFS drive on macOS Ventura with Apple silicon processor

Configuring your Mac!

Change security settings

  • Shut down your Mac, then press and hold the power button until "Loading startup options" appear.
  • Select "Options"
  • In the menu on top of the screen, choose "Utilities" -> "Startup Security Utility".
  • Click "Security Policy"
  • Select "Reduced Security" and check "Allow user management of kernel extensions from identified developers".
  • Reboot
@ivanagui2
ivanagui2 / Windows ReFS versions.en.md
Created March 27, 2023 11:25 — forked from 0xbadfca11/00_README.md
Windows ReFS versions

Version number is reported by fsutil fsinfo refsinfo, available on Windows 10 and Windows Server 2016.

ReFS 1.1

  • Version of formatted by Windows Server 2012.
  • Version 1.1 is used already in Windows Server 8 Beta. I have never seen version 1.0.
  • Can use and store alternate data streams, when mount on 8.1/2012 R2 or later.

ReFS 1.2

  • Version of formatted by Windows 8.1, Windows 10 v1507 to v1607, Windows Server 2012 R2, and when specified ReFSv1 on Windows Server 2016 or later.
  • Cannot use alternate data streams, when mount on 2012.
iBoot version: iBoot-7429.40.68
Registering: IOService:/options/IODTNVRAMDiags
Registering: IOService:/options/options-system
Registering: IOService:/options/options-common
Darwin Image4 Validator Version 5.0.0: Mon Sep 6 01:31:08 PDT 2021; root:AppleImage4-157.40.6.0.2~68/AppleImage4/RELEASE_ARM64E
AppleImage4: failed to read nvram property: oblit-inprogress: 2
AMFI: UDID enforcement enabled
Registering: IOService:/
Registering: IOService:/AppleARMPE/IOSystemStateNotification
Registering: IOService:/AppleARMPE/IOPMrootDomain
DISKUTIL(8) BSD System Manager's Manual DISKUTIL(8)
NNAAMMEE
ddiisskkuuttiill -- modify, verify and repair local disks
SSYYNNOOPPSSIISS
ddiisskkuuttiill [qquuiieett] _v_e_r_b [_o_p_t_i_o_n_s]
@macshome
macshome / defang.md
Last active March 22, 2026 19:00
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.)

@dllud
dllud / change-machine-id.md
Created July 15, 2022 19:29
How to change a cloned GNU/Linux machine's identity

How to change a cloned GNU/Linux machine's identity

You've just finished installing and configuring all those packages on your first machine. Now it's just a matter of cloning the hard drive into all the others and changing the hostname. Right?

Well, not so easy. If you wish to avoid conflicts on your network, backups and elsewhere, i.e. if you wanna end up with a unique fingerprint for each machine, you must go a few steps further.

Here follows a checklist to help you out. It's aimed at Debian and derivates (e.g. Ubuntu), though other distros won't be much different.

The old way: edit /etc/hostname and /etc/hosts