Created
July 17, 2025 20:46
-
-
Save David7ce/fe269ddfb152d99abf11cae87e9aaf3b to your computer and use it in GitHub Desktop.
Revisions
-
h3ssan revised this gist
Jul 3, 2024 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,4 +29,9 @@ done echo "Removing userPrefs files..." rm -rf ~/.java/.userPrefs 2> /dev/null ``` If not works on Mac OS, then run the following code: ```sh rm -rf ~/Library/Preferences/com.apple.java.util.prefs.plist ``` -
h3ssan renamed this gist
May 10, 2022 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
h3ssan created this gist
Sep 7, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ In some cases, only these lines will work ```sh for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine; do rm -rf ~/.config/$product*/eval 2> /dev/null rm -rf ~/.config/JetBrains/$product*/eval 2> /dev/null done ``` But if not, try these ```sh for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine; do echo "[+] Resetting trial period for $product" echo "[+] Removing Evaluation Key..." rm -rf ~/.config/$product*/eval 2> /dev/null # Above path not working on latest version, Fixed below rm -rf ~/.config/JetBrains/$product*/eval 2> /dev/null echo "[+] Removing all evlsprt properties in options.xml..." sed -i 's/evlsprt//' ~/.config/$product*/options/other.xml 2> /dev/null # Above path not working on latest version, Fixed below sed -i 's/evlsprt//' ~/.config/JetBrains/$product*/options/other.xml 2> /dev/null echo done echo "Removing userPrefs files..." rm -rf ~/.java/.userPrefs 2> /dev/null ```