-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a31778e
commit bfd4cad
Showing
13 changed files
with
723 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="lib" path="lib/json_simple-1.1.jar"/> | ||
<classpathentry kind="lib" path="lib/commons-codec-1.8.jar"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>gfw.press</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@ECHO OFF | ||
CD /D %~dp0 | ||
|
||
REM ECHO @ECHO OFF > %USERPROFILE%\Desktop\GFW.Press.bat | ||
REM ECHO @CALL %~dp0client.bat >> %USERPROFILE%\Desktop\GFW.Press.bat | ||
|
||
setLocal EnableDelayedExpansion | ||
for /R .\lib %%A in (*.jar) do ( | ||
set JARPATH=%%A;!JARPATH! | ||
) | ||
@START /B jre\bin\javaw -Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8 -Duser.timezone=Asia/Shanghai -Xms256M -Xmx256M -Xmn192M -classpath !JARPATH!.\bin\ press.gfw.Windows >> client.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"ServerHost":"69.30.201.106","ServerPort":"","ProxyPort":"3128","Password":""} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cd `dirname $0` | ||
|
||
_java="java -Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8 -Duser.timezone=Asia/Shanghai -Xms256M -Xmx256M -Xmn192M -classpath `find ./lib/*.jar | xargs echo | sed 's/ /:/g'`:./bin" | ||
|
||
_pack="press.gfw" | ||
|
||
$_java $_pack.Windows >> client.log |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
欢迎使用 GFW.Press 软件 | ||
|
||
请访问 http://gfw.press 获取连接配置信息 | ||
|
||
配置填写完成,点击“确定”按钮 | ||
|
||
设置浏览器代理,地址: 127.0.0.1 端口: 3128 | ||
|
||
请访问 http://twitter.com/chinashiyu 发表意见及建议 | ||
|
||
祝您好运 | ||
|
||
chinashiyu | ||
|
||
2016-04-15 23:23:00 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@ECHO OFF | ||
|
||
CD /D %~dp0 | ||
|
||
setLocal EnableDelayedExpansion | ||
|
||
for /R .\lib %%A in (*.jar) do ( | ||
set JARPATH=%%A;!JARPATH! | ||
) | ||
|
||
%JAVA_HOME%\bin\java -Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8 -Duser.timezone=Asia/Shanghai -Xmn1024M -Xms1280M -Xmx1280M -classpath !JARPATH!.\bin\ press.gfw.Server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cd `dirname $0` | ||
|
||
#gfw.press server configure -Xmn16G -Xms20G -Xmx20G | ||
_java="java -Dfile.encoding=utf-8 -Dsun.jnu.encoding=utf-8 -Duser.timezone=Asia/Shanghai -Xmn1024M -Xms1280M -Xmx1280M -classpath `find ./lib/*.jar | xargs echo | sed 's/ /:/g'`:./bin" | ||
|
||
_pack="press.gfw" | ||
|
||
nohup $_java $_pack.Server >> server.log & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
10006 ChangeMe1 | ||
10007 ChangeMe2 | ||
10008 ChangeMe3 |