Skip to content

Instantly share code, notes, and snippets.

View windoze95's full-sized avatar
🐿️
touching grass

Julian DiCesare windoze95

🐿️
touching grass
View GitHub Profile
@windoze95
windoze95 / till_brooklyn.ps1
Last active July 10, 2025 19:01
A no sleep script for Windows that moves the cursor in the shape of a heart every 118s
<# --------------------------------------------------------------------
No Sleep v2.2 - 2025
- Moves the cursor in the shape of a heart every 118s.
- Pauses after a set time of true user absence to allow the computer to sleep.
- Default pause time is 2 hours, but can be overridden with an argument (e.g., .\script.ps1 1.5).
- Designed to work in locked-down corporate environments, avoids the use of external DLLs or WMI.
-------------------------------------------------------------------- #>
#region -- WIN32 API HELPERS (Idle Time & Mouse Nudge) --
@windoze95
windoze95 / awesome-coins.lua
Last active June 30, 2025 05:51
Fetch cryptocurrency ticker data for Awesome WM widget
local json = require("json")
function command(cmd, raw)
local f = assert(io.popen(cmd, 'r'))
local s = assert(f:read('*a'))
f:close()
if raw then return s end
s = string.gsub(s, '^%s+', '')
s = string.gsub(s, '%s+$', '')
s = string.gsub(s, '[\n\r]+', ' ')