Skip to content

Instantly share code, notes, and snippets.

View anonymoustafa's full-sized avatar

Mostafa Ramezani anonymoustafa

View GitHub Profile
@anonymoustafa
anonymoustafa / JetBrains trial reset.md
Last active July 19, 2024 10:01 — forked from h3ssan/JetBrains trial reset.md
Reset all JetBrains products trial in Linux

In some cases, only these lines will work

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

@anonymoustafa
anonymoustafa / git_create_orphan.sh
Created September 4, 2020 16:33 — forked from seanbuscay/git_create_orphan.sh
Create an orphan branch in a repo.
cd repository
git checkout --orphan orphan_name
git rm -rf .
rm '.gitignore'
echo "#Title of Readme" > README.md
git add README.md
git commit -a -m "Initial Commit"
git push origin orphan_name