Skip to content

Instantly share code, notes, and snippets.

@icmtf
icmtf / confl.py
Created September 30, 2024 19:51
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"):
@icmtf
icmtf / move.ps1
Created April 3, 2024 07:43 — forked from yamgarcia/move.ps1
Auto Mouse Mover - AntiscreenSaver
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 {