Blacklist r8169 kernel driver for being loaded
echo blacklist r8169 >> /etc/modprobe.d/blacklist-r8169.conf
Once all of this is completed we are going to update our GRUB to have some specific kernel parameters for our realtek driver
#!/bin/bash | |
# | |
# Shell function to list the screen sessions on a machine | |
# and let the user select one from the list using up-down | |
# arrows. | |
# | |
# Add this to your `.bashrc` file or to your `.bashrc.d` directory | |
# where you should make it executable to be automatically | |
# sourced in some default `.bashrc` scripts. |
blueprint: | |
name: Bathroom Humidity Exhaust Fan | |
description: | | |
# 🚿 Bathroom Humidity Exhaust Fan | |
**Version: 2.6** | |
Step into the future of freshness - customize it your way and experience the convenience of automated humidity control! 🌿🚿 | |
@ECHO OFF | |
setlocal enabledelayedexpansion | |
set "STM32CUBEIDE=" | |
for /d /r "C:\ST" %%d in ("STM32CubeIDE_*") do ( | |
if not defined STM32CUBEIDE ( | |
set "STM32CUBEIDE=%%~fd" | |
) else ( | |
for /f "tokens=2 delims=_." %%a in ("%%~nd") do ( | |
for /f "tokens=2 delims=_." %%b in ("!STM32CUBEIDE:_= !") do ( |
#!/bin/bash | |
# | |
# Script to add codespell exceptions to the ignores lines file. | |
# | |
# The file is named '...-lines-ignore' to make TAB expansion on the cli easier. | |
# | |
# The line in the ignore file must match the line in the source | |
# exactly. | |
# | |
# To clean up or create the ignored lines file, just do |
OPNsense sometimes "loses" the WAN facing connection when that is "reinitialised" (modem reboot/WAN restart).
Monitoring the WAN facing connection and taking corrective action is the solution proposed by this script.
opnsense_ping_check.sh
will ping IP addresses to determine if the WAN
connection is still working, and try to restore the WAN if needed by
-- see if the file exists | |
function file_exists(file) | |
local f = io.open(file, "rb") | |
if f then f:close() end | |
return f ~= nil | |
end | |
function escape_shell(s) | |
-- From https://github.com/ncopa/lua-shell/blob/master/shell.lua | |
if s:match("[^A-Za-z0-9_/:=-]") then |
moveDockerData.cmd D:\DockerData
. Permissions of the
target directory should be set to allow access to the wsl process.Note: The shebang is for cygwin.
This script is targeted to be part of a mechanism to monitor the proper operation of a system sending emails.
It checks that the IMAP Server received a message with a certain SUBJECT in
the last TIMEOUT minutes.
If such a message is missing during the TIMEOUT
time frame, it will send an email notification.
# A ajouter au répertoire de quirks défini dans la configuration (configuration.yaml): | |
# zha: | |
# enable_quirks: true | |
# custom_quirks_path: /config/zha_quirks | |
from zhaquirks.lixee.zlinky import * | |
from zigpy.profiles import zha | |
from zigpy.quirks import CustomCluster, CustomDevice | |
import zigpy.types as t | |
from zigpy.zcl.clusters.general import Basic, GreenPowerProxy, Identify, Ota, PowerConfiguration |