Skip to content

Instantly share code, notes, and snippets.

View wdcurry's full-sized avatar
💭
buidling like a champ

drew.. wdcurry

💭
buidling like a champ
  • DigitalNomadia
View GitHub Profile
@wdcurry
wdcurry / checkLaptop.sh
Created August 22, 2025 14:31
Simple script to summarize your mac's logs for sleep/wake cycles over the last 7 days. VERY important if you travel with your laptop, and if you use a protective screen cover on it. You may be inadvertently causing undue stress to your beloved companion as the lid might not be shut tight.
#!/bin/bash
# Usage: ./checkLaptop.sh [days]
# createdy by drew curry, aug22-cv05
# ------
# Simple script to summarize your mac's logs for sleep/wake cycles over the last 7 days.
# VERY important if you travel with your laptop, and if you use a protective screen cover on it.
# You may be inadvertently causing undue stress to your beloved companion as the lid might not be shut tight.
# Don't forget to "chmod +x checkLaptop.sh" to make this executable, then "./checkLaptop.sh to run it (in the same folder)
# ------

Keybase proof

I hereby claim:

  • I am wdcurry on github.
  • I am apestaking (https://keybase.io/apestaking) on keybase.
  • I have a public key ASAT2scbz5WhXB7BoQ-Gx2b0bbFZ0H1RCuDU8Iv32PAS0Qo

To claim this, I am signing this object: