Skip to content

Instantly share code, notes, and snippets.

View selvalogesh's full-sized avatar
🏠
Working from home

Selva Logesh selvalogesh

🏠
Working from home
  • India
View GitHub Profile
@selvalogesh
selvalogesh / keepSysAwake.ps1
Last active March 24, 2026 06:12
A system tray app for windows using Power shell script to keep your system awake.
#Thanks to - https://github.com/damienvanrobaeys/Build-PS1-Systray-Tool
# - https://www.systanddeploy.com/2018/12/create-your-own-powershell.html
# - https://stackoverflow.com/questions/54649456/powershell-notifyicon-context-menu
# - https://adamtheautomator.com/powershell-async/
# Re-launch hidden via powershell.exe to bypass Windows Terminal
if (-not ($env:AWAKE_HIDDEN -eq '1')) {
$env:AWAKE_HIDDEN = '1'
Start-Process powershell.exe -ArgumentList "-WindowStyle Hidden -ExecutionPolicy Unrestricted -File `"$PSCommandPath`"" -WindowStyle Hidden
exit
@selvalogesh
selvalogesh / Dockerfile
Last active December 31, 2023 15:34
Ubuntu development environment for vs-code container isolated development
FROM ubuntu:latest
# Install base dependencies
RUN apt-get update \
&& apt-get install -y -q --no-install-recommends \
apt-transport-https \
build-essential \
ca-certificates \
curl \
git \
libssl-dev \