This file contains 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
# Blueprint metadata | |
blueprint: | |
name: Disable Fibaro lights during daylight | |
description: | | |
# 🪄 Disable Fibaro lights during daylight | |
**Version: 0.3** | |
This blueprint can disable the manual operation of one or more Fibaro dimmers during a certain period (i.e. daytime, between sunrise and sunset). | |
The use case for this blueprint is the fact that my children occasionally refuse to open their bedroom curtains and switch on their room lights during the day which is wasteful and not required when the sun is up. |
This file contains 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 | |
# | |
# name: gh-clean.sh | |
# version: 1.0.0 | |
# date: 2024-07-05 | |
# author: B. van Wetten | |
# purpose: ## FIXIT ## | |
# url: https://gist.githubusercontent.com/QNimbus/bbaf20553b9d733c2b3f1b95346dbe0f/raw/gh-clean.sh | |
# usage: Cleans a specified GitHub repository by removing the entire commit history of each branch, then recommitting each branch with the message 'Initial Commit'. | |
# Optionally, it can also clean the local repository to match the cleaned remote repository. |
This file contains 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
<Configuration> | |
<vGPU>Enable</vGPU> | |
<Networking>Default</Networking> | |
<AudioInput>Disable</AudioInput> | |
<VideoInput>Disable</VideoInput> | |
<PrinterRedirection>Disable</PrinterRedirection> | |
<ClipboardRedirection>Default</ClipboardRedirection> | |
<ProtectedClient>Enable</ProtectedClient> | |
<MappedFolders> | |
<MappedFolder> |
This file contains 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
#!/usr/bin/env -S python -W ignore | |
# code_outliner_exporter.py | |
# Standard library imports | |
import os | |
import ast | |
import argparse | |
from pathlib import Path |
This file contains 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/env bash | |
# Function to check if a command exists | |
command_exists() { | |
command -v "$1" >/dev/null 2>&1 | |
} | |
# Function to perform iperf test | |
run_iperf_test() { | |
if ! command_exists iperf3; then |
To install log2ram, run the following commands:
sudo apt update
sudo apt install rsync # RSync is synchronizes files and directories from one location to another
mkdir log2ram
curl -LfSs https://github.com/azlux/log2ram/archive/master.tar.gz | tar -xz --strip-components=1 -C log2ram
sudo ./install.sh
NewerOlder