Skip to content

Instantly share code, notes, and snippets.

@stolnikov
Created August 6, 2018 17:19
Show Gist options
  • Save stolnikov/6461e6f8abc6a0894b184387d1536e38 to your computer and use it in GitHub Desktop.
Save stolnikov/6461e6f8abc6a0894b184387d1536e38 to your computer and use it in GitHub Desktop.
jb
1)
cd /opt/PhpStorm-181.4892.97/bin
2)
sudo cp ~/Activation/JetbrainsCrack.jar .
3)
sudo mv JetbrainsCrack.jar jb.jar
4)
exelero@ubuntudev:/opt/PhpStorm-181.4892.97/bin$ su root
Password:
root@ubuntudev:/opt/PhpStorm-181.4892.97/bin# sudo echo "-javaagent:${PWD}/jb.jar" >> ./phpstorm64.vmoptions
root@ubuntudev:/opt/PhpStorm-181.4892.97/bin# cat ./phpstorm64.vmoptions
-Xms128m
-Xmx750m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
-javaagent:/opt/PhpStorm-181.4892.97/bin/jb.jar
root@ubuntudev:/opt/PhpStorm-181.4892.97/bin# ls -la
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment