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
abe1733b
Commit
abe1733b
authored
Apr 19, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
8a19b0e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
+18
-13
workspace.xml
.idea/workspace.xml
+11
-13
instant.py
instant.py
+7
-0
No files found.
.idea/workspace.xml
View file @
abe1733b
<?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=
""
>
<change
beforePath=
"$PROJECT_DIR$/instant.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/instant.py"
afterDir=
"false"
/>
</list>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -42,14 +40,14 @@
<entry
key=
"comment"
value=
"59"
/>
<entry
key=
"dummy"
value=
"6"
/>
<entry
key=
"guanshui"
value=
"2"
/>
<entry
key=
"py"
value=
"411
6
"
/>
<entry
key=
"py"
value=
"411
9
"
/>
<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=
"411
6
"
/>
<entry
key=
"Python"
value=
"411
9
"
/>
</counts>
</usages-collector>
</session>
...
...
@@ -129,8 +127,8 @@
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/instant.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
252
"
>
<caret
line=
"3
1"
column=
"33"
lean-forward=
"true"
selection-start-line=
"31"
selection-start-column=
"33"
selection-end-line=
"31"
selection-end-column=
"3
3"
/>
<state
relative-caret-position=
"
138
"
>
<caret
line=
"3
9"
column=
"23"
lean-forward=
"true"
selection-start-line=
"39"
selection-start-column=
"23"
selection-end-line=
"39"
selection-end-column=
"2
3"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
@@ -178,8 +176,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=
"
312
"
>
<caret
line=
"1
69"
column=
"4"
selection-start-line=
"169"
selection-start-column=
"4"
selection-end-line=
"169"
selection-end-column=
"4
"
/>
<state
relative-caret-position=
"
671
"
>
<caret
line=
"1
48"
column=
"19"
lean-forward=
"true"
selection-start-line=
"148"
selection-start-column=
"19"
selection-end-line=
"148"
selection-end-column=
"19
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
@@ -931,8 +929,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
312
"
>
<caret
line=
"1
69"
column=
"4"
selection-start-line=
"169"
selection-start-column=
"4"
selection-end-line=
"169"
selection-end-column=
"4
"
/>
<state
relative-caret-position=
"
671
"
>
<caret
line=
"1
48"
column=
"19"
lean-forward=
"true"
selection-start-line=
"148"
selection-start-column=
"19"
selection-end-line=
"148"
selection-end-column=
"19
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
@@ -941,8 +939,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/instant.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
252
"
>
<caret
line=
"3
1"
column=
"33"
lean-forward=
"true"
selection-start-line=
"31"
selection-start-column=
"33"
selection-end-line=
"31"
selection-end-column=
"3
3"
/>
<state
relative-caret-position=
"
138
"
>
<caret
line=
"3
9"
column=
"23"
lean-forward=
"true"
selection-start-line=
"39"
selection-start-column=
"23"
selection-end-line=
"39"
selection-end-column=
"2
3"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
instant.py
View file @
abe1733b
...
...
@@ -44,12 +44,15 @@ if __name__ == "__main__":
exec_count
+=
1
if
exec_count
==
1
:
print
(
"----1------"
)
sleep_time
=
random
.
randint
(
300
,
540
)
sleep_time
=
30
timer
=
threading
.
Timer
(
sleep_time
,
fun_comment
)
timer
.
start
()
if
exec_count
==
2
:
print
(
"----2------"
)
sleep_time
=
random
.
randint
(
1000
,
1900
)
sleep_time
=
30
timer
=
threading
.
Timer
(
sleep_time
,
fun_comment
)
...
...
@@ -66,12 +69,16 @@ if __name__ == "__main__":
exec_count
+=
1
if
exec_count
==
1
:
print
(
"----3------"
)
# sleep_time = random.randint(300, 540)
sleep_time
=
30
timer
=
threading
.
Timer
(
sleep_time
,
fun_timer
)
timer
.
start
()
if
exec_count
==
2
:
print
(
"----4------"
)
# sleep_time = random.randint(1000, 1900)
sleep_time
=
50
timer
=
threading
.
Timer
(
sleep_time
,
fun_timer
)
...
...
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