CC2538 SoCs are Cortex-M4 based SoCs by Texas Instruments for 802.15.4 PAN networking, especially for Zigbee communication using their Zigbee Stack solution. It also is a solid foundation for hobbyist-grade solutions involving Zigbee communication, especially for running a self-implemented Zigbee coordinator (often called "Zigbee gateway" in commercial distribution of similar tech). Software-wise, this is usually done by running "ZNP" (Zigbee Network Processor) firmware on the SoC and using a separate controller/computer to act as the "ZAP" (Zigbee Application Processor). In a hobbyist setting, the former is usually a cheap module from china containing the chip, capacitors and an antenna or antenna connector, while the latter is e.g. a Raspberry Pi or an Intel NUC or whatever floats your boat. The API between both components is specified and so the software side on the ZAP does not need to bother with Zigbee communication states but can act on a
syno_poweroff_task -d
umount /volume1 (replace this with your volume name)
fsck.ext4 -pvf /dev/md0 (replace this with your dev)
reboot the system after the scan is completed
via:
| #!/bin/bash | |
| rev="12" | |
| _log(){ | |
| echo "$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - $1" >> /tmp/ffmpeg.log | |
| } | |
| _log_para(){ | |
| echo "$1" | fold -w 120 | sed "s/^.*$/$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - = &/" >> /tmp/ffmpeg.log |
| #!/bin/bash | |
| # sabnzbd post-download notification script for Plex | |
| # Define $PLEX_TOKEN in your environment | |
| # Debug arguments to sab | |
| echo "Args:" | |
| for word in "$@"; do | |
| echo "$word" | |
| done |
| btrfs fi show -d | |
| (/dev/mapper/vg1000-lv) | |
| syno_poweroff_task -d | |
| (or: umount /volume1) | |
| (or2: umount /volume1 -f -k) | |
| Check to see if all us unmounted: | |
| df -h |
| # Install Dependency: apt-get install jq | |
| $PLEX_USERNAME="youremail@host.com" | |
| $PLEX_PASSWORD="yourpassword" | |
| $LIBRARY_TITLE="Movies" #TV, Music, etc | |
| PLEX_TOKEN=`curl -s -X POST \ | |
| -H "X-Plex-Client-Identifier: jenkins" \ | |
| -H "X-Plex-Product: jenkins" \ | |
| -H "X-Plex-Version: 1.0.0" \ |
For what it's worth (and with all the usual disclaimers about potentially making your mac unstable by disabling system services), here's some commands that will manipulate this service and services like it. Note the $UID in the command, that's just a bash shell variable that will resolve to some number. That's your numeric UID. You just run these commands from a Terminal command line. No special privileges needed.
If you want to disable it entirely, the first command stops it from respawning, and the second kills the one that is currently running:
launchctl disable gui/$UID/com.apple.photoanalysisd
launchctl kill -TERM gui/$UID/com.apple.photoanalysisd
(If you kill it without disabling it will die, but a new one will respawn and pick up where the old one left off)
When you are unable to login to the unifi controller or forgot admin password, you can restore access using SSH and manipulating mongodb directly.
Do not uninstall unifi controller - most of the data is not stored in mongodb. In case you thought a mongodb backup would be sufficient, you may have fucked up already, just like me. However I managed to write this "tutorial" for anyone to not run into the same trap.
Apparently this guide no longer works with recent unifi controller versions (starting nov/dec 2022). Since I no longer use unifi hardware in my home system, I can not update the guide myself. In case you've gotten here to recover your data, you're likely doomed. But giving it a try won't hurt anyway, therefore: good luck.
Download the latest ugw3 package from https://github.com/Lochnair/vyatta-wireguard/releases and install it on your USG using dpkg -i wireguard-ugw3-<version>.deb.
cd /config/auth
umask 077
mkdir wireguard
cd wireguard
wg genkey > wg_private.key
wg pubkey < wg_private.key > wg_public.key