Skip to content

Instantly share code, notes, and snippets.

View MrAct1on's full-sized avatar
:shipit:

Action Djack MrAct1on

:shipit:
View GitHub Profile
@julianpitt
julianpitt / LICENSE
Created January 26, 2026 02:47
Obtaining a Goolge account Master token (alternative method)
MIT License
Copyright (c) 2020 Rithvik Vibhu
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
furnished to do so, subject to the following conditions:
@NoBadDays
NoBadDays / aqara_magic_cube.yaml
Last active May 6, 2025 19:48 — forked from rvaidya/aqara_magic_cube.yaml
ZHA - Aqara Magic Cube
blueprint:
name: Aqara Magic Cube
description: Control anything using Aqara Magic Cube.
domain: automation
input:
remote:
name: Magic Cube
description: Select the Aqara Magic Cube device
selector:
device:
@dataslayermedia
dataslayermedia / coral-ai-pcie-edge-tpu-raspberrypi-5-setup
Last active January 26, 2026 02:24
Install Coral AI PCIe Edge TPU on Raspberry Pi 5
#!/bin/bash
cd /
sudo apt update
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
blueprint:
name: Play Music Tag EDITED
description: Play music tag NDEF url EDITED
domain: automation
input:
reader_id:
name: ESPHome NFC reader device
description: This is your NFC reader
selector:
device:
blueprint:
name: Play Music Tag EDITED
description: Play music tag NDEF url EDITED
domain: automation
input:
reader_id:
name: ESPHome NFC reader device
description: This is your NFC reader
selector:
device:
esphome:
name: esp-camera
esp32:
board: esp32cam
framework:
type: arduino
# Enable logging
logger:
blueprint:
name: ZHA & HUE events
description: >-
Detects ZHA (single buttons) and HUE (up to four buttons) click events and sequences (single click, double click and long click).
domain: automation
input:
clicks_sequence:
name: Click sequence
description: >
List of click types for sequence detection (separated with ','). e.g:
@InsaneWookie
InsaneWookie / config_m1s_home_assistant.md
Last active August 8, 2025 13:04
Configure Aqara M1S Gateway for Home Assistant
@n1zyy
n1zyy / time.apple.com.md
Last active February 3, 2026 13:36
Apple NTP servers

Apple runs a fleet of stratum 1 NTP servers at time.apple.com. In my experience, ntpd/chronyd are very happy with them.

It looks like, instead of doing anycast, they maybe use DNS to steer you to the closest one.

time.apple.com is a CNAME for time-osx.g.aaplimg.com. Querying a handful of DNS servers, I've identified the following locations:

IP Hostname Location
17.253.2.125 usdal4-ntp-001.aaplimg.com. Dallas
@zvldz
zvldz / soft_hack.md
Last active May 21, 2025 18:21
soft_hack.md

Soft hack to open telnet

You need gateway 3(mgl03) connected to MiHome. And also ip and gateway token.

1 way (recommended)

Via XiaomiGateway3 component.

You must input in the 'Open Telnet command' field(as it is without changing anything):

{"method":"set_ip_info","params":{"ssid":"\"\"","pswd":"123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd"}}