Skip to content

Commit

Permalink
Added files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
chinashiyu committed Apr 16, 2016
1 parent a31778e commit bfd4cad
Show file tree
Hide file tree
Showing 13 changed files with 723 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .classpath
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>
17 changes: 17 additions & 0 deletions .project
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>
11 changes: 11 additions & 0 deletions client.bat
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
1 change: 1 addition & 0 deletions client.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ServerHost":"69.30.201.106","ServerPort":"","ProxyPort":"3128","Password":""}
7 changes: 7 additions & 0 deletions client.sh
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
640 changes: 640 additions & 0 deletions license.txt

Large diffs are not rendered by default.

Binary file added logo.ico
Binary file not shown.
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions readme.txt
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

11 changes: 11 additions & 0 deletions server.bat
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
8 changes: 8 additions & 0 deletions server.sh
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 &
Binary file added tech.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions user.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
10006 ChangeMe1
10007 ChangeMe2
10008 ChangeMe3

0 comments on commit bfd4cad

Please sign in to comment.