time.google.com
time1.google.com
time2.google.com
time3.google.com
# USE AT YOUR OWN RISK!!!! | |
# | |
# Requires eyed3 and plexapi libraries, written & tested in python 3.9 | |
from plexapi.myplex import MyPlexAccount | |
import eyed3 | |
LIB = 'INSERT LIBRARY NAME' | |
# Counters | |
insync = 0 |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
''' | |
Download theme songs from Plex TV Shows. Theme songs are mp3 and named by shows as displayed by Plex. | |
Songs are saved in a 'Theme Songs' directory located in script's path. | |
''' | |
from plexapi.server import PlexServer | |
# pip install plexapi | |
import os |
#!/bin/bash | |
# Backup a Plex database. | |
# Author Scott Smereka | |
# Version 1.0 | |
# Script Tested on: | |
# Ubuntu 12.04 on 2/2/2014 [ OK ] | |
# Plex Database Location. The trailing slash is |
Press minus + shift + s
and return
to chop/fold long lines!
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |