Skip to content

Instantly share code, notes, and snippets.

View dominikwilkowski's full-sized avatar
🤖
Working

Dominik Wilkowski dominikwilkowski

🤖
Working
View GitHub Profile
@dominikwilkowski
dominikwilkowski / README.md
Created September 29, 2024 07:13
Toggle a HomeKit shortcut when the webcam is on

Toggle a HomeKit shortcut when the webcam is on

When working from home I have my desk and webcam pointing towards my door which means sometimes someone might enter my office just to find themself to be captured on camera unwittingly. To deal with this I added a light above the outside of my door. This light switches on when my webcam is on and off when it is off. This way people know if they are on camera or not.

door

This is how I did it:

@dominikwilkowski
dominikwilkowski / README.md
Created March 20, 2025 00:51
Clone a repo with all branches

Moving a repo

  1. Clone the repo with the --mirror flag
git clone --mirror https://<URL>.git
  1. Create a new repo without initializing it with any files
  2. Clone this new repo locally
  3. Add a new remote to the new repo