Skip to content

Instantly share code, notes, and snippets.

@borisz
borisz / ssh-fwupdate.md
Created October 30, 2025 15:34 — forked from Salamek/ssh-fwupdate.md
SSH Update of Ubiquity cameras

SSH Update of Ubiquiti cameras

When Ubiquiti camera is not updated for longer time (long storage etc.), its firmware becomes incompatible (too old) with latest version of Unifi Protect. This is HOWTO do update from modern Linux OS system (you may also use OS-X):

HW preparation

  1. Connect your camera to PoE switch or injector
  2. Reset your camera to factory settings using HW button (check official docs of your camera for location and combination)
  3. Connect your Linux running computer to same network as camera is
  4. Check your router client list for camera IP or Unify Protect camera list
@borisz
borisz / SimpleHTTPServerWithUpload.py
Created December 17, 2021 16:13 — forked from touilleMan/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload - Python3 version
#!/usr/bin/env python3
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
see: https://gist.github.com/UniIsland/3346170
"""