Skip to content

Instantly share code, notes, and snippets.

@finesse-fingers
Last active January 30, 2024 04:18
Show Gist options
  • Select an option

  • Save finesse-fingers/d0f7c8806e24568815cb67727486d41e to your computer and use it in GitHub Desktop.

Select an option

Save finesse-fingers/d0f7c8806e24568815cb67727486d41e to your computer and use it in GitHub Desktop.

Revisions

  1. finesse-fingers revised this gist Jan 30, 2024. No changes.
  2. finesse-fingers created this gist Jan 30, 2024.
    7 changes: 7 additions & 0 deletions coffee.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    python -m pip install pyautogui --quiet

    echo "Making an oat latte with 2 sugars..."
    echo "Drinking..."
    echo "Press ctrl+c to stop drinking..."

    python -c "import pyautogui, time; [(pyautogui.press('shift'), time.sleep(59)) for _ in iter(int, 1)]"