diff --git a/jetbra/block_url_keywords b/jetbra/block_url_keywords new file mode 100644 index 0000000..c1df1b1 --- /dev/null +++ b/jetbra/block_url_keywords @@ -0,0 +1,2 @@ +https://account.jetbrains.com/lservice/rpc/validateKey.action +116.62.33.138 \ No newline at end of file diff --git a/jetbra/jetbra-agent.jar b/jetbra/jetbra-agent.jar new file mode 100644 index 0000000..061cbee Binary files /dev/null and b/jetbra/jetbra-agent.jar differ diff --git a/jetbra/script/install-all-users.vbs b/jetbra/script/install-all-users.vbs new file mode 100644 index 0000000..3ea5e4f --- /dev/null +++ b/jetbra/script/install-all-users.vbs @@ -0,0 +1,73 @@ +If Not WScript.Arguments.Named.Exists("elevate") Then + CreateObject("Shell.Application").ShellExecute WScript.FullName, """" & WScript.ScriptFullName & """ /elevate", "", "runas", 10 + WScript.Quit +End If + +Set oShell = CreateObject("WScript.Shell") +Set oEnvSystem = oShell.Environment("SYSTEM") +Set oFS = CreateObject("Scripting.FileSystemObject") + +Dim sBasePath, sJarFile +sBasePath = oFS.GetParentFolderName(oFS.GetParentFolderName(WScript.ScriptFullName)) +sJarFile = sBasePath & "\jetbra-agent.jar" + +If Not oFS.FileExists(sJarFile) Then + MsgBox "jetbra-agent.jar not found", vbOKOnly Or vbCritical + WScript.Quit -1 +End If + +MsgBox "It may take a few seconds to execute this script." & vbCrLf & vbCrLf & "Click 'OK' button and wait for the prompt of 'Done.' to pop up!" + +Dim sEnvKey, sEnvVal, aJBProducts +aJBProducts = Array("idea", "clion", "phpstorm", "goland", "pycharm", "webstorm", "webide", "rider", "datagrip", "rubymine", "appcode", "dataspell", "gateway", "jetbrains_client", "jetbrainsclient", "studio", "devecostudio") + +Set re = New RegExp +re.Global = True +re.IgnoreCase = True +re.Pattern = "^\-javaagent:.*[\/\\]jetbra\-agent\.jar.*" + +Sub RemoveEnv(env) + On Error Resume Next + + For Each sPrd in aJBProducts + sEnvKey = UCase(sPrd) & "_VM_OPTIONS" + sEnvVal = oShell.ExpandEnvironmentStrings("%" & sEnvKey & "%") + If sEnvVal <> ("%" & sEnvKey & "%") Then + env.Remove(sEnvKey) + End If + Next +End Sub + +RemoveEnv oShell.Environment("USER") + +Dim sVmOptionsFile +For Each sPrd in aJBProducts + sEnvKey = UCase(sPrd) & "_VM_OPTIONS" + sVmOptionsFile = sBasePath & "\vmoptions\" & sPrd & ".vmoptions" + If oFS.FileExists(sVmOptionsFile) Then + ProcessVmOptions sVmOptionsFile + oEnvSystem(sEnvKey) = sVmOptionsFile + End If +Next + +Sub ProcessVmOptions(ByVal file) + Dim sLine, sNewContent, bMatch + Set oFile = oFS.OpenTextFile(file, 1, 0) + + sNewContent = "" + Do Until oFile.AtEndOfStream + sLine = oFile.ReadLine + bMatch = re.Test(sLine) + If Not bMatch Then + sNewContent = sNewContent & sLine & vbLf + End If + Loop + oFile.Close + + sNewContent = sNewContent & "-javaagent:" & sJarFile + Set oFile = oFS.OpenTextFile(file, 2, 0) + oFile.Write sNewContent + oFile.Close +End Sub + +MsgBox "Done." diff --git a/jetbra/script/install-current-user.vbs b/jetbra/script/install-current-user.vbs new file mode 100644 index 0000000..a984aa2 --- /dev/null +++ b/jetbra/script/install-current-user.vbs @@ -0,0 +1,54 @@ +Set oShell = CreateObject("WScript.Shell") +Set oEnv = oShell.Environment("USER") +Set oFS = CreateObject("Scripting.FileSystemObject") + +Dim sEnvKey, sEnvVal, aJBProducts +aJBProducts = Array("idea", "clion", "phpstorm", "goland", "pycharm", "webstorm", "webide", "rider", "datagrip", "rubymine", "appcode", "dataspell", "gateway", "jetbrains_client", "jetbrainsclient", "studio", "devecostudio") + +Set re = New RegExp +re.Global = True +re.IgnoreCase = True +re.Pattern = "^\-javaagent:.*[\/\\]jetbra\-agent\.jar.*" + +Dim sBasePath, sJarFile +sBasePath = oFS.GetParentFolderName(oShell.CurrentDirectory) +sJarFile = sBasePath & "\jetbra-agent.jar" + +If Not oFS.FileExists(sJarFile) Then + MsgBox "jetbra-agent.jar not found", vbOKOnly Or vbCritical + WScript.Quit -1 +End If + +MsgBox "It may take a few seconds to execute this script." & vbCrLf & vbCrLf & "Click 'OK' button and wait for the prompt of 'Done.' to pop up!" + +Dim sVmOptionsFile +For Each sPrd in aJBProducts + sEnvKey = UCase(sPrd) & "_VM_OPTIONS" + sVmOptionsFile = sBasePath & "\vmoptions\" & sPrd & ".vmoptions" + If oFS.FileExists(sVmOptionsFile) Then + ProcessVmOptions sVmOptionsFile + oEnv(sEnvKey) = sVmOptionsFile + End If +Next + +Sub ProcessVmOptions(ByVal file) + Dim sLine, sNewContent, bMatch + Set oFile = oFS.OpenTextFile(file, 1, 0) + + sNewContent = "" + Do Until oFile.AtEndOfStream + sLine = oFile.ReadLine + bMatch = re.Test(sLine) + If Not bMatch Then + sNewContent = sNewContent & sLine & vbLf + End If + Loop + oFile.Close + + sNewContent = sNewContent & "-javaagent:" & sJarFile + Set oFile = oFS.OpenTextFile(file, 2, 0) + oFile.Write sNewContent + oFile.Close +End Sub + +MsgBox "Done." diff --git a/jetbra/script/install.sh b/jetbra/script/install.sh new file mode 100644 index 0000000..7c3944d --- /dev/null +++ b/jetbra/script/install.sh @@ -0,0 +1,91 @@ +#!/bin/sh + +set -e + +OS_NAME=$(uname -s) +JB_PRODUCTS="idea clion phpstorm goland pycharm webstorm webide rider datagrip rubymine appcode dataspell gateway jetbrains_client jetbrainsclient studio devecostudio" + +BASE_PATH=$(dirname $( + cd $(dirname "$0") + pwd +)) + +JAR_FILE_PATH="${BASE_PATH}/jetbra-agent.jar" + +if [ ! -f "${JAR_FILE_PATH}" ]; then + echo 'jetbra-agent.jar not found' + exit -1 +fi + +KDE_ENV_DIR="${HOME}/.config/plasma-workspace/env" +LAUNCH_AGENTS_DIR="${HOME}/Library/LaunchAgents" + +PROFILE_PATH="${HOME}/.profile" +ZSH_PROFILE_PATH="${HOME}/.zshrc" +PLIST_PATH="${LAUNCH_AGENTS_DIR}/jetbrains.vmoptions.plist" + +if [ $OS_NAME = "Darwin" ]; then + BASH_PROFILE_PATH="${HOME}/.bash_profile" + + mkdir -p "${LAUNCH_AGENTS_DIR}" + echo 'Labeljetbrains.vmoptionsProgramArgumentssh-c' >"${PLIST_PATH}" +else + BASH_PROFILE_PATH="${HOME}/.bashrc" + mkdir -p "${KDE_ENV_DIR}" +fi + +touch "${PROFILE_PATH}" +touch "${BASH_PROFILE_PATH}" +touch "${ZSH_PROFILE_PATH}" + +MY_VMOPTIONS_SHELL_NAME="jetbrains.vmoptions.sh" +MY_VMOPTIONS_SHELL_FILE="${HOME}/.${MY_VMOPTIONS_SHELL_NAME}" +echo '#!/bin/sh' >"${MY_VMOPTIONS_SHELL_FILE}" + +EXEC_LINE='___MY_VMOPTIONS_SHELL_FILE="${HOME}/.jetbrains.vmoptions.sh"; if [ -f "${___MY_VMOPTIONS_SHELL_FILE}" ]; then . "${___MY_VMOPTIONS_SHELL_FILE}"; fi' + +for PRD in $JB_PRODUCTS; do + VM_FILE_PATH="${BASE_PATH}/vmoptions/${PRD}.vmoptions" + if [ ! -f "${VM_FILE_PATH}" ]; then + continue + fi + + if [ $OS_NAME = "Darwin" ]; then + sed -i '' '/^\-javaagent:.*[\/\\]jetbra\-agent\.jar.*/d' "${VM_FILE_PATH}" + else + sed -i '/^\-javaagent:.*[\/\\]jetbra\-agent\.jar.*/d' "${VM_FILE_PATH}" + fi + + echo "-javaagent:${JAR_FILE_PATH}" >>"${VM_FILE_PATH}" + + ENV_NAME=$(echo $PRD | tr '[a-z]' '[A-Z]')"_VM_OPTIONS" + echo "export ${ENV_NAME}=\"${VM_FILE_PATH}\"" >>"${MY_VMOPTIONS_SHELL_FILE}" + + if [ $OS_NAME = "Darwin" ]; then + launchctl setenv "${ENV_NAME}" "${VM_FILE_PATH}" + echo "launchctl setenv \"${ENV_NAME}\" \"${VM_FILE_PATH}\"" >>"${PLIST_PATH}" + fi +done + +if [ $OS_NAME = "Darwin" ]; then + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${PROFILE_PATH}" >/dev/null 2>&1 + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${BASH_PROFILE_PATH}" >/dev/null 2>&1 + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${ZSH_PROFILE_PATH}" >/dev/null 2>&1 + + echo 'RunAtLoad' >>"${PLIST_PATH}" +else + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${PROFILE_PATH}" >/dev/null 2>&1 + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${BASH_PROFILE_PATH}" >/dev/null 2>&1 + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${ZSH_PROFILE_PATH}" >/dev/null 2>&1 +fi + +echo "${EXEC_LINE}" >>"${PROFILE_PATH}" +echo "${EXEC_LINE}" >>"${BASH_PROFILE_PATH}" +echo "${EXEC_LINE}" >>"${ZSH_PROFILE_PATH}" + +if [ $OS_NAME = "Darwin" ]; then + echo 'done. the "kill Dock" command can fix the crash issue.' +else + ln -sf "${MY_VMOPTIONS_SHELL_FILE}" "${KDE_ENV_DIR}/${MY_VMOPTIONS_SHELL_NAME}" + echo "done. you'd better log off first!" +fi diff --git a/jetbra/script/uninstall-all-users.vbs b/jetbra/script/uninstall-all-users.vbs new file mode 100644 index 0000000..e1be5e0 --- /dev/null +++ b/jetbra/script/uninstall-all-users.vbs @@ -0,0 +1,28 @@ +If Not WScript.Arguments.Named.Exists("elevate") Then + CreateObject("Shell.Application").ShellExecute WScript.FullName, """" & WScript.ScriptFullName & """ /elevate", "", "runas", 10 + WScript.Quit +End If + +MsgBox "It may take a few seconds to execute this script." & vbCrLf & vbCrLf & "Click 'OK' button and wait for the prompt of 'Done.' to pop up!" + +Sub RemoveEnv(env) + On Error Resume Next + + Dim sEnvKey, sEnvVal, aJBProducts + aJBProducts = Array("idea", "clion", "phpstorm", "goland", "pycharm", "webstorm", "webide", "rider", "datagrip", "rubymine", "appcode", "dataspell", "gateway", "jetbrains_client", "jetbrainsclient", "studio", "devecostudio") + + For Each sPrd in aJBProducts + sEnvKey = UCase(sPrd) & "_VM_OPTIONS" + sEnvVal = oShell.ExpandEnvironmentStrings("%" & sEnvKey & "%") + If sEnvVal <> ("%" & sEnvKey & "%") Then + env.Remove(sEnvKey) + End If + Next +End Sub + +Set oShell = CreateObject("WScript.Shell") + +RemoveEnv oShell.Environment("USER") +RemoveEnv oShell.Environment("SYSTEM") + +MsgBox "Done." diff --git a/jetbra/script/uninstall-current-user.vbs b/jetbra/script/uninstall-current-user.vbs new file mode 100644 index 0000000..34be3f1 --- /dev/null +++ b/jetbra/script/uninstall-current-user.vbs @@ -0,0 +1,17 @@ +Set oShell = CreateObject("WScript.Shell") +Set oEnv = oShell.Environment("USER") + +Dim sEnvKey, sEnvVal, aJBProducts +aJBProducts = Array("idea", "clion", "phpstorm", "goland", "pycharm", "webstorm", "webide", "rider", "datagrip", "rubymine", "appcode", "dataspell", "gateway", "jetbrains_client", "jetbrainsclient", "studio", "devecostudio") + +MsgBox "It may take a few seconds to execute this script." & vbCrLf & vbCrLf & "Click 'OK' button and wait for the prompt of 'Done.' to pop up!" + +For Each sPrd in aJBProducts + sEnvKey = UCase(sPrd) & "_VM_OPTIONS" + sEnvVal = oShell.ExpandEnvironmentStrings("%" & sEnvKey & "%") + If sEnvVal <> ("%" & sEnvKey & "%") Then + oEnv.Remove(sEnvKey) + End If +Next + +MsgBox "Done." diff --git a/jetbra/script/uninstall.sh b/jetbra/script/uninstall.sh new file mode 100644 index 0000000..4de2fce --- /dev/null +++ b/jetbra/script/uninstall.sh @@ -0,0 +1,50 @@ +#!/bin/sh + +set -e + +OS_NAME=$(uname -s) +JB_PRODUCTS="idea clion phpstorm goland pycharm webstorm webide rider datagrip rubymine appcode dataspell gateway jetbrains_client jetbrainsclient studio devecostudio" + +KDE_ENV_DIR="${HOME}/.config/plasma-workspace/env" + +PROFILE_PATH="${HOME}/.profile" +ZSH_PROFILE_PATH="${HOME}/.zshrc" +PLIST_PATH="${HOME}/Library/LaunchAgents/jetbrains.vmoptions.plist" + +if [ $OS_NAME = "Darwin" ]; then + BASH_PROFILE_PATH="${HOME}/.bash_profile" +else + BASH_PROFILE_PATH="${HOME}/.bashrc" +fi + +touch "${PROFILE_PATH}" +touch "${BASH_PROFILE_PATH}" +touch "${ZSH_PROFILE_PATH}" + +MY_VMOPTIONS_SHELL_NAME="jetbrains.vmoptions.sh" +MY_VMOPTIONS_SHELL_FILE="${HOME}/.${MY_VMOPTIONS_SHELL_NAME}" + +rm -rf "${MY_VMOPTIONS_SHELL_FILE}" + +if [ $OS_NAME = "Darwin" ]; then + for PRD in $JB_PRODUCTS; do + ENV_NAME=$(echo $PRD | tr '[a-z]' '[A-Z]')"_VM_OPTIONS" + + launchctl unsetenv "${ENV_NAME}" + done + + rm -rf "${PLIST_PATH}" + + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${PROFILE_PATH}" >/dev/null 2>&1 + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${BASH_PROFILE_PATH}" >/dev/null 2>&1 + sed -i '' '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${ZSH_PROFILE_PATH}" >/dev/null 2>&1 + + echo 'done.' +else + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${PROFILE_PATH}" >/dev/null 2>&1 + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${BASH_PROFILE_PATH}" >/dev/null 2>&1 + sed -i '/___MY_VMOPTIONS_SHELL_FILE="${HOME}\/\.jetbrains\.vmoptions\.sh"; if /d' "${ZSH_PROFILE_PATH}" >/dev/null 2>&1 + + rm -rf "${KDE_ENV_DIR}/${MY_VMOPTIONS_SHELL_NAME}" + echo "done. you'd better log off first!" +fi diff --git a/jetbra/trust-crt/janetfilter.crt b/jetbra/trust-crt/janetfilter.crt new file mode 100644 index 0000000..26ec6a0 --- /dev/null +++ b/jetbra/trust-crt/janetfilter.crt @@ -0,0 +1,25 @@ +-----BEGIN CERTIFICATE----- +MIIETDCCAjSgAwIBAgIBDTANBgkqhkiG9w0BAQsFADAYMRYwFAYDVQQDDA1KZXRQ +cm9maWxlIENBMB4XDTIwMTAxOTA5MDU1M1oXDTIyMTAyMTA5MDU1M1owHzEdMBsG +A1UEAwwUcHJvZDJ5LWZyb20tMjAyMDEwMTkwggEiMA0GCSqGSIb3DQEBAQUAA4IB +DwAwggEKAoIBAQCUlaUFc1wf+CfY9wzFWEL2euKQ5nswqb57V8QZG7d7RoR6rwYU +IXseTOAFq210oMEe++LCjzKDuqwDfsyhgDNTgZBPAaC4vUU2oy+XR+Fq8nBixWIs +H668HeOnRK6RRhsr0rJzRB95aZ3EAPzBuQ2qPaNGm17pAX0Rd6MPRgjp75IWwI9e +A6aMEdPQEVN7uyOtM5zSsjoj79Lbu1fjShOnQZuJcsV8tqnayeFkNzv2LTOlofU/ +Tbx502Ro073gGjoeRzNvrynAP03pL486P3KCAyiNPhDs2z8/COMrxRlZW5mfzo0x +sK0dQGNH3UoG/9RVwHG4eS8LFpMTR9oetHZBAgMBAAGjgZkwgZYwCQYDVR0TBAIw +ADAdBgNVHQ4EFgQUJNoRIpb1hUHAk0foMSNM9MCEAv8wSAYDVR0jBEEwP4AUo562 +SGdCEjZBvW3gubSgUouX8bOhHKQaMBgxFjAUBgNVBAMMDUpldFByb2ZpbGUgQ0GC +CQDSbLGDsoN54TATBgNVHSUEDDAKBggrBgEFBQcDATALBgNVHQ8EBAMCBaAwDQYJ +KoZIhvcNAQELBQADggIBABKaDfYJk51mtYwUFK8xqhiZaYPd30TlmCmSAaGJ0eBp +vkVeqA2jGYhAQRqFiAlFC63JKvWvRZO1iRuWCEfUMkdqQ9VQPXziE/BlsOIgrL6R +lJfuFcEZ8TK3syIfIGQZNCxYhLLUuet2HE6LJYPQ5c0jH4kDooRpcVZ4rBxNwddp +ctUO2te9UU5/FjhioZQsPvd92qOTsV+8Cyl2fvNhNKD1Uu9ff5AkVIQn4JU23ozd +B/R5oUlebwaTE6WZNBs+TA/qPj+5/we9NH71WRB0hqUoLI2AKKyiPw++FtN4Su1v +sdDlrAzDj9ILjpjJKA1ImuVcG329/WTYIKysZ1CWK3zATg9BeCUPAV1pQy8ToXOq ++RSYen6winZ2OO93eyHv2Iw5kbn1dqfBw1BuTE29V2FJKicJSu8iEOpfoafwJISX +mz1wnnWL3V/0NxTulfWsXugOoLfv0ZIBP1xH9kmf22jjQ2JiHhQZP7ZDsreRrOeI +Q/c4yR8IQvMLfC0WKQqrHu5ZzXTH4NO3CwGWSlTY74kE91zXB5mwWAx1jig+UXYc +2w4RkVhy0//lOmVya/PEepuuTTI4+UJwC7qbVlh5zfhj8oTNUXgN0AOc+Q0/WFPl +1aw5VV/VrO8FCoB15lFVlpKaQ1Yh+DVU8ke+rt9Th0BCHXe0uZOEmH0nOnH/0onD +-----END CERTIFICATE----- diff --git a/jetbra/trust-crt/jetbra.crt b/jetbra/trust-crt/jetbra.crt new file mode 100644 index 0000000..bd113b7 --- /dev/null +++ b/jetbra/trust-crt/jetbra.crt @@ -0,0 +1,28 @@ +-----BEGIN CERTIFICATE----- +MIIEtTCCAp2gAwIBAgIUDyuccmylba71lZQAQic5TJiAhwwwDQYJKoZIhvcNAQEL +BQAwGDEWMBQGA1UEAwwNSmV0UHJvZmlsZSBDQTAeFw0yMzA5MjkxNDA2MTJaFw0z +MzA5MjcxNDA2MTJaMBExDzANBgNVBAMMBk5vdmljZTCCAiIwDQYJKoZIhvcNAQEB +BQADggIPADCCAgoCggIBALenqcGP2ZxGkYqmKA9c4Hzf8+YD1smvmOxKjd+bmTLr +utM/hXv1cj1rW3/lqyDtdDk7K6W8/TDq1CRrEt+Do6l30DxhAiC34aH8DmGwgq77 +xEoLimvH5LpePxflF+tbB1RZtFgFDOIYLdSQaKFH2JDgVKxhLiV3S6jniPhkCtWW +rTs+E6vq4N15Bm3NnM5AJILqjtUbOjNfaxVq6RrOoTc0R3Fqqo6yvxo/+JYa2UnH +IC+r2dbKuDLMUrtgnydEUdJNX0zH9FtcdELvr48uc9mY038TWUsZUK1pnQbxA2bP +yA4qnYJ9IvUgO6LtLXvGFm137YQMS1N41AHDBOrwoNI8UoDX+qI3rM96biFOFvn7 +Edky7rByzybt3H+zxdojfjvpL1E0NO98BT9zfufHAaAxZtlmDOu5LDJe3CGurnyR +MRExbtc+Qjl1mUh6tG4lakAwdsoxry0GdG72yaYyb9it53kaFks/T/s7Z7bRJzVF +zQDV1Y4bzUtk43vKm2vztBVlQkBkZY5f2Jbe5Ig3b8swQzBnOT0mrL5SPUhwmQ6I +xkEWztj55OEujBMmRr92oESuq9ZYMaeLidKWVR3/++HA8BRZaRGEKtSHZCbFEFdi +hDxxJv9Xh6NuT/ewJ6HYp+0NQpFnUnJ72n8wV+tudpam7aKcdzVmz7cNwOhG2Ls7 +AgMBAAEwDQYJKoZIhvcNAQELBQADggIBAIdeaQfKni7tXtcywC3zJvGzaaj242pS +WB1y40HW8jub0uHjTLsBPX27iA/5rb+rNXtUWX/f2K+DU4IgaIiiHhkDrMsw7piv +azqwA9h7/uA0A5nepmTYf/HY4W6P2stbeqInNsFRZXS7Jg4Q5LgEtHKo/H8USjtV +w9apmE3BCElkXRuelXMsSllpR/JEVv/8NPLmnHSY02q4KMVW2ozXtaAxSYQmZswy +P1YnBcnRukoI4igobpcKQXwGoQCIUlec8LbFXYM9V2eNCwgABqd4r67m7QJq31Y/ +1TJysQdMH+hoPFy9rqNCxSq3ptpuzcYAk6qVf58PrrYH/6bHwiYPAayvvdzNPOhM +9OCwomfcazhK3y7HyS8aBLntTQYFf7vYzZxPMDybYTvJM+ClCNnVD7Q9fttIJ6eM +XFsXb8YK1uGNjQW8Y4WHk1MCHuD9ZumWu/CtAhBn6tllTQWwNMaPOQvKf1kr1Kt5 +etrONY+B6O+Oi75SZbDuGz7PIF9nMPy4WB/8XgKdVFtKJ7/zLIPHgY8IKgbx/VTz +6uBhYo8wOf3xzzweMnn06UcfV3JGNvtMuV4vlkZNNxXeifsgzHugCvJX0nybhfBh +fIqVyfK6t0eKJqrvp54XFEtJGR+lf3pBfTdcOI6QFEPKGZKoQz8Ck+BC/WBDtbjc +/uYKczZ8DKZu +-----END CERTIFICATE----- diff --git a/jetbra/vmoptions/appcode.vmoptions b/jetbra/vmoptions/appcode.vmoptions new file mode 100644 index 0000000..c5dddd2 --- /dev/null +++ b/jetbra/vmoptions/appcode.vmoptions @@ -0,0 +1,22 @@ +-Xms512m +-Xmx2g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/clion.vmoptions b/jetbra/vmoptions/clion.vmoptions new file mode 100644 index 0000000..c5dddd2 --- /dev/null +++ b/jetbra/vmoptions/clion.vmoptions @@ -0,0 +1,22 @@ +-Xms512m +-Xmx2g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/datagrip.vmoptions b/jetbra/vmoptions/datagrip.vmoptions new file mode 100644 index 0000000..b0baff9 --- /dev/null +++ b/jetbra/vmoptions/datagrip.vmoptions @@ -0,0 +1,23 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/dataspell.vmoptions b/jetbra/vmoptions/dataspell.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/dataspell.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/devecostudio.vmoptions b/jetbra/vmoptions/devecostudio.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/devecostudio.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/gateway.vmoptions b/jetbra/vmoptions/gateway.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/gateway.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/goland.vmoptions b/jetbra/vmoptions/goland.vmoptions new file mode 100644 index 0000000..c5dddd2 --- /dev/null +++ b/jetbra/vmoptions/goland.vmoptions @@ -0,0 +1,22 @@ +-Xms512m +-Xmx2g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/idea.vmoptions b/jetbra/vmoptions/idea.vmoptions new file mode 100644 index 0000000..5d90ced --- /dev/null +++ b/jetbra/vmoptions/idea.vmoptions @@ -0,0 +1,22 @@ +-Xms512m +-Xmx4g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/jetbrains_client.vmoptions b/jetbra/vmoptions/jetbrains_client.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/jetbrains_client.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/jetbrainsclient.vmoptions b/jetbra/vmoptions/jetbrainsclient.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/jetbrainsclient.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/phpstorm.vmoptions b/jetbra/vmoptions/phpstorm.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/phpstorm.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/pycharm.vmoptions b/jetbra/vmoptions/pycharm.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/pycharm.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/rider.vmoptions b/jetbra/vmoptions/rider.vmoptions new file mode 100644 index 0000000..0611c89 --- /dev/null +++ b/jetbra/vmoptions/rider.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx2991m +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar diff --git a/jetbra/vmoptions/rubymine.vmoptions b/jetbra/vmoptions/rubymine.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/rubymine.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/studio.vmoptions b/jetbra/vmoptions/studio.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/studio.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/webide.vmoptions b/jetbra/vmoptions/webide.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/webide.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file diff --git a/jetbra/vmoptions/webstorm.vmoptions b/jetbra/vmoptions/webstorm.vmoptions new file mode 100644 index 0000000..cf40529 --- /dev/null +++ b/jetbra/vmoptions/webstorm.vmoptions @@ -0,0 +1,22 @@ +-Xms256m +-Xmx1g +-XX:ReservedCodeCacheSize=512m +-XX:+IgnoreUnrecognizedVMOptions +-XX:+UseG1GC +-XX:SoftRefLRUPolicyMSPerMB=50 +-XX:CICompilerCount=2 +-XX:+HeapDumpOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-ea +-Dsun.io.useCanonCaches=false +-Djdk.http.auth.tunneling.disabledSchemes="" +-Djdk.attach.allowAttachSelf=true +-Djdk.module.illegalAccess.silent=true +-Dkotlinx.coroutines.debug=off +-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log +-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof + +--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED +--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED + +-javaagent:C:\Users\E82Y\AppData\Local\JetBrains\JetNew\jetbra-agent.jar \ No newline at end of file