Skip to content

Instantly share code, notes, and snippets.

View thinktapper's full-sized avatar
🦚
Unbothered. Moisturized. Happy. In My Lane. Focused. Flourishing.

Andrew Tapper thinktapper

🦚
Unbothered. Moisturized. Happy. In My Lane. Focused. Flourishing.
View GitHub Profile
@hoishing
hoishing / README.md
Created July 24, 2024 12:05
disable Gatekeeper with configuration profiles in macOS 15

Disable Gatekeeper with Configuration Profiles

Starting from macOS 15, sudo spctl --master-disable is no longer supported to disable Gatekeeper.

We need to disbale it with Configuration Profiles.

How

  • Create a new configuration profile, an XML file with .mobileconfig extension, refer the sample file in this gist
  • replace the UUID with your own, you can use uuidgen in terminal to generate a new one
@aarmora
aarmora / index.ts
Created February 19, 2024 16:57
fetch-requests-from-puppeteer
import puppeteerExtra from 'puppeteer-extra';
import puppeteerStealth from 'puppeteer-extra-plugin-stealth';
import puppeteer from 'puppeteer';
(async () => {
const params = {
"pagination": {},
"usersSearchTerm": "Atlanta, GA",
mapBounds: {
"west": -84.4672891672287,
@bennlee
bennlee / remapping-keys-via-hidutil.md
Created November 19, 2021 05:39
How to remapping keys on macOS without thirdparty applications.

How to remapping keys on macOS without thirdparty applications.

You could remapping keys via the macOS embedded command line tool hidutil.


Key IDs Table
Usage Usage ID (hex) Usage Usage ID (hex) Usage Usage ID (hex) Usage Usage ID (hex)
@PurpleBooth
PurpleBooth / README-Template.md
Last active December 16, 2025 09:47
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@bradp
bradp / setup.sh
Last active August 21, 2025 15:06
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install