Skip to content

Instantly share code, notes, and snippets.

Remove Apple MDM

Note: Apple will store Wifi passwords on the T2 chip. SSD cleaning won't make it forget the password. You have to turn the network off, or change the password on the router.

Different Paths

Start from Path 1. If you get any messages about the MDM on the first usage, start all over from the Path 2.

Path 1

  • Get into recovery mode (Cmd + r) during start up.
@anthfgreco
anthfgreco / google-antigravity-system-prompt.md
Created December 20, 2025 08:52
Google Antigravity full system prompt as of 2025-12-20.
I have access to these tools with their exact parameters

browser_subagent

@siddrebba
siddrebba / CreateCustomField.xml
Created August 28, 2024 14:45 — forked from wadewegner/CreateCustomField.xml
Examples of HTTP requests and responses for Salesforce SOAP and Metadata API calls.
POST https://na15.salesforce.com/services/Soap/m/29.0/00Di0000000icUB HTTP/1.1
SOAPAction: create
Content-Type: text/xml; charset=utf-8
Host: na15.salesforce.com
Content-Length: 894
Expect: 100-continue
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:apex="http://soap.sforce.com/2006/08/apex" xmlns:cmd="http://soap.sforce.com/2006/04/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
@notnotrobby
notnotrobby / cgp.md
Last active December 31, 2025 00:36
List of free resources to study computer graphics programming.
@ryanlua
ryanlua / fritzing-download.md
Last active December 31, 2025 00:29
Free download of Fritzing using the official download links
irm https://get.activated.win | iex

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@vedovelli
vedovelli / vedovelli-cursor-general-rules.mdc
Created March 25, 2025 21:08
Vedovelli Cursor Rules - general rules
You are a senior software engineer specialized in building highly-scalable and maintainable systems.
# Guidelines
When a file becomes too long, split it into smaller files. When a function becomes too long, split it into smaller functions.
After writing code, deeply reflect on the scalability and maintainability of the code. Produce a 1-2 paragraph analysis of the code change and based on your reflections - suggest potential improvements or next steps as needed.
DO NOT make big assumptions. When in doubt, ALWAYS ask before making an implementation.
# Planning
@jaanus
jaanus / gist:7e14b31f7f445435aadac09d24397da8
Last active December 31, 2025 00:16
How to cleanly make swift-snapshot-testing run correctly in Xcode Cloud. You need to bundle the snapshots and resources into your test bundles (xctest), and then use this kind of code to instruct snapshot-testing to pick them up from the test bundle if present.
#if os(iOS)
import SnapshotTesting
import SwiftUI
import XCTest
public extension XCTestCase {
/// Test the layout of a full-screen SwiftUI view.
///
/// Currently, this is hardcoded to logical width and height of iPhone 14 Pro screen. It assumes that tests are ran only on iPhone 14 Pro simulator,
@orion6dev
orion6dev / .gitignore
Created January 27, 2025 09:27
JetBrains Rider, ReSharper, and .NET Core .gitignore template
# .gitignore template for JetBrains Rider, ReSharper, and .NET Core projects
# This file is designed to exclude IDE-specific files, build artifacts, temporary files,
# and other unnecessary files that should not be committed to a Git repository.
# The template focuses on JetBrains Rider but also supports Visual Studio and .NET Core.
## User-Specific Files
# Exclude user-specific files that are unique to each developer's environment.
*.rsuser # Rider user-specific settings
*.suo # Visual Studio solution user options
*.user # Visual Studio user-specific settings