Skip to content

Instantly share code, notes, and snippets.

@alaingilbert
alaingilbert / geforecenow-afk.scpt
Last active March 17, 2025 19:09
GeForceNOW anti anti-afk AppleScript
on GetApplicationCorrespondingToProcess(process_name)
tell application "System Events"
set application_file to file of (application processes where name is process_name)
end tell
return application_file as string
end GetApplicationCorrespondingToProcess
repeat
tell application "System Events"
@alaingilbert
alaingilbert / main.go
Last active March 15, 2023 09:29
chrome webstore downloader
package main
import (
"encoding/binary"
"fmt"
"io"
"net/http"
"net/url"
"os"
"regexp"
@alaingilbert
alaingilbert / main.go
Created January 31, 2024 21:23
quick hack to extract and decode text out of a pdf
package main
import (
"bytes"
"os"
"os/exec"
"regexp"
"strconv"
)