Skip to content

Instantly share code, notes, and snippets.

@scriptingosx
scriptingosx / MacAdmins-Fediverse.txt
Last active March 9, 2025 15:01
List of Fediverse/Mastodon accounts worth following in the Apple Admin/Security space. The csv files can be imported using the "import" option in your server's settings. ` https://<mastodon_instance>/settings/imports`
## MacAdmins Community
https://aus.social/@bartreardon
https://aus.social/@honestpuck
https://chaos.social/@fridomac
https://datboi.network/@jc0b
https://floss.social/@rustymyers
https://fosstodon.org/@gray
https://fosstodon.org/@jaharmi
https://fosstodon.org/@MScottBlake
https://furry.engineer/@rabbitt
@gabe565
gabe565 / change-arc-icon.md
Last active April 16, 2026 10:01
Change Arc Browser Icon

Change Arc Browser Icon

arc

A collection of commands that change the Arc Browser icon on macOS.

Commands

Theme Command
Candy Arc defaults write company.thebrowser.Browser currentAppIconName candy
@sophiateutschler
sophiateutschler / Color+Lch.swift
Created February 8, 2023 19:31
Lch color space initializer for SwiftUI Color
//
// MIT License
//
// Copyright (c) 2023 Sophiestication Software
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
/* to be used with the default obsidian theme */
/* to install, add color-tweaks-minimal-tabs.css to .obsidian/snippets/ and enable in the settings */
.theme-light {
--color-base-05: #fafbfd;
--color-base-10: #f8f9fb;
--color-base-20: #f2f4f9;
--color-base-25: #dce0e8;
--color-base-30: #d8dce7;
--color-base-35: #cbd0dc;
@LilithWittmann
LilithWittmann / autobahn.md
Last active January 14, 2025 12:25
autobahn.md
@p0fi
p0fi / homepod-mini-stock-check.js
Last active December 20, 2020 16:54
Check the Availability of HomePod Minis Is an Apple Store of Your Choice
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-green; icon-glyph: magic;
/*
Apple Store-IDs:
Germany
R358 Berlin
R366 Hamburg (Alstertal)
@Axel-Erfurt
Axel-Erfurt / celluloidTV.m3u
Last active April 24, 2026 14:17
Livestreams deutscher TV-Sender
#EXTM3U
#EXTINF:-1,ARD
https://daserste-live.ard-mcdn.de/daserste/live/hls/de/master.m3u8
#EXTINF:-1,ARD ONE
https://mcdn-one.ard.de/ardone/hls/master.m3u8
#EXTINF:-1,ARD Alpha
https://mcdn.br.de/br/fs/ard_alpha/hls/de/master.m3u8
#EXTINF:-1,ARD Tagesschau
https://tagesschau.akamaized.net/hls/live/2020115/tagesschau/tagesschau_1/master.m3u8
#EXTINF:-1,ZDF
@marco79cgn
marco79cgn / apple-product-availability.js
Last active September 28, 2025 13:14
Custom iOS widget that shows both the store and online availability of a given product (for Scriptable.app)
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: teal; icon-glyph: apple-alt;
// default zipOrStore and partNo - will be overwritten by your widget parameters
let zipOrStore = '50670'
let partNo = "MFHP4ZM/A"
// insert your ntfy url
const notifyUrl = "https://ntfy.sh/******"
// force push notification - set to true in order to test that your setup is working correctly
@marco79cgn
marco79cgn / dm-toilet-paper-wheat-flour.js
Last active April 16, 2026 18:40
iOS Widget, das die Anzahl an Klopapier und Mehl Packungen in deiner nächsten dm Drogerie anzeigt (für die scriptable.app)
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: gray; icon-glyph: magic;
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: green; icon-glyph: magic;
// dm Klopapier & Mehl Widget
//
// Copyright (C) 2020 by marco79 <marco79cgn@gmail.com>
//
const apiUrl = "https://pass.telekom.de/api/service/generic/v1/status"
let widget = await createWidget()
widget.backgroundColor = new Color("#777777")
if (!config.runsInWidget) {
await widget.presentSmall()
}
Script.setWidget(widget)
Script.complete()