The 1-Wire protocol is a proprietary protocol (Maxim/Dallas) single-wire interface, half-duplex, bidirectional, low-speed and power, long-distance serial-data communication protocol. It operates over a single data line, without clock signal. But, at least two wires are required for 1-wire bus: Data, GND. An additional wire might be necessary (Vcc), depending on powering mode. The powering modes are: parasitic (no vcc), and conventional (with vcc), as seen on figures below.
| // ==UserScript== | |
| // @name Medium Paywall Bypass | |
| // @namespace Violentmonkey Scripts | |
| // @run-at document-start | |
| // @match *://*.medium.com/* | |
| // @match *://medium.com/* | |
| // @match *://*/* | |
| // @grant none | |
| // @version 2.4 | |
| // @inject-into content |
venv is a built-in module in Python 3 that allows you to create and manage virtual environments. A virtual environment is a self-contained directory that contains its own Python installation and packages, isolated from the system-wide Python environment. This makes it easier to manage dependencies and ensure that your project runs on the specific version of Python and package versions that you need.
To create a virtual environment using venv, follow these steps:
- Open a terminal or command prompt.
- Navigate to the directory where you want to create the virtual environment.
| // ==UserScript== | |
| // @name Gmail Sender Utils | |
| // @namespace https://github.com/szhu | |
| // @match https://mail.google.com/mail/u/* | |
| // @version 1.3 | |
| // @author Sean Zhu | |
| // @description Quickly drill down by sender or label in Gmail. | |
| // @homepageURL https://gist.github.com/szhu/1d816086307c5de02bc9a2bb1cf01fe0 | |
| // @updateURL https://gist.github.com/szhu/1d816086307c5de02bc9a2bb1cf01fe0/raw/gmail-sender-utils.user.js | |
| // @downloadURL https://gist.github.com/szhu/1d816086307c5de02bc9a2bb1cf01fe0/raw/gmail-sender-utils.user.js |
| // ==UserScript== | |
| // @name Prevent link mangling on Google | |
| // @namespace LordBusiness.LMG | |
| // @match https://www.google.com/search | |
| // @grant none | |
| // @version 1.1 | |
| // @author radiantly | |
| // @description Prevent google from mangling the link when copying or clicking the link on Firefox | |
| // ==/UserScript== |
| @if (@X)==(@Y) @end /* JScript comment | |
| @echo off | |
| REM Polyglot code adapted from https://stackoverflow.com/a/24396149/591064 | |
| setlocal enableDelayedExpansion | |
| REM Too few arguments? | |
| if "x%1" == "x" goto usage_help | |
| REM Find the latest JScript.Net compiler | |
| for /f "tokens=* delims=" %%v in ('dir /b /s /a:-d /o:-n "%SystemRoot%\Microsoft.NET\Framework\*jsc.exe"') do ( |
Futurerestore is a tool that allows users to upgrade, downgrade, or re-restore their iOS device to an unsigned firmware through the use of SHSH2 blobs. This guide will teach you how to use Futurerestore in order to upgrade, downgrade, or re-restore to an unsigned firmware.
Before continuing, keep in mind that this guide is based off of this one, and contains information that can change your device's behavior or even damage it. With that in mind, please read the guide fully, as no one but YOU will be held responsible for any damage caused to your device.
Throughout the entirety of this guide, keep in mind that:
- iOS 13.1.3's SEP and Baseband are NOT compatible with iOS 12.x for all devices. This means that you're NOT able to upgrade, downgrade, or re-restore A10-A12X devices back to iOS 12.x. Attempting to use an incompatible SEP and Baseband will cause Futureresto
This is tested with Traefik 1.7
This is how to redirect the root or base path to a sub path in Traefik using Docker labels:
Goals
https://example.com->https://example.com/abc/xyz/https://example.com/->https://example.com/abc/xyz/https://example.com/something-> no redirect
| #!/usr/bin/env python | |
| # -*- coding utf-8 -*- | |
| # | |
| # Copyright 2016 Akshay Raj Gollahalli | |
| import dns.resolver | |
| def get_records(domain): | |
| """ |
The DHCP driver is intended for users to be able to integrate Docker IP address management with their existing IPAM strategies that use DHCP for dynamic address assignment. DHCP enables users to allocate addresses in an organized fashion that will prevent overlapping IP address assignment by associating a unique MAC address from the container eth0 Ethernet interface to an IP address as determined by the DHCP pools defined in the DHCP configuration.
This driver only provides the DHCP client functionality. It does not include a DHCP server. The default driver offers single-host IPAM or for distributed multi-host orchestrated IPAM see the libnetwork overlay driver.
- Download the driver compiled into Docker Engine - docker binary with libnetwork test dhcp client spam driver


