gpg --gen-key
gpg --expert --full-gen-key
This file contains hidden or 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 Show Totals | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2026-02-23 | |
| // @description show totals | |
| // @author Pedro Lamas | |
| // @match https://www.johnpyeauctions.co.uk/Event/LotDetails/* | |
| // @match https://www.johnpyeauctions.co.uk/Browse* | |
| // @match https://www.johnpyeauctions.co.uk/Account/Bidding/Watching | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=johnpyeauctions.co.uk |
This file contains hidden or 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
| """ | |
| Copyright 2019 Jason Hu <awaregit at gmail.com> | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software |
This file contains hidden or 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
| [gcode_macro M117] | |
| description: Set LCD Message | |
| rename_existing: M117.1 | |
| gcode: | |
| {% if rawparams %} | |
| {% set escaped_msg = rawparams.split(';', 1)[0].split('\x23', 1)[0] | replace('"', '\\"') %} | |
| SET_DISPLAY_TEXT MSG="{escaped_msg}" | |
| RESPOND TYPE=command MSG="{escaped_msg}" | |
| _SET_MARQUEE MSG="{escaped_msg}" | |
| {% else %} |
This file contains hidden or 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
| sensor: | |
| - platform: command_line | |
| name: IKEA Tradfri OTA feed | |
| command: >- | |
| python3 -c "import hashlib, json, requests; response = requests.get('http://fw.ota.homesmart.ikea.net/feed/version_info.json'); ret = { 'ETag': response.headers.get('ETag'), 'Date': response.headers.get('Date'), 'Hash': hashlib.sha256(response.content).hexdigest() }; print(json.dumps(ret))" | |
| value_template: '{{ value_json.Hash }}' | |
| json_attributes: | |
| - Date | |
| - ETag | |
| scan_interval: 10800 |
This file contains hidden or 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
| ## Created with gatsby-plugin-netlify | |
| /* | |
| X-Frame-Options: DENY | |
| X-XSS-Protection: 1; mode=block | |
| Referrer-Policy: strict-origin-when-cross-origin | |
| Permissions-Policy: accelerometer=(), autoplay=(), ambient-light-sensor=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), usb=() | |
| X-Content-Type-Options: nosniff | |
| /manifest.webmanifest | |
| Content-Type: application/manifest+json |
This file contains hidden or 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
| #!/bin/bash | |
| currentAttempt=0 | |
| totalAttempts=10 | |
| delay=15 | |
| while [ $currentAttempt -lt $totalAttempts ] | |
| do | |
| currentAttempt=$(( $currentAttempt + 1 )) | |
| echo "Attempt $currentAttempt of $totalAttempts..." |
This file contains hidden or 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
| [Port3] : USB Composite Device | |
| Is Port User Connectable: yes | |
| Is Port Debug Capable: no | |
| Companion Port Number: 3 | |
| Companion Hub Symbolic Link Name: USB#VID_0BDA&PID_5413#b&2a724250&0&3#{f18a0e88-c30c-11d0-8815-00a0c906bed8} | |
| Protocols Supported: | |
| USB 1.1: no | |
| USB 2.0: no |
This file contains hidden or 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
| #!/bin/bash | |
| start() { | |
| iptables -t nat -N DOCKER | |
| iptables -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER | |
| iptables -t nat -A PREROUTING -m addrtype --dst-type LOCAL ! --dst 127.0.0.0/8 -j DOCKER | |
| } | |
| stop() { | |
| iptables -t nat -D PREROUTING -m addrtype --dst-type LOCAL -j DOCKER |
This file contains hidden or 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
| public class MultiWindowViewModelBase : INotifyPropertyChanged | |
| { | |
| private readonly ConcurrentDictionary<CoreDispatcher, PropertyChangedEventHandler> _dispatchersAndHandlers = new ConcurrentDictionary<CoreDispatcher, PropertyChangedEventHandler>(); | |
| public event PropertyChangedEventHandler PropertyChanged | |
| { | |
| add | |
| { | |
| var dispatcher = Window.Current.Dispatcher; |
NewerOlder