Below is a code for Minifiles Git integration code snippet.
Just insert the code below into this function in your Minifiles config:
config = function()
-- add the git code here
end
; Script to obtain meeting state and mute state from mutesync application (www.mutesync.com) | |
; This script will create 2 binary_sensor entities in Home Assistant; one for mute status and one for in_meeting status | |
; | |
; To obtain the status from Mutesync, a token must be obtained from the Mutesync application. | |
; 1. Choose mutesync preferences, authentication tab, and check "allow external app" | |
; 2. Open a browser and navigate to http://127.0.0.1:8249/authenticate | |
; 3. Copy the 16-character token and paste it into this next line between the quotes. | |
msToken := "ABCDEFGHIJKLMNOP" | |
; For communicating with Home Assistant, a long-lived access token is needed. |
{ | |
"Cloudflare" : [ | |
{ | |
"ip" : "1.1.1.1" | |
}, | |
{ | |
"ip": "1.0.0.1" | |
} | |
], | |
"Namecheap": [ |
# use Windows repair disc to run Startup Repair | |
# update grub config file for EFI system | |
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg # Fedora | |
sudo update-grub # Ubuntu | |
# if grub doesn't find Windows Boot Manager | |
# find EFI partition (could be on sdb, sdc, etc if you have more than one hard drive) | |
gdisk -l /dev/sda | |
This document was created back in 2020 and might not be actual nowadays. It is not supported anymore, so use thise information at your own risk.
wsl --set-default-version 2
in windows command line, so that all future WSL machine will use WSL2.As part of Java 8 new features, lambda expressions are now supported (Project Lambda). See this very easy-to-read article from Brian Goetz State of the Lambda but more importantly focusing more on streams: State of the Lambda: Libraries Edition
// From parameters