Skip to content

Commit 5c3d4ed

Browse files
committedJul 10, 2021
update
1 parent 1fdf29e commit 5c3d4ed

File tree

6 files changed

+66
-3
lines changed

6 files changed

+66
-3
lines changed
 

‎.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Enable syntax highlighting for files with `.gitattributes` extensions.
55
*.gitattributes linguist-language=gitattributes
66
# Auto detect text files and perform LF normalization
7+
*.cmd text linguist-language=batch working-tree-encoding=GB2312 eol=crlf
78
*.bat text linguist-language=batch working-tree-encoding=GB2312 eol=crlf
89
*.psl text linguist-language=PowerShell working-tree-encoding=GB2312 eol=crlf
910
*.vbs text linguist-language=Visual-Basic-Script working-tree-encoding=GB2312 eol=crlf
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/sh
2+
# reset jetbrains ide evals
3+
4+
OS_NAME=$(uname -s)
5+
JB_PRODUCTS="IntelliJIdea CLion PhpStorm GoLand PyCharm WebStorm Rider DataGrip RubyMine AppCode"
6+
7+
if [ $OS_NAME == "Darwin" ]; then
8+
echo 'macOS:'
9+
10+
for PRD in $JB_PRODUCTS; do
11+
rm -rf ~/Library/Preferences/${PRD}*/eval
12+
rm -rf ~/Library/Application\ Support/JetBrains/${PRD}*/eval
13+
done
14+
elif [ $OS_NAME == "Linux" ]; then
15+
echo 'Linux:'
16+
17+
for PRD in $JB_PRODUCTS; do
18+
rm -rf ~/.${PRD}*/config/eval
19+
rm -rf ~/.config/${PRD}*/eval
20+
done
21+
else
22+
echo 'unsupport'
23+
exit
24+
fi
25+
26+
echo 'done.'
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Set oShell = CreateObject("WScript.Shell")
2+
Set oFS = CreateObject("Scripting.FileSystemObject")
3+
sHomeFolder = oShell.ExpandEnvironmentStrings("%USERPROFILE%")
4+
sJBDataFolder = oShell.ExpandEnvironmentStrings("%APPDATA%") + "\JetBrains"
5+
6+
Set re = New RegExp
7+
re.Global = True
8+
re.IgnoreCase = True
9+
re.Pattern = "\.?(IntelliJIdea|GoLand|CLion|PyCharm|DataGrip|RubyMine|AppCode|PhpStorm|WebStorm|Rider).*"
10+
11+
Sub removeEval(ByVal file, ByVal sEvalPath)
12+
bMatch = re.Test(file.Name)
13+
If Not bMatch Then
14+
Exit Sub
15+
End If
16+
17+
If oFS.FolderExists(sEvalPath) Then
18+
oFS.DeleteFolder sEvalPath, True
19+
End If
20+
End Sub
21+
22+
If oFS.FolderExists(sHomeFolder) Then
23+
For Each oFile In oFS.GetFolder(sHomeFolder).SubFolders
24+
removeEval oFile, sHomeFolder + "\" + oFile.Name + "\config\eval"
25+
Next
26+
End If
27+
28+
If oFS.FolderExists(sJBDataFolder) Then
29+
For Each oFile In oFS.GetFolder(sJBDataFolder).SubFolders
30+
removeEval oFile, sJBDataFolder + "\" + oFile.Name + "\eval"
31+
Next
32+
End If
33+
34+
MsgBox "done"

‎IDE/Git安装与问题.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
* [https://github.com/TortoiseGit](https://github.com/TortoiseGit)
2323
* [https://gitlab.com/tortoisegit/tortoisegit](https://gitlab.com/tortoisegit/tortoisegit)
2424
* [https://tortoisegit.org/download](https://tortoisegit.org/download)
25-
25+
* SmartGit 是一款优秀的图形化Git仓库管理工具;
26+
* SmartSVN 是一款优秀的图形化SVN仓库管理工具
2627

2728
- Java实现 [https://github.com/eclipse/jgit](https://github.com/eclipse/jgit)
2829
- [https://github.com/centic9/jgit-cookbook](https://github.com/centic9/jgit-cookbook)

‎IDE/IDEA使用.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
+ [https://github.com/JetBrains](https://github.com/JetBrains)
1010
+ [https://www.jetbrains.com/products.html#type=ide](https://www.jetbrains.com/products.html#type=ide)
11-
+ [https://github.com/judasn/IntelliJ-IDEA-Tutorial](https://github.com/judasn/IntelliJ-IDEA-Tutorial)
11+
+ 简体中文专题教程 [https://github.com/judasn/IntelliJ-IDEA-Tutorial](https://github.com/judasn/IntelliJ-IDEA-Tutorial)
1212

1313
- [教育邮箱免费申请JetBrains教育许可证](https://mp.weixin.qq.com/s/XFoOBeTaBwBAsRgadxMLfQ)
1414
- [JetBrains全系列软件激活教程激活码以及JetBrains系列软件汉化包](https://www.fuocu.cn/archives/jetbrains-crack)
15-
- [JetBrains 系列软件汉化包](https://github.com/pingfangx/TranslatorX)
15+
- [JetBrains 2019.3系列软件汉化包](https://github.com/pingfangx/TranslatorX)
1616

1717
* [IntelliJ IDEA神器使用技巧](https://www.imooc.com/learn/924)
1818
* [IDEA的基本使用:让你的IDEA有飞一般的感觉](https://blog.csdn.net/fly910905/article/details/77868300)

‎IDE/IDEA插件.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
* [https://github.com/gejun123456/MyBatisCodeHelper-Pro](https://github.com/gejun123456/MyBatisCodeHelper-Pro)
3737
* [MybatisCodeHelperPro试用key获取](http://brucege.com/pay/getfreetrial?)
3838
* [https://zhile.io/categories/software-debug](https://zhile.io/categories/software-debug)
39+
* [Jetbrains系列产品重置试用方法](https://zhile.io/2020/11/18/jetbrains-eval-reset-da33a93d.html)
3940

4041
![](https://upload-images.jianshu.io/upload_images/11962894-7690faea398dd0c6.gif)
4142

0 commit comments

Comments
 (0)
Please sign in to comment.