* * * * * - Every minute.
0 0 * * * - At midnight every day.
30 14 * * 5 - At 14:30 (2:30 PM) on every Friday.
0 22 * * 1-5 - At 22:00 (10 PM) from Monday to Friday.
| import mailbox | |
| import os | |
| import argparse | |
| import re | |
| from email.utils import parsedate_to_datetime | |
| from email.header import decode_header | |
| def decode_subject(message): | |
| """ | |
| Decodes the email subject into a clean string, handling multi-line and |
| # Define the task details | |
| $taskName = "StartDockerDesktopAtBoot" | |
| $taskDescription = "Starts Docker Desktop automatically after boot (with 2-minute delay), regardless of user login." | |
| $wrapperScriptPath = [Environment]::GetFolderPath("Desktop") + "\DockerStartWrapper.ps1" # Wrapper script on current user's desktop for delay | |
| try { | |
| # Get current user's full username for the principal | |
| $userId = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name | |
| # Check if the task already exists and remove it to avoid conflicts |
| <?xml version="1.0" encoding="UTF-16"?> | |
| <Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
| <RegistrationInfo> | |
| <URI>\{{taskName}}</URI> | |
| </RegistrationInfo> | |
| <Triggers> | |
| <LogonTrigger> | |
| <Enabled>true</Enabled> | |
| </LogonTrigger> | |
| </Triggers> |
| import win32gui | |
| import win32con | |
| import win32process | |
| import time | |
| import csv | |
| from datetime import datetime | |
| from pynput import keyboard, mouse | |
| from collections import defaultdict | |
| # Dictionary to store keystrokes and mouse movement per window title |
I hereby claim:
To claim this, I am signing this object:
| for %F in (*.mp4) do @(md "%~nF" 2>nul && move "%F" "%~nF\") |
| <?php | |
| /* | |
| Plugin Name: WC Category Image Fallback | |
| Description: WooCommerce Product Image Fallback for Categories. | |
| Version: 1.0 | |
| Author: Andy Gee | |
| */ | |
| { | |
| "adr": [ | |
| { | |
| "meta": { | |
| "TYPE": "INTL", | |
| "TYPE1": "PARCEL", | |
| "TYPE2": "WORK" | |
| }, | |
| "value": [ | |
| "", |
| <?php | |
| if (isset($_GET['host'])) { | |
| define('WEBSITE_URL', 'https://' . $_GET['host']); | |
| } else { | |
| echo 'usage: get_pages.php?host=www.domain.com'; | |
| exit; | |
| } | |