This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name deleteGooglePhotos | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-07-23 | |
// @description Delete all Google photos in small batches. Based on original script from [Reddit](https://www.reddit.com/r/googlephotos/comments/kmolp9/comment/l428wca/) | |
// @author Harshit Sanghvi, u/ApplicationJunior832 | |
// @match https://photos.google.com/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum AggregateFunction { | |
Mean | |
Max | |
Min | |
Last | |
} | |
input AggregateWindowInput { | |
range: RangeInput! | |
every: DurationInput! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import List | |
from zipfile import ZipFile | |
import glob | |
import os | |
from os.path import basename, dirname, exists | |
# Zip the files from given directory that matches the filter | |
def zipFilesInDir(dirName, zipFileName, filter): | |
print("===Creating CBZ from " + dirName + ": " + zipFileName) | |
# create a ZipFile object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
sonarr: | |
container_name: sonarr | |
network_mode: 'bridge' | |
restart: unless-stopped | |
ports: | |
- 8989:8989 | |
image: linuxserver/sonarr:latest | |
volumes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# - Run 'docker-compose pull'. | |
# - Run 'docker-compose up -d'. | |
# - To stop running containers from this compose file - Run docker-compose down | |
# The env variables are set in .env file in the same directory | |
version: "3.4" | |
services: | |
postgresdb: | |
image: postgres:13 | |
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: multisensor1 | |
platform: ESP8266 | |
board: nodemcuv2 | |
wifi: | |
ssid: My-AP | |
password: SecretPassword | |
api: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Scratch pad for working with Milacares API for monitoring and controlling their air purifier devices. | |
# Based on the code from https://www.stefaanlippens.net/oauth-code-flow-pkce.html for PKCE code verifier and challenge. | |
import base64 | |
import hashlib | |
import html | |
import json | |
import os | |
import re | |
import urllib.parse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Netgear Meural mobile app or web interface doesn't give the ability easily delete all the user uploaded items which are not in any of the playlists. | |
When you delete a playlist, it doesn't delete the items from the playlist and they consume the limited upload space for the user. | |
Use this file to identify all the uploaded items curently not part of any playlists and delete them to recover some upload space. | |
usage: python3 meural_clean_uploads.py | |
''' | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shortcode | |
Images: | |
https://www.shutterstock.com/image-photo/beautiful-beach-chairs-on-sandy-near-633002651 | |
https://www.shutterstock.com/image-photo/madrid-jun-22-linkin-park-music-675309976 | |
https://youtu.be/uGy_HvUaHpg | |
Photographer: | |
Christian Bertrand https://www.shutterstock.com/g/Christian+Bertrand | |
Stephanie Frey https://www.shutterstock.com/g/Stephanie+Frey |