Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cybertron
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
cybertron
Commits
fdc93607
Commit
fdc93607
authored
Apr 22, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
01988acd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
115 additions
and
94 deletions
+115
-94
workspace.xml
.idea/workspace.xml
+110
-90
auto_commnet.py
auto_commnet.py
+4
-1
auto_request.py
auto_request.py
+1
-3
No files found.
.idea/workspace.xml
View file @
fdc93607
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
/>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/com.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/com.py"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -22,18 +24,18 @@
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.open"
>
<counts>
<entry
key=
"batch_user_gen"
value=
"
2
"
/>
<entry
key=
"batch_user_gen"
value=
"
3
"
/>
<entry
key=
"comment"
value=
"2"
/>
<entry
key=
"guanshui"
value=
"3"
/>
<entry
key=
"py"
value=
"1
88
"
/>
<entry
key=
"txt"
value=
"
7
"
/>
<entry
key=
"py"
value=
"1
90
"
/>
<entry
key=
"txt"
value=
"
8
"
/>
<entry
key=
"xuqiu"
value=
"2"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.types.open"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"1
6
"
/>
<entry
key=
"Python"
value=
"1
88
"
/>
<entry
key=
"PLAIN_TEXT"
value=
"1
8
"
/>
<entry
key=
"Python"
value=
"1
90
"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
...
...
@@ -41,14 +43,14 @@
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"dummy"
value=
"6"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"py"
value=
"51
40
"
/>
<entry
key=
"py"
value=
"51
74
"
/>
<entry
key=
"xuqiu"
value=
"223"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"290"
/>
<entry
key=
"Python"
value=
"51
40
"
/>
<entry
key=
"Python"
value=
"51
74
"
/>
</counts>
</usages-collector>
</session>
...
...
@@ -141,26 +143,22 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_user_id.py
"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/
user_session.txt
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"435"
>
<caret
line=
"29"
selection-start-line=
"29"
selection-end-line=
"29"
/>
<folding>
<element
signature=
"e#1#15#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"344"
>
<caret
line=
"54"
column=
"16"
selection-start-line=
"54"
selection-end-line=
"55"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_u
rge_three
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_u
ser_id
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-63
"
>
<caret
line=
"
19"
column=
"63"
selection-start-line=
"19"
selection-start-column=
"63"
selection-end-line=
"19"
selection-end-column=
"168
"
/>
<state
relative-caret-position=
"
435
"
>
<caret
line=
"
29"
selection-start-line=
"29"
selection-end-line=
"29
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<marker
date=
"1555816682000"
expanded=
"true"
signature=
"1275:1648"
ph=
"..."
/>
<element
signature=
"e#1#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
...
...
@@ -169,8 +167,8 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
194
"
>
<caret
line=
"113"
column=
"
4"
selection-start-line=
"113"
selection-start-column=
"4"
selection-end-line=
"113"
selection-end-column=
"
4"
/>
<state
relative-caret-position=
"
253
"
>
<caret
line=
"113"
column=
"
34"
selection-start-line=
"113"
selection-start-column=
"27"
selection-end-line=
"113"
selection-end-column=
"3
4"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
@@ -181,38 +179,46 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_urge.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-547"
>
<caret
line=
"5"
column=
"6"
selection-start-line=
"5"
selection-end-line=
"5"
selection-end-column=
"6"
/>
<state
relative-caret-position=
"329"
>
<caret
line=
"63"
column=
"41"
lean-forward=
"true"
selection-start-line=
"63"
selection-start-column=
"24"
selection-end-line=
"63"
selection-end-column=
"41"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
comment.txt
"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_at_once.py
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"224"
>
<caret
line=
"1910"
column=
"4"
selection-start-line=
"1910"
selection-start-column=
"4"
selection-end-line=
"1910"
selection-end-column=
"4"
/>
<state
relative-caret-position=
"270"
>
<caret
line=
"84"
column=
"7"
selection-start-line=
"13"
selection-start-column=
"8"
selection-end-line=
"84"
selection-end-column=
"7"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#321#1049#0"
/>
<element
signature=
"e#1083#2030#0"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_click
.py"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/
com
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-98
"
>
<caret
line=
"
20"
column=
"27"
selection-start-line=
"20"
selection-start-column=
"27"
selection-end-line=
"20"
selection-end-column=
"27
"
/>
<state
relative-caret-position=
"
195
"
>
<caret
line=
"
13"
column=
"13"
selection-start-line=
"13"
selection-start-column=
"13"
selection-end-line=
"13"
selection-end-column=
"13
"
/>
<folding>
<element
signature=
"e#0#1
1
#0"
expanded=
"true"
/>
<element
signature=
"e#0#1
5
#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_click_n.py
"
>
<entry
file=
"file://$PROJECT_DIR$/
batch_user_gen
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
43
"
>
<caret
line=
"
8"
column=
"36"
selection-start-line=
"8"
selection-start-column=
"36"
selection-end-line=
"8"
selection-end-column=
"36
"
/>
<state
relative-caret-position=
"
554
"
>
<caret
line=
"
299"
column=
"3"
selection-start-line=
"299"
selection-start-column=
"3"
selection-end-line=
"299"
selection-end-column=
"4
"
/>
</state>
</provider>
</entry>
...
...
@@ -220,8 +226,8 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"275"
>
<caret
line=
"25"
column=
"27"
selection-start-line=
"25"
selection-start-column=
"27"
selection-end-line=
"25"
selection-end-column=
"27
"
/>
<state>
<caret
selection-end-line=
"11
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
@@ -259,7 +265,6 @@
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/cuigeng"
/>
<option
value=
"$PROJECT_DIR$/README"
/>
<option
value=
"$PROJECT_DIR$/auto_start_up.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click_star.py"
/>
...
...
@@ -310,6 +315,7 @@
<option
value=
"$PROJECT_DIR$/auto_request.py"
/>
<option
value=
"$PROJECT_DIR$/offline_comment.py"
/>
<option
value=
"$PROJECT_DIR$/instant.py"
/>
<option
value=
"$PROJECT_DIR$/com.py"
/>
</list>
</option>
</component>
...
...
@@ -527,7 +533,6 @@
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"724"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Favorites"
order=
"1"
side_tool=
"true"
/>
...
...
@@ -541,7 +546,7 @@
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.
41379312
"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
visible=
"true"
weight=
"0.
36288998
"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"9"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
...
...
@@ -658,13 +663,6 @@
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/mysql_config.py"
/>
<entry
file=
"file://$PROJECT_DIR$/batch_user_gen"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"758"
>
<caret
line=
"299"
column=
"3"
selection-start-line=
"299"
selection-start-column=
"3"
selection-end-line=
"299"
selection-end-column=
"4"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/test.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"60"
>
...
...
@@ -686,13 +684,6 @@
<entry
file=
"file://$PROJECT_DIR$/user_id.txt"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/user_session.txt"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"344"
>
<caret
line=
"54"
column=
"52"
selection-start-line=
"54"
selection-start-column=
"52"
selection-end-line=
"54"
selection-end-column=
"52"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_star_topic.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"205"
>
...
...
@@ -770,16 +761,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_at_once.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"324"
>
<caret
line=
"25"
column=
"30"
selection-start-line=
"25"
selection-start-column=
"30"
selection-end-line=
"25"
selection-end-column=
"30"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click_n.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"43"
>
...
...
@@ -787,16 +768,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"275"
>
<caret
line=
"25"
column=
"27"
selection-start-line=
"25"
selection-start-column=
"27"
selection-end-line=
"25"
selection-end-column=
"27"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/guanshui"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"554"
>
...
...
@@ -832,13 +803,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_urge.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-547"
>
<caret
line=
"5"
column=
"6"
selection-start-line=
"5"
selection-end-line=
"5"
selection-end-column=
"6"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/offline_comment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"283"
>
...
...
@@ -850,32 +814,88 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/instant.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"585"
>
<caret
line=
"39"
column=
"23"
selection-start-line=
"39"
selection-start-column=
"23"
selection-end-line=
"39"
selection-end-column=
"23"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_user_id.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"435"
>
<caret
line=
"29"
selection-start-line=
"29"
selection-end-line=
"29"
/>
<folding>
<element
signature=
"e#1#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<caret
selection-end-line=
"11"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/batch_user_gen"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"554"
>
<caret
line=
"299"
column=
"3"
selection-start-line=
"299"
selection-start-column=
"3"
selection-end-line=
"299"
selection-end-column=
"4"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/user_session.txt"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"344"
>
<caret
line=
"54"
column=
"16"
selection-start-line=
"54"
selection-end-line=
"55"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
194
"
>
<caret
line=
"113"
column=
"
4"
selection-start-line=
"113"
selection-start-column=
"4"
selection-end-line=
"113"
selection-end-column=
"
4"
/>
<state
relative-caret-position=
"
253
"
>
<caret
line=
"113"
column=
"
34"
selection-start-line=
"113"
selection-start-column=
"27"
selection-end-line=
"113"
selection-end-column=
"3
4"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
instant
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
auto_at_once
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
585
"
>
<caret
line=
"
39"
column=
"23"
selection-start-line=
"39"
selection-start-column=
"23"
selection-end-line=
"39"
selection-end-column=
"23
"
/>
<state
relative-caret-position=
"
270
"
>
<caret
line=
"
84"
column=
"7"
selection-start-line=
"13"
selection-start-column=
"8"
selection-end-line=
"84"
selection-end-column=
"7
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#321#1049#0"
/>
<element
signature=
"e#1083#2030#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_u
ser_id
.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_u
rge
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
435
"
>
<caret
line=
"
29"
selection-start-line=
"29"
selection-end-line=
"29
"
/>
<state
relative-caret-position=
"
329
"
>
<caret
line=
"
63"
column=
"41"
lean-forward=
"true"
selection-start-line=
"63"
selection-start-column=
"24"
selection-end-line=
"63"
selection-end-column=
"41
"
/>
<folding>
<element
signature=
"e#1#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/com.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"195"
>
<caret
line=
"13"
column=
"13"
selection-start-line=
"13"
selection-start-column=
"13"
selection-end-line=
"13"
selection-end-column=
"13"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
...
...
auto_commnet.py
View file @
fdc93607
...
...
@@ -48,7 +48,10 @@ if __name__ == "__main__":
numtime
=
time_convs
(
i
)
topic_id
=
get_topic_id
(
numtime
)
# topic_id = get_topic_id(numtime)
topic_id
=
[(
241581376
,
5479267
),
(
241439646
,
5479268
),
(
241439646
,
5479269
),
(
241407671
,
5479270
),
(
241407671
,
5479271
),
(
241581395
,
5479272
)]
dicts
=
{}
...
...
auto_request.py
View file @
fdc93607
...
...
@@ -30,7 +30,6 @@ DATABASES = {
}
}
host
=
DATABASES
[
'default'
][
'HOST'
]
user
=
DATABASES
[
'default'
][
'USER'
]
...
...
@@ -270,4 +269,4 @@ def get_user_id():
for
i
in
user_data
.
readlines
():
user_list
.
append
(
int
(
i
.
strip
()))
return
user_list
\ No newline at end of file
return
user_list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment