Skip to content

Commit 9b88978

Browse files
author
filecxx
committed
commit
1 parent 0c2f881 commit 9b88978

13 files changed

+645
-347
lines changed
7.93 KB
Loading
38.5 KB
Loading

index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@
2424
</head>
2525
<body>
2626

27-
<a href="en_US/index.html">English</a>
28-
<a href="zh_CN/index.html">简体中文</a>
29-
<a href="ru_RU/index.html">Русский</a>
30-
27+
<h1>File Centipede</h1>
28+
<div>
29+
<a href="en_US/index.html"><h2>English</h2></a>
30+
<a href="zh_CN/index.html"><h2>简体中文</h2></a>
31+
<a href="ru_RU/index.html"><h2>Русский</h2></a>
32+
</div>
3133

3234
</body>
3335
</html>

lang/zh_CN.lang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
download_tips_=TODO:
22
feature_24=翻译工具
33
title_index_=文件蜈蚣
4-
index_meta_keywords_=文件蜈蚣, IDM, BT种子客户端, 下载种子, 网页中下载视频, 最快的下载加速器, 最好的下载工具, linux下载工具, 免费下载工具, transmission, libtorrent, 迅雷替代工具, 无广告下载工具
4+
index_meta_keywords_=文件蜈蚣, IDM, BT种子客户端, 下载种子, 网页中下载视频, 视频嗅探工具, 最快的下载加速器, 最好的下载工具, linux下载工具, 免费下载工具, transmission, libtorrent, 文件蜈蚣下载, 无广告下载工具
55
feature_16=代理管理
66
download_link=下载链接
77
feature_14=限制下载,上传速度

release/filecxx_1.0_linux_x64.zip

-32.8 KB
Binary file not shown.

release/filecxx_1.0_win_x64.zip

-65.7 KB
Binary file not shown.

script/create_filec_address.js

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,49 @@
1-
function create_filec_address(options)
1+
function create_fileu_address(options)
22
{
3+
var base64_reference = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
4+
var base64_encode = function(data)
5+
{
6+
if(typeof data != "string"){
7+
return null;
8+
}
9+
var i = 0;
10+
var ac = 0;
11+
var temp = [];
12+
var o1,o2,o3,h1,h2,h3,h4,bits;
313

14+
do{
15+
o1 = data.charCodeAt(i++);
16+
o2 = data.charCodeAt(i++);
17+
o3 = data.charCodeAt(i++);
18+
19+
bits = o1 << 16 | o2 << 8 | o3;
20+
21+
h1 = bits >> 18 & 0x3f;
22+
h2 = bits >> 12 & 0x3f;
23+
h3 = bits >> 6 & 0x3f;
24+
h4 = bits & 0x3f;
25+
26+
temp[ac++] = base64_reference.charAt(h1) + base64_reference.charAt(h2) + base64_reference.charAt(h3) + base64_reference.charAt(h4);
27+
}while(i < data.length);
28+
29+
var r = data.length % 3;
30+
var enc = temp.join('');
31+
32+
return (r ? enc.slice(0,r-3) : enc) + '==='.slice(r || 3);
33+
};
34+
var obj = {"@":"task_add"};
35+
36+
if(typeof(options) == "string"){
37+
options = {uri:options};
38+
}
39+
if(typeof(options) != "object"){
40+
return null;
41+
}
42+
for(var name in options) {
43+
obj[name] = options[name];
44+
}
45+
if(typeof(obj.file_name) == "string"){
46+
obj.file_name = encodeURIComponent(decodeURIComponent(obj.file_name));
47+
}
48+
return "fileu:0" + base64_encode(JSON.stringify(obj));
449
}

script/highlight.pack.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

style/base.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,22 @@ a
1818
color: #2a8dcb;
1919
}
2020

21+
pre
22+
{
23+
24+
}
25+
code
26+
{
27+
background: #272822;
28+
display: block;
29+
font-family: "Source Code Pro","Courier New","Helvetica Neue","monospace",HelveticaNeue,Helvetica,Arial,serif;
30+
overflow-x: auto;
31+
padding: 0.5em;
32+
white-space: pre;
33+
word-wrap: break-word;
34+
font-size: 13px;
35+
}
36+
2137
/************************/
2238
.central
2339
{

style/highlight.monokai.css

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
/*
2+
Monokai style - ported by Luigi Maselli - http://grigio.org
3+
*/
4+
5+
.hljs {
6+
display: block;
7+
overflow-x: auto;
8+
padding: 0.5em;
9+
background: #313131;
10+
-webkit-text-size-adjust: none;
11+
}
12+
13+
.hljs-tag,
14+
.hljs-tag .hljs-title,
15+
.hljs-keyword,
16+
.hljs-literal,
17+
.hljs-strong,
18+
.hljs-change,
19+
.hljs-winutils,
20+
.hljs-flow,
21+
.nginx .hljs-title,
22+
.tex .hljs-special {
23+
color: #f92672;
24+
}
25+
26+
.hljs {
27+
color: #ddd;
28+
}
29+
30+
.hljs .hljs-constant,
31+
.asciidoc .hljs-code,
32+
.markdown .hljs-code {
33+
color: #66d9ef;
34+
}
35+
36+
.hljs-code,
37+
.hljs-class .hljs-title,
38+
.hljs-header {
39+
color: white;
40+
}
41+
42+
.hljs-link_label,
43+
.hljs-attribute,
44+
.hljs-symbol,
45+
.hljs-symbol .hljs-string,
46+
.hljs-value,
47+
.hljs-regexp {
48+
color: #bf79db;
49+
}
50+
51+
.hljs-link_url,
52+
.hljs-tag .hljs-value,
53+
.hljs-string,
54+
.hljs-bullet,
55+
.hljs-subst,
56+
.hljs-title,
57+
.hljs-emphasis,
58+
.hljs-type,
59+
.hljs-preprocessor,
60+
.hljs-pragma,
61+
.ruby .hljs-class .hljs-parent,
62+
.hljs-built_in,
63+
.django .hljs-template_tag,
64+
.django .hljs-variable,
65+
.smalltalk .hljs-class,
66+
.django .hljs-filter .hljs-argument,
67+
.smalltalk .hljs-localvars,
68+
.smalltalk .hljs-array,
69+
.hljs-attr_selector,
70+
.hljs-pseudo,
71+
.hljs-addition,
72+
.hljs-stream,
73+
.hljs-envvar,
74+
.apache .hljs-tag,
75+
.apache .hljs-cbracket,
76+
.tex .hljs-command,
77+
.hljs-prompt,
78+
.hljs-name {
79+
color: #a6e22e;
80+
}
81+
82+
.hljs-comment,
83+
.hljs-annotation,
84+
.smartquote,
85+
.hljs-blockquote,
86+
.hljs-horizontal_rule,
87+
.hljs-decorator,
88+
.hljs-pi,
89+
.hljs-doctype,
90+
.hljs-deletion,
91+
.hljs-shebang,
92+
.apache .hljs-sqbracket,
93+
.tex .hljs-formula {
94+
color: #75715e;
95+
}
96+
97+
.hljs-keyword,
98+
.hljs-literal,
99+
.css .hljs-id,
100+
.hljs-doctag,
101+
.hljs-title,
102+
.hljs-header,
103+
.hljs-type,
104+
.vbscript .hljs-built_in,
105+
.rsl .hljs-built_in,
106+
.smalltalk .hljs-class,
107+
.diff .hljs-header,
108+
.hljs-chunk,
109+
.hljs-winutils,
110+
.bash .hljs-variable,
111+
.apache .hljs-tag,
112+
.tex .hljs-special,
113+
.hljs-request,
114+
.hljs-status {
115+
font-weight: bold;
116+
}
117+
118+
.coffeescript .javascript,
119+
.javascript .xml,
120+
.tex .hljs-formula,
121+
.xml .javascript,
122+
.xml .vbscript,
123+
.xml .css,
124+
.xml .hljs-cdata {
125+
opacity: 0.5;
126+
}

0 commit comments

Comments
 (0)