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
<domain type='kvm'> | |
<name>w10-gpu</name> | |
<uuid>7653a187-ea53-4dd9-95a8-712e8eb0a8ea</uuid> | |
<metadata> | |
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
<libosinfo:os id="http://microsoft.com/win/10"/> | |
</libosinfo:libosinfo> | |
</metadata> | |
<memory unit='KiB'>33554432</memory> | |
<currentMemory unit='KiB'>33554432</currentMemory> |
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 bash | |
FILE="/tmp/file.txt" | |
PROC=3 | |
echo -e "aaa bbb ccc\nddd eee fff" > "$FILE" | |
function do_it() { | |
echo "---" | |
printf "$1 $2 $3\n" |
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 bash | |
# This script acts as a switcher between video inputs of a monitor (https://en.wikipedia.org/wiki/Display_Data_Channel). | |
# It allows to switch to a custom video input and get back in one key pressing. | |
# | |
# Dependencies: | |
# 1. ddcutil | |
# Example: | |
# |
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 bash | |
# This script acts as a bridge between smstools and mattermost. | |
# | |
# Dependencies: | |
# 1. curl | |
# 2. iconv | |
# 3. procmail | |
# Example of smsd.conf: |
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 python | |
import sys | |
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions | |
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
@ECHO OFF | |
chcp 65001 | |
SET FLAG="C:\testlab-common\tmp\MTU.flag" | |
SET MTU=1450 | |
ECHO "INFO: Make directory for MTU flag." | |
mkdir "C:\testlab-common\tmp" 2> nul |
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
[global] | |
workgroup = EXAMPLE | |
server string = "data exchange" | |
# Active Directroy authentication settings | |
security = ADS | |
realm = EXAMPLE.COM | |
password server = dc1.example.com, dc2.example.com * | |
# Map Active Directory users to these ranges of UID/GID. |