Skip to content

Instantly share code, notes, and snippets.

View mfedatto's full-sized avatar
💾
Going self-hosted

MFedatto mfedatto

💾
Going self-hosted
  • NTT Data
  • São Paulo, SP, Brasil
  • 21:29 (UTC -03:00)
View GitHub Profile
@mfedatto
mfedatto / noSleep.vbs
Last active September 18, 2025 19:57 — forked from valdergallo/noSleep.vbs
Script to make windows stop to sleep using VBscript
Dim objWScript : Set objWScript = CreateObject("WScript.Shell")
Dim blnConsole : blnConsole = False
Dim dtmStartedAt : dtmStartedAt = Now()
If InStr(1, WScript.FullName, "cscript", vbTextCompare) Then
blnConsole = True
End If