This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import multiprocessing | |
import time | |
def cpu_intensive_task(): | |
while True: | |
pass | |
if __name__ == "__main__": | |
cpu_count = multiprocessing.cpu_count() | |
print(f"Starting {cpu_count} processes to fully utilize the CPU") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EnablePrimaryMouseButtonEvents(true) | |
function OnEvent(event, arg) | |
randomX = math.random(22,35) | |
--OutputLogMessage("Event: "..event.." Arg: "..arg.."\n") | |
--OutputLogMessage("%d\n",randomX) | |
if IsMouseButtonPressed(5) then | |
PressAndReleaseMouseButton(3) | |
Sleep(randomX) | |
ReleaseKey(0x11) | |
ReleaseKey(0x1e) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text = 'Hello World' | |
shift = 3 | |
def caesar(message, offset): | |
alphabet = 'abcdefghijklmnopqrstuvwxyz' | |
encrypted_text = '' | |
for char in message.lower(): | |
if char == ' ': | |
encrypted_text += char |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"switchKey": "Key_QuoteLeft", | |
"mouseMoveMap": { | |
"startPos": { | |
"x": 0.5, | |
"y": 0.5 | |
}, | |
"speedRatioX": 5, | |
"speedRatioY": 5 | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 安装路径 | |
INSTALL_DIR=./chatgpt-qq | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[0;33m' | |
PLAIN='\033[0m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
import os | |
cookies = { | |
'in_d4': '1', | |
} | |
headers = { | |
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', |