mirror of
https://gitlab.com/vcheckzen/KeepAliveE5
synced 2025-12-06 12:42:52 +08:00
383 lines
6.1 KiB
Rust
383 lines
6.1 KiB
Rust
const NAME_LIST_STR: &str = "1. Facebook
|
|
2. Instagram
|
|
3. TikTok
|
|
4. WhatsApp
|
|
5. Netflix
|
|
6. YouTube
|
|
7. Twitter
|
|
8. Snapchat
|
|
9. Pinterest
|
|
10. LinkedIn
|
|
11. Skype
|
|
12. Google Maps
|
|
13. Uber
|
|
14. Lyft
|
|
15. Airbnb
|
|
16. Dropbox
|
|
17. Evernote
|
|
18. Slack
|
|
19. Trello
|
|
20. Grammarly
|
|
21. Duolingo
|
|
22. Headspace
|
|
23. Calm
|
|
24. Waze
|
|
25. Yelp
|
|
26. Shazam
|
|
27. SoundCloud
|
|
28. Spotify
|
|
29. Pandora
|
|
30. Apple Music
|
|
31. Amazon Prime Video
|
|
32. Hulu
|
|
33. ESPN
|
|
34. Nike Training Club
|
|
35. MyFitnessPal
|
|
36. Fitbit
|
|
37. Strava
|
|
38. MapMyRun
|
|
39. Runkeeper
|
|
40. Pocket
|
|
41. Flipboard
|
|
42. Feedly
|
|
43. Medium
|
|
44. TED
|
|
45. Coursera
|
|
46. Khan Academy
|
|
47. Udemy
|
|
48. Skillshare
|
|
49. Headspace for Kids
|
|
50. Epic!
|
|
51. ABCmouse.com
|
|
52. Rosetta Stone
|
|
53. Babbel
|
|
54. Memrise
|
|
55. Lumosity
|
|
56. Elevate
|
|
57. Peak
|
|
58. Heads Up!
|
|
59. Trivia Crack
|
|
60. Words with Friends
|
|
61. Candy Crush Saga
|
|
62. Clash of Clans
|
|
63. Minecraft
|
|
64. Fortnite
|
|
65. PUBG Mobile
|
|
66. Among Us
|
|
67. Temple Run
|
|
68. Subway Surfers
|
|
69. Angry Birds
|
|
70. Cut the Rope
|
|
71. Fruit Ninja
|
|
72. Doodle Jump
|
|
73. Jetpack Joyride
|
|
74. Plants vs. Zombies
|
|
75. Monument Valley
|
|
76. Scribblenauts Remix
|
|
77. World of Goo
|
|
78. The Room
|
|
79. Limbo
|
|
80. Badland
|
|
81. Alto's Adventure
|
|
82. Monument Valley 2
|
|
83. Tiny Wings
|
|
84. Shadow Fight 2
|
|
85. Asphalt 8: Airborne
|
|
86. Real Racing 3
|
|
87. PUBG Mobile Lite
|
|
88. Free Fire
|
|
89. Call of Duty: Mobile
|
|
90. Madden NFL 21 Mobile Football
|
|
91. FIFA Soccer
|
|
92. NBA 2K Mobile Basketball
|
|
93. Chess.com
|
|
94. Lichess
|
|
95. Wordscapes
|
|
96. Pokémon Go
|
|
97. Wizards Unite
|
|
98. Ingress
|
|
99. Geocaching
|
|
100. iNaturalist
|
|
101. Adobe Creative Cloud
|
|
102. Canva
|
|
103. Sketchbook
|
|
104. Procreate
|
|
105. Photoshop Express
|
|
106. Lightroom
|
|
107. VSCO
|
|
108. Snapseed
|
|
109. Pixelmator
|
|
110. PicCollage
|
|
111. Layout from Instagram
|
|
112. Afterlight 2
|
|
113. Prisma Photo Editor
|
|
114. Facetune
|
|
115. FaceApp
|
|
116. BeautyPlus
|
|
117. YouCam Makeup
|
|
118. Perfect365
|
|
119. B612
|
|
120. Snapchat Bitmoji
|
|
121. Microsoft Office
|
|
122. Google Drive
|
|
123. Dropbox Paper
|
|
124. Zoho Docs
|
|
125. Evernote Scannable
|
|
126. CamScanner
|
|
127. Scanner Pro
|
|
128. Genius Scan
|
|
129. Notability
|
|
130. GoodNotes
|
|
131. MyScript Nebo
|
|
132. MindNode
|
|
133. OmniFocus
|
|
134. Things
|
|
135. Todoist
|
|
136. Habitica
|
|
137. Forest
|
|
138. Headspace for Work
|
|
139. HelloMind
|
|
140. Smiling Mind
|
|
141. Brain.fm
|
|
142. My Study Life
|
|
143. Quizlet
|
|
144. AnkiApp
|
|
145. Flashcards+
|
|
146. Evernote Peek
|
|
147. Wolfram Alpha
|
|
148. Google Translate
|
|
149. iTranslate
|
|
150. Babylon Translator
|
|
151. TripIt
|
|
152. Airbnb Experiences
|
|
153. Booking.com
|
|
154. Kayak
|
|
155. Expedia
|
|
156. Hopper
|
|
157. Skyscanner
|
|
158. TripAdvisor
|
|
159. Yelp Reservations
|
|
160. OpenTable
|
|
161. Grubhub
|
|
162. Uber Eats
|
|
163. Postmates
|
|
164. DoorDash
|
|
165. Slice
|
|
166. Instacart
|
|
167. Shipt
|
|
168. FreshDirect
|
|
169. HelloFresh
|
|
170. Blue Apron
|
|
171. Allrecipes
|
|
172. Epicurious
|
|
173. Tasty
|
|
174. Yummly
|
|
175. Food Network Kitchen
|
|
176. Wine-Searcher
|
|
177. Vivino
|
|
178. Untappd
|
|
179. Mixology
|
|
180. BarEye
|
|
181. MyFitnessPal by Under Armour
|
|
182. Nike Run Club
|
|
183. Headspace for Work
|
|
184. HelloMind
|
|
185. Smiling Mind
|
|
186. Brain.fm
|
|
187. My Study Life
|
|
188. Quizlet
|
|
189. AnkiApp
|
|
190. Flashcards+
|
|
191. Evernote Peek
|
|
192. Wolfram Alpha
|
|
193. Google Translate
|
|
194. iTranslate
|
|
195. Babylon Translator
|
|
196. TripIt
|
|
197. Airbnb Experiences
|
|
198. Booking.com
|
|
199. Kayak
|
|
200. Expedia
|
|
201. Hopper
|
|
202. Skyscanner
|
|
203. TripAdvisor
|
|
204. Yelp Reservations
|
|
205. OpenTable
|
|
206. Grubhub
|
|
207. Uber Eats
|
|
208. Postmates
|
|
209. DoorDash
|
|
210. Slice
|
|
211. Instacart
|
|
212. Shipt
|
|
213. FreshDirect
|
|
214. HelloFresh
|
|
215. Blue Apron
|
|
216. Allrecipes
|
|
217. Epicurious
|
|
218. Tasty
|
|
219. Yummly
|
|
220. Food Network Kitchen
|
|
221. Wine-Searcher
|
|
222. Vivino
|
|
223. Untappd
|
|
224. Mixology
|
|
225. BarEye
|
|
226. MyFitnessPal by Under Armour
|
|
227. Nike Run Club
|
|
228. Run with Map My Run
|
|
229. Strava
|
|
230. Runtastic
|
|
231. Fit Radio
|
|
232. Aaptiv
|
|
233. Yoga Studio
|
|
234. Daily Burn
|
|
235. Sworkit
|
|
236. 7 Minute Workout
|
|
237. JEFIT
|
|
238. Gymaholic
|
|
239. StrongLifts 5x5
|
|
240. Zombies, Run!
|
|
241. Sleep Cycle
|
|
242. Pillow
|
|
243. White Noise
|
|
244. Rain Rain
|
|
245. Noisli
|
|
246. Focus@Will
|
|
247. Freedom
|
|
248. Moment
|
|
249. Offtime
|
|
250. RescueTime
|
|
251. Toggl
|
|
252. TickTick
|
|
253. Remember The Milk
|
|
254. Any.do
|
|
255. Todoist
|
|
256. Google Tasks
|
|
257. Wunderlist
|
|
258. Asana
|
|
259. Trello
|
|
260. Monday.com
|
|
261. Basecamp
|
|
262. Notion
|
|
263. Evernote Business
|
|
264. Slack
|
|
265. Discord
|
|
266. Zoom
|
|
267. Skype for Business
|
|
268. Google Meet
|
|
269. GoToMeeting
|
|
270. Cisco Webex Meetings
|
|
271. Join.me
|
|
272. Zoho Meeting
|
|
273. BlueJeans
|
|
274. Microsoft Teams
|
|
275. Dropbox Business
|
|
276. Box
|
|
277. OneDrive for Business
|
|
278. Citrix Files
|
|
279. Egnyte
|
|
280. Google Drive for Work
|
|
281. Apple iCloud for Business
|
|
282. DocuSign
|
|
283. Adobe Sign
|
|
284. HelloSign
|
|
285. SignNow
|
|
286. PandaDoc
|
|
287. Formstack Sign
|
|
288. Typeform
|
|
289. Wufoo
|
|
290. JotForm
|
|
291. SurveyMonkey
|
|
292. Qualtrics
|
|
293. Typeform
|
|
294. Wufoo
|
|
295. JotForm
|
|
296. SurveyMonkey
|
|
297. Qualtrics
|
|
298. Google Forms
|
|
299. Paperform
|
|
300. Cognito Forms
|
|
301. Typeform
|
|
302. QuickBooks
|
|
303. Xero
|
|
304. Wave
|
|
305. FreshBooks
|
|
306. Square
|
|
307. PayPal Here
|
|
308. Stripe
|
|
309. Shopify
|
|
310. WooCommerce
|
|
311. Magento
|
|
312. BigCommerce
|
|
313. Ecwid
|
|
314. Salesforce
|
|
315. HubSpot
|
|
316. Marketo
|
|
317. Pardot
|
|
318. Mailchimp
|
|
319. Constant Contact
|
|
320. AWeber
|
|
321. Campaign Monitor
|
|
322. GetResponse
|
|
323. ActiveCampaign
|
|
324. Klaviyo
|
|
325. Emma
|
|
326. Drip
|
|
327. ConvertKit
|
|
328. Hootsuite
|
|
329. Sprout Social
|
|
330. Buffer
|
|
331. Later
|
|
332. Planoly
|
|
333. Tailwind
|
|
334. Canva
|
|
335. Piktochart
|
|
336. Venngage
|
|
337. Adobe Spark
|
|
338. Easil
|
|
339. Snappa
|
|
340. PromoRepublic
|
|
341. Loom
|
|
342. Zoom
|
|
343. GoToWebinar
|
|
344. Livestorm
|
|
345. Crowdcast
|
|
346. Twitch
|
|
347. YouTube Live
|
|
348. Facebook Live
|
|
349. Instagram Live
|
|
350. Periscope
|
|
351. Vimeo
|
|
352. Wistia
|
|
353. Brightcove
|
|
354. Vidyard
|
|
355. BombBomb
|
|
356. Animoto
|
|
357. Biteable
|
|
358. Powtoon
|
|
359. Emaze
|
|
360. Prezi
|
|
361. Haiku Deck
|
|
362. Slides
|
|
363. Google Slides";
|
|
|
|
use std::env;
|
|
use regex::Regex;
|
|
|
|
fn main() {
|
|
let args: Vec<String> = env::args().collect();
|
|
let id = args
|
|
.get(1)
|
|
.expect("Need identifier argument.")
|
|
.parse::<usize>()
|
|
.expect("The identifier argument must be an unsigned integer.");
|
|
|
|
let mut names_str_iter = NAME_LIST_STR.split("\n");
|
|
let count = names_str_iter.clone().count();
|
|
|
|
let re = Regex::new(r"[^a-zA-Z]").unwrap();
|
|
let name = re.replace_all(names_str_iter.nth(id % count).unwrap(), "");
|
|
|
|
println!("{}", name);
|
|
} |