Skip to content

Instantly share code, notes, and snippets.

View schipplock's full-sized avatar

Andreas Schipplock schipplock

View GitHub Profile
@schipplock
schipplock / shame.java
Created December 27, 2022 16:31
ich schäme mich
if (autosize) {
int height = getHeight() + getRootPane().getHeight() + itemPanel.getHeight() + actionPanel.getHeight();
int width = itemPanel.getWidth() + 40;
setPreferredSize(new Dimension(width, height));
pack();
autosize = false;
}
@schipplock
schipplock / remove-apple-music-from-macos.md
Created May 28, 2022 20:05
Remove Apple Music.app from macOS 12.4 (M1)

Warning: if you follow this guide, you won't be able to use certain features of macOS anymore (iOS apps, Apple Pay, ...)

  • Reboot your Mac into recovery mode
    • shutdown macOS
    • after macOS has shut down, hold down the power button until it says something about "options"
  • choose options and not your harddrive
    • you will be asked to log in, do so
    • start Terminal from the top menu

Type these two commands: