Skip to content

Instantly share code, notes, and snippets.

View Promise-Kr's full-sized avatar

Zhenyu Zhou Promise-Kr

View GitHub Profile
@Promise-Kr
Promise-Kr / jetbrains.sh
Created May 13, 2026 07:30 — forked from Brugarolas/jetbrains.sh
Reset the free trial period in JetBrains products for Mac
#!/bin/bash
if [ "$1" = "--prepare-env" ]; then
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
mkdir -p ~/Scripts
echo "Copying the script to $HOME/Scripts"
cp -rf $DIR/runme.sh ~/Scripts/jetbrains-reset.sh
chmod +x ~/Scripts/jetbrains-reset.sh