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
import os | |
import yaml | |
import logging | |
import sys | |
from dotenv import load_dotenv | |
class ConfigLoader: | |
def __init__(self, required_keys, defaults=None, yaml_path="settings.yaml", env="dev"): |
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
Add-Type @" | |
using System; | |
using System.Runtime.InteropServices; | |
public class Mouse { | |
[DllImport("user32.dll")] | |
public static extern bool SetCursorPos(int x, int y); | |
} | |
"@ | |
function Start-AntiscreenSaver { |