Skip to content

Instantly share code, notes, and snippets.

View shurajcodx's full-sized avatar
:octocat:

Shuraj Shampang shurajcodx

:octocat:
View GitHub Profile
@shurajcodx
shurajcodx / jetbrain_2020_trial_reset.sh
Created February 9, 2021 05:30
Reset Jetbrains Intellij IDE , WebStorm, PHPStorm - Work 2020.x.x and above version evaluation [Linux]
#!/bin/bash
# Intellij 2020.*
echo "Removing evaluation key for Intellij"
rm $HOME/.config/JetBrains/IntelliJIdea*/eval/*.key
rm $HOME/.config/JetBrains/IntelliJIdea*/options/other.xml
# PHPStorm 2020.*
echo "Removing evaluation key for PHPStorm"
rm $HOME/.config/JetBrains/PhpStorm*/eval/*.key
@shurajcodx
shurajcodx / jetbrains_trial_reset.sh
Last active September 25, 2024 14:57
reset jetbrains Intellij IDE , WebStorm, PHPStorm - Work 2019.x.x and above vesion evaluation [Linux]
success=false
if [ "$(date +'%d')" = "12" ]; then
# Intellij
ijKeyPath=$HOME/.IntelliJIdea*/config/eval/*.key
ijConfigPath=$HOME/.IntelliJIdea*/config/options/other.xml
if test -f "$ijKeyPath"; then
echo "Resetting Intellij"
rm $ijKeyPath
rm $ijConfigPath