Skip to content

Instantly share code, notes, and snippets.

View ukd1's full-sized avatar

Russell Smith ukd1

View GitHub Profile
% dig rainforest.dev
; <<>> DiG 9.10.6 <<>> rainforest.dev
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39596
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
class MyModel
def my_column
if self.has_attribute?(:my_column_JSON)
self.my_column_JSON
else
self.attributes[:my_column]
end
end
def my_column=(value)
esphome:
name: pool-sensor
esp32:
board: heltec_wifi_lora_32_V2
framework:
type: arduino
logger:

Unifi U6 Extender - Firmware / Boot/Adoption loop fix

To add to this for anyone in the future:

  • When you reset it (long hold, lots of flashing) there will be a wifi network that's the MAC address (on the back, middle row next to the QR code).
  • Make sure you turn off auto-adopt in your console, ugh.
  • the wifi password is the last 6 of the MAC (in caps) and the 6 character code at the bottom of the text on the back of the device.
  • you can do it from a Mac by forcing it to accept older protocols: ssh -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedKeyTypes=+ssh-rsa ubnt@192.168.1.20
  • I got the firmware from here - https://community.ui.com/questions/U6-Extender-wont-update-from-6-0-15/295850ba-47b9-446e-9667-20663e4236b6
@ukd1
ukd1 / task.md
Last active February 1, 2026 03:29

Real-Time Drone Tracking (Learning-Free)

This project tracks a drone in real time using any learning-free approach. The tracker receives a bounding box in the first frame and must predict the box for each next frame using only visual information from previous frames.

General-purpose pre-trained models are allowed, but no drone-specific training or smoothing methods should be used. Any programming language.

Input/Output:

The script takes as input:

  • a video file