Skip to content

Instantly share code, notes, and snippets.

@ZEROF
ZEROF / Update MyAddr.tools DNS Entries.md
Created June 23, 2024 21:53
myaddr.tools DNS update script and setting with systemd

myaddr.tools

A minimalist dynamic DNS service

Features

  1. No ads, no tracking, no nonsense
  2. Get a name in seconds, no account required
  3. Easy, forgiving HTTP-based API
  4. Multiple domains (all resolve the same): - your-name.myaddr.tools - your-name.myaddr.dev (on the HSTS preload list)
// ==UserScript==
// @name AliExpress Parse Orders Information to CSV
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Parse AliExpress order page into a CSV file suitable for spreadsheet use.
// @author Hegy
// @match https://www.aliexpress.com/p/order/index.html*
// @icon https://www.google.com/s2/favicons?sz=64&domain=aliexpress.com
// @grant none
// ==/UserScript==
@nor24o
nor24o / Tracking_number_from_ali.js
Last active December 3, 2024 05:08
A script to extract Tracking id from Aliexpress order list
//to use this js go to order list the open developer mote and paste the following code in the console:
//VARIANT 1 just tdisplay
var elems = Array.prototype.slice.call(document.querySelectorAll('.order-item'));
elems.forEach(function(elem) {
var status = elem.querySelector('.order-item-header-status-text');
var orderInfo = elem.querySelector('.order-item-header-right-info');
if (status && status.textContent === 'Awaiting delivery' && orderInfo) {
var orderIdText = orderInfo.textContent;
@jools-uk
jools-uk / aliexpress_order_scrape.user.js
Last active September 12, 2024 14:36
Tapermonkey AliExpress Order scraper
// ==UserScript==
// @name Ali Express Order Downloader
// @namespace https://gist.github.com/
// @version 0.1
// @description Retrieve Aliexpress order information and export as CSV via clipboard - 2023 version
// @author jools-uk
// @match https://www.aliexpress.com/p/order/index.html*
// @match https://www.aliexpress.com/p/order/detail.html*
// @grant unsafeWindow
// @grant GM_xmlhttpRequest
@MrTechGadget
MrTechGadget / ikea_open_close_remote.yaml
Last active January 18, 2025 06:23 — forked from r3mcos3/ikea_open_close_remote.yaml
Home Assistant Blueprint For ZHA IKEA Open/Close Remote
blueprint:
name: IKEA Open/Close Remote
description: |
'Control your roller blind with an IKEA 2 button remote (the square ones).
this is the remote that's been delivered by the "Fytur" and " Kadrilj"
roller blinds.'
domain: automation
input:
remote:
name: Remote
@peteristhegreat
peteristhegreat / Readme.md
Last active December 9, 2025 07:49
Realtek bluetooth usb adapter RTL8671b
@shtrom
shtrom / fritz_cert_upload.py
Last active March 12, 2023 17:01
Upload a TLS key and cert to a FRITZ!Box, in pretty Python
#!/usr/bin/env python3
# vim: fileencoding=utf-8
"""
Upload a TLS key and cert to a FRITZ!Box, in pretty Python
Copyright (C) 2018--2021 Olivier Mehani <shtrom@ssji.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
@therightstuff
therightstuff / RSAKeys.cs
Last active October 7, 2025 09:42
Import and export RSA Keys between C# and PEM format using BouncyCastle
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.OpenSsl;
using Org.BouncyCastle.Security;
using System;
using System.IO;
using System.Security.Cryptography;
namespace MyProject.Data.Encryption
{
@miteshsureja
miteshsureja / FileDetails.cs
Created March 8, 2017 14:06
How to find and delete duplicate files from directory using C# code?
using System;
namespace DuplicateFileFinder
{
public class FileDetails
{
public string FileName { get; set; }
public string FileHash { get; set; }
}
}
@brycied00d
brycied00d / ttrss-migrator.rb
Created December 28, 2016 20:03
TT-RSS Database Migrator, Migration from MySQL to Postgres
#!/usr/bin/env ruby
=begin
Migrate TT-RSS data from MySQL to Postgres
Author: Bryce Chidester <bryce@cobryce.com>
Provided as-is, no warranty. Make backups!
This script may work in the reverse direction... but probably not. And seeing as
TT-RSS doesn't officially support any other database backend at this time, there's
really no point in migrating to or from any other database.