Skip to content

Instantly share code, notes, and snippets.

View prav-raghu's full-sized avatar
🐲
Working from home

Pravir Raghu prav-raghu

🐲
Working from home
View GitHub Profile
@prav-raghu
prav-raghu / mouse-jiggler.ps1
Created June 7, 2026 08:45
Make your mouse jiggle
# ============================================================
# MouseJiggler.ps1
# v4 - Now with -ShakeMode for a full screen sweep
# ============================================================
param(
[int]$IntervalSeconds = 30,
[int]$JigglePixels = 2,
[switch]$ShakeMode,
[int]$ShakeDistancePx = 200,
[int]$ShakeSteps = 20,
@prav-raghu
prav-raghu / create-daily-folder.ps1
Created June 7, 2026 08:45
Create a folder in a windows system with the current date into the downloads folder
# Get the path to the Downloads folder
$downloadsPath = [System.IO.Path]::Combine([System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::UserProfile), 'Downloads')
# Get the current date in 'dd-MM-yyyy' format
$today = (Get-Date).ToString("dd-MM-yyyy")
# Define the new folder path
$newFolderPath = Join-Path -Path $downloadsPath -ChildPath $today
# Check if the folder already exists; if not, create it