Skip to content

Instantly share code, notes, and snippets.

@iGlitch
iGlitch / hax.sh
Last active January 13, 2024 16:47
macOS provisioning, hardening, tweaking, whatever script - no more phone home
#!/bin/bash
# Let's "secure" even the script for you :)
sudo -v
function ok() {
echo -e "[OK] "$1
}
function bot() {
@samtherussell
samtherussell / api_ref.txt
Last active January 7, 2024 19:34
Logitech SqueezeServer JSONRPC API
Squeezebox API
--------------
This document outlines the JSON RPC interface with a squeezeserver to control and obtain information about squeezeboxes.
JSON : JavaScript Object Notation
RPC : Remote Procedure Call
Uses POST requests sent to:
http://<squeezeserver_address>:9000/jsonrpc.js
@ephemient
ephemient / ⁄etc⁄systemd⁄network⁄90-wifi.network
Created January 29, 2018 19:26
systemd-networkd + wpa_supplicant integration
[Match]
Type=wlan
[Network]
DHCP=yes
[DHCP]
RouteMetric=2048