Skip to content

Instantly share code, notes, and snippets.

@basst85
basst85 / get_Lidl_refreshtoken.js
Last active December 16, 2024 14:23
Get refresh_token for Lidl Plus API
/**
* Get refresh_token for Lidl Plus API
*
* By: Bastiaan Steinmeier, https://github.com/basst85
*
*/
const { Issuer, generators } = require('openid-client');
const puppeteer = require('puppeteer');
const devices = require('puppeteer/DeviceDescriptors');
@qdm12
qdm12 / readme.md
Last active August 30, 2026 12:47
Wireguard setup for Ubuntu server with LAN access

Wireguard setup for LAN access

Assumptions

  • The network 192.168.1.0/24 is your LAN
  • Your Ubuntu server is on your LAN at 192.168.1.10, through the network interface eth0
  • The network 192.168.5.0/24 is non existent
  • Your LAN DNS is at 192.168.1.1
@Crecket
Crecket / add-bunq-option.js
Last active May 14, 2019 12:18
Adds a 'bunq' option to any select field which already contains an option containing ASN or ING.
const bunqOption = document.createElement("option");
bunqOption.appendChild(document.createTextNode("bunq"));
bunqOption.value = "BUNQNL2A";
document.querySelectorAll("select").forEach(select => {
const options = document.querySelectorAll(`#${select.id} option`);
let hasBankCode = false;
options.forEach(option => {
if (option.value && option.value.includes("ING")) hasBankCode = true;
@alexeyzimarev
alexeyzimarev / JsonNetRestSharp.cs
Created December 30, 2018 21:08
Using Newtonsoft.Json with RestSharp v106.6
using Newtonsoft.Json;
using RestSharp;
using RestSharp.Serialization;
namespace JsonNetRestSharp
{
class Program
{
static void Main(string[] args)
{
@pamolloy
pamolloy / README.md
Last active October 16, 2024 20:40
Ubiquiti USG configuration for Wireguard

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
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active November 5, 2026 09:15
crack activate Office on mac with license file
@ammarshah
ammarshah / all_email_provider_domains.txt
Last active November 7, 2026 05:14
A list of all email provider domains (free, paid, blacklist etc). Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
0-mail.com
007addict.com
020.co.uk
027168.com
0815.ru
0815.su
0clickemail.com
0sg.net
0wnd.net
0wnd.org
@simont77
simont77 / elgato-eve.md
Last active June 4, 2025 19:22 — forked from gomfunkel/elgato-eve.md
Elgato Eve HomeKit Services & Characteristics

Elgato Eve HomeKit Services & Characteristics

A work in progress collection of proprietary and as of yet undocumented HomeKit characteristics and their UUIDs used by Elgato Eve.

Based on the work by gomfunkel and 0ff. Characteristics and data dump for Door, Motion and Thermo thanks to @NebzHB.

More infos not yet incorporated in the comment section.

This list is not including all Eve accessories available and some services and characteristics still make no sense to me. If you have anything to contribute, please leave a comment. There is no guarantee that the information listed below is correct.

@lawrencekgrant
lawrencekgrant / Program.cs
Last active October 3, 2018 13:12 — forked from DanielSWolf/Program.cs
Console progress bar. Code is under the MIT License: http://opensource.org/licenses/MIT
using System;
using System.Threading;
static class Program {
static void Main() {
Console.Write("Performing some task... ");
using (var progress = new ProgressBar()) {
for (int i = 0; i <= 100; i++) {
progress.Report((double) i / 100);
@Hengjie
Hengjie / tutorial.md
Last active November 3, 2026 21:55
How to passthrough SATA drives directly on VMWare ESXI 6.5 as RDMs

How to passthrough SATA drives directly on VMWare EXSI 6.5 as RDMs

There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.

A word about VMWare ESXI 6.7

There is now an option while editing your VM's settings to add a New raw disk when you click `Add ha