-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.sh
194 lines (194 loc) Β· 6.55 KB
/
task.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
#!/bin/bash
arr[0]="bot: Altify Update - requisition | Tasks Running | Funny Message: 403 Internet Poop"
arr[1]="bot: Altify Update - requisition | Tasks Running | Funny Message: π = Command Line Argument Parser"
arr[2]="bot: Altify Update - requisition | Tasks Running | Funny Message: 404 - You have fat fingers"
arr[3]="bot: Altify Update - requisition | Tasks Running | Funny Message: click here for free stuff"
arr[4]="bot: Altify Update - requisition | Tasks Running | Funny Message: code = copy and paste"
arr[5]="bot: Altify Update - requisition | Tasks Running | Funny Message: StackOverflow users"
arr[6]="bot: Altify Update - requisition | Tasks Running | Funny Message: You are a good developer"
arr[7]="bot: Altify Update - requisition | Tasks Running | Funny Message: me writing in .sh"
col[1]="function FindProxyForURL(https://altify-developing-001.netlify.app/html/tos, 127) {
Creator: 'altify.developing.llc' { json-usage.manager:\n
{
'name': 'altify-main-site',
'version': '1.0.0',
'description': 'main site',
'main': 'index.html',
'scripts': {
'test': 'echo \'Error: no test specified\' && exit 1'
},
'author': 'Altify',
'license': 'MIT License',
}
}"
col[2]="function FindProxyForURL(https://altify-developing-001.netlify.app/html/tos, 5000) {
Creator: 'altify.developing.llc' { json-usage.manager:\n
{
'name': 'altify-main-site',
'version': '1.0.0',
'description': 'main site',
'main': 'index.html',
'scripts': {
'test': 'echo \'Error: no test specified\' && exit 1'
},
'author': 'Altify',
'license': 'MIT License',
}
}"
col[3]="function FindProxyForURL(https://altify-developing-001.netlify.app/html/tos, 80) {
Creator: 'altify.developing.llc' { json-usage.manager:\n
{
'name': 'altify-main-site',
'version': '1.0.0',
'description': 'main site',
'main': 'index.html',
'scripts': {
'test': 'echo \'Error: no test specified\' && exit 1'
},
'author': 'Altify',
'license': 'MIT License',
}
}"
col[4]="function FindProxyForURL(https://altify-developing-001.netlify.app/html/toolstodownload, 127) {
Creator: 'altify.developing.llc' { json-usage.manager:\n
{
'name': 'altify-main-site',
'version': '1.0.0',
'description': 'main site',
'main': 'index.html',
'scripts': {
'test': 'echo \'Error: no test specified\' && exit 1'
},
'author': 'Altify',
'license': 'MIT License',
}
}"
col[5]="function FindProxyForURL(https://altify-developing-001.netlify.app/html/toolstodownload, 5000) {
Creator: 'altify.developing.llc' { json-usage.manager:\n
{
'name': 'altify-main-site',
'version': '1.0.0',
'description': 'main site',
'main': 'index.html',
'scripts': {
'test': 'echo \'Error: no test specified\' && exit 1'
},
'author': 'Altify',
'license': 'MIT License',
}
}"
col[6]="function FindProxyForURL(https://altify-developing-001.netlify.app/html/toolstodownload, 80) {
Creator: 'altify.developing.llc' { json-usage.manager:\n
{
'name': 'altify-main-site',
'version': '1.0.0',
'description': 'main site',
'main': 'index.html',
'scripts': {
'test': 'echo \'Error: no test specified\' && exit 1'
},
'author': 'Altify',
'license': 'MIT License',
}
}"
col[7]="function FindProxyForURL(https://altify-developing-001.netlify.app/, 127) {
Creator: 'altify.developing.llc' { json-usage.manager:\n
{
'name': 'altify-main-site',
'version': '1.0.0',
'description': 'main site',
'main': 'index.html',
'scripts': {
'test': 'echo \'Error: no test specified\' && exit 1'
},
'author': 'Altify',
'license': 'MIT License',
}
}"
col[8]="function FindProxyForURL(https://altify-developing-001.netlify.app/, 5000) {
Creator: 'altify.developing.llc' { json-usage.manager:\n
{
'name': 'altify-main-site',
'version': '1.0.0',
'description': 'main site',
'main': 'index.html',
'scripts': {
'test': 'echo \'Error: no test specified\' && exit 1'
},
'author': 'Altify',
'license': 'MIT License',
}
}"
col[9]="function FindProxyForURL(https://altify-developing-001.netlify.app/, 80) {
Creator: 'altify.developing.llc' { json-usage.manager:\n
{
'name': 'altify-main-site',
'version': '1.0.0',
'description': 'main site',
'main': 'index.html',
'scripts': {
'test': 'echo \'Error: no test specified\' && exit 1'
},
'author': 'Altify',
'license': 'MIT License',
}
}"
rand3=$[$RANDOM % ${#col[@]}]
rand=$[$RANDOM % ${#arr[@]}]
d=`date '+%Y-%m-%dT%H:%M:%SZ'`
echo "## π€ LAST UPDATED AT: ${d}" > update.md
git config --local user.email "[email protected]"
git config --local user.name "Altify"
git add -all
git commit -am "${arr[$rand]} (at ${d})"
#heb/resc/numbers
rand=$[$RANDOM % ${#arr[@]}]
echo "## π€ LAST UPDATED AT: ${d}" > heb/resc/numbers/1
git add -all
git commit -am "$rand ${arr[$rand]} (at ${d})"
rand=$[$RANDOM % ${#arr[@]}]
echo "## π€ LAST UPDATED AT: ${d}" > heb/resc/numbers/2
git add -all
git commit -am "$rand ${arr[$rand]} (at ${d})"
rand=$[$RANDOM % ${#arr[@]}]
echo "## π€ LAST UPDATED AT: ${d}" > heb/resc/numbers/3
git add -all
git commit -am "$rand ${arr[$rand]} (at ${d})"
rand=$[$RANDOM % ${#arr[@]}]
echo "## π€ LAST UPDATED AT: ${d}" > heb/resc/numbers/4
git commit -am "$rand ${arr[$rand]} (at ${d})"
rand=$[$RANDOM % ${#arr[@]}]
echo "## π€ LAST UPDATED AT: ${d}" > heb/resc/numbers/5
git commit -am "$rand ${arr[$rand]} (at ${d})"
rand=$[$RANDOM % ${#arr[@]}]
echo "## π€ LAST UPDATED AT: ${d}" > heb/resc/numbers/6
git commit -am "$rand ${arr[$rand]} (at ${d})"
rand=$[$RANDOM % ${#arr[@]}]
echo "## π€ LAST UPDATED AT: ${d}" > heb/resc/numbers/7
git add -all
git commit -am "$rand ${arr[$rand]} (at ${d})"
rand=$[$RANDOM % ${#arr[@]}]
echo "## π€ LAST UPDATED AT: ${d}" > heb/resc/numbers/8
git add -all
git commit -am "$rand ${arr[$rand]} (at ${d})"
rand=$[$RANDOM % ${#arr[@]}]
echo "## π€ LAST UPDATED AT: ${d}" > heb/resc/numbers/9
git add -all
git commit -am "$rand ${arr[$rand]} (at ${d})"
rand=$[$RANDOM % ${#arr[@]}]
echo "## π€ LAST UPDATED AT: ${d}" > heb/resc/numbers/10
git add -all
git commit -am "$rand ${arr[$rand]} (at ${d})"
#heb/resc/sectors
rand3=$[$RANDOM % ${#col[@]}]
echo "${col[$rand3]}" > heb/resc/sectors/sc1.pac
git add -all
git commit -am "proxy config pt1 (at ${d})"
rand3=$[$RANDOM % ${#col[@]}]
echo "${col[$rand3]}" > heb/resc/sectors/sc2.pac
git add -all
git commit -am "proxy config pt2 (at ${d})"
rand3=$[$RANDOM % ${#col[@]}]
echo "${col[$rand3]}" > heb/resc/sectors/sc3.pac
git add -all
git commit -am "proxy config pt3 (at ${d})"