Skip to content

Instantly share code, notes, and snippets.

@peolic
peolic / .brazzers-userscript.md
Last active November 19, 2023 12:10
Brazzers Sub-Studio
@atarp
atarp / smart.py
Last active April 4, 2025 00:56
Python script to read data from PPC Smart Meter Gateway Customer Interface (SMGW) via the HAN interface
#!/usr/bin/env python3
import requests, base64
from requests.auth import HTTPDigestAuth
from bs4 import BeautifulSoup
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
user= '12345678'
password = 'secret'
@peolic
peolic / [MIGRATED] StashDB Backlog Userscript.md
Last active March 23, 2025 21:32
[MIGRATED] StashDB Backlog Userscript
@rnwolf
rnwolf / 1_google_cloud_storage_backup_tutorial.md
Created July 7, 2017 18:45
Tutorial shows how to make backups to Google Cloud Storage.

Google Cloud Storage backup tutorial

Introduction

This tutorial shows how to make backups to Google Cloud Storage. The backups are:

  • automatic
  • stored off site
  • incremental
@rcoup
rcoup / rsync_parallel.sh
Created April 10, 2013 21:52
Parallel-ise an rsync transfer when you want multiple concurrent transfers happening,
#!/bin/bash
set -e
# Usage:
# rsync_parallel.sh [--parallel=N] [rsync args...]
#
# Options:
# --parallel=N Use N parallel processes for transfer. Defaults to 10.
#
# Notes: