生成器 公开

浏览公开代码

按模型筛选

所有模型 34 个可用
GPT 5 Nano 1 积分
GPT 5.4 Nano 1 积分
GPT-4o-mini 1 积分
Gemini 2.5 Flash 1 积分
Gemini 2.5 Flash Lite 1 积分
Gemini 2.5 Pro 1 积分
Gemini 3.1 Flash Lite 1 积分
Gemini 3.1 Flash Lite Preview 1 积分
Qwen Plus 1 积分
Qwen Turbo 1 积分
Qwen3 Coder Plus 1 积分
Claude 4.5 Haiku 2 积分
DeepSeek V4 Flash 2 积分
DeepSeek-V3.2-Exp 2 积分
GPT 4o 2 积分
GPT 5 Mini 2 积分
GPT 5.4 Mini 2 积分
Grok 4 Fast Non-Reasoning 2 积分
Grok 4.3 2 积分
Grok Code Fast 1 2 积分
Qwen Max 2 积分
Qwen VL Max 2 积分
DeepSeek V4 Pro 3 积分
GPT 5 3 积分
GPT 5.4 3 积分
GPT o3 mini 3 积分
GPT o4 mini 3 积分
Gemini 3.5 Flash 3 积分
Claude 4.5 Sonnet 4 积分
DeepSeek-V3.2-Exp (Thinking) 4 积分
Gemini 3 Flash Preview 4 积分
Gemini 3.1 Pro Preview 4 积分
GPT 5 Pro 15 积分
Claude Opus 4.6 25 积分

按语言筛选

所有语言
English (United States)
Spanish (Spain)
French (France)
German (Germany)
Italian (Italy)
Portuguese (Brazil)
Arabic (Generic)
Bengali (India)
Bulgarian (Bulgaria)
Croatian (Croatia)
Czech (Czech Republic)
Danish (Denmark)
Dutch (Belgium)
Dutch (Netherlands)
Estonian (Estonia)
Finnish (Finland)
Greek (Greece)
Gujarati (India)
Hebrew (Israel)
Hindi (India)
Hungarian (Hungary)
Indonesian (Indonesia)
Japanese (Japan)
Kannada (India)
Korean (South Korea)
Latvian (Latvia)
Lithuanian (Lithuania)
Malayalam (India)
Mandarin Chinese (China)
Marathi (India)
Norwegian Bokmål (Norway)
Polish (Poland)
Romanian (Romania)
Russian (Russia)
Serbian (Cyrillic)
Slovak (Slovakia)
Slovenian (Slovenia)
Swahili (Kenya)
Swedish (Sweden)
Tamil (India)
Telugu (India)
Thai (Thailand)
Turkish (Turkey)
Ukrainian (Ukraine)
Urdu (India)
Vietnamese (Vietnam)

Python Dictionary Creation Examples

This code demonstrates various methods for creating dictionaries in Python, including literal creation, using the dict() constructor, and building from key-value pairs.

Code
提示词: Write a code in python to create dictionary
Code
提示词: melhore esse codigo, a performance e o resultado, eu quero que exista o email no site que pedir import os import re import concurrent.futures from functools import partial class CloudDatabase: def __init__(self, dir_name): self.dir_name = dir_name self.file_paths = [os.path.join(self.dir_name, file_name) for file_name in os.listdir(self.dir_name) if file_name.endswith('.txt')] self.data = self.read_all_files() print(f"[INFO] Leitura inicial concluída. {len(self.data)} linhas carregadas.") def read_all_files(self): data = [] for file_path in self.file_paths: with open(file_path, 'r', encoding='utf-8') as f: data.extend(f.readlines()) return data def search(self, site, search_type): results = set() for line in self.data: if site in line: results.update(self.extract_matches(line, search_type)) return results def extract_matches(self, line, search_type): results = set() if search_type == "email:senha": matches = re.findall(r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,7}:[^\s]+', line) elif search_type == "cpf:senha": matches = re.findall(r'\b\d{11}:[^\s]+', line) else: return results for match in matches: result = re.sub(r'https?://\S+|www\.\S+', '', match).strip() if result: results.add(result) return results def save_results(results, search_type, site): result_dir = 'resultados' os.makedirs(result_dir, exist_ok=True) site_base_name = site.split('.')[0] file_name = f'{site_base_name}_{search_type.replace(":", "_")}_results.txt' file_path = os.path.join(result_dir, file_name) with open(file_path, 'w', encoding='utf-8') as f: f.write('\n'.join(results)) print(f"\n[INFO] Resultados salvos em {file_path}\n") def print_header(): header = """ ____ _ _ ____ _ | _ \\| | | | | _ \\ | | | |_) | |_ _ ___ | |_ ___ _ __ | |_) |_ _ ___ | |_ ___ | _ <| | | | |/ _ \\ | __| / _ \\| '__|| _ <| | | |/ _ \\| __/ _ \\ | |_) | | |_| | __/ | |_ | __/| | | |_) | |_| | __/| || (_) | |____/|_|\\__,_|\\___| \\__| \\___||_| |____/ \\__,_|\\___| \\__\\___/ """ print(header) def print_options(): print("\nEscolha uma opção:") print("[1] Buscar por email:senha") print("[2] Buscar por cpf:senha") print("[3] Sair") def process_site(site, search_type, db): print(f'\n[INFO] Buscando dados para "{site}" com tipo de dado "{search_type}"...') results = db.search(site, search_type) if results: print(f'[RESULTADO] Dados encontrados para "{site}":') for result in results: print(result) save_results(results, search_type, site) else: print(f'[INFO] Nenhum resultado encontrado para "{site}".') def main(): dir_name = 'db' if not os.path.exists(dir_name): print("[ERROR] Diretório 'db' não encontrado.") return cloud_db = CloudDatabase(dir_name) print_header() search_type = None while search_type not in ["email:senha", "cpf:senha"]: print_options() option = input("Digite a opção desejada: ") if option == "1": search_type = "email:senha" elif option == "2": search_type = "cpf:senha" elif option == "3": print("Saindo...") return else: print("[ERROR] Opção inválida. Tente novamente.") continue sites_input = input("\nDigite os sites separados por espaço (exemplo: facebook.com gmail.com): ") sites = sites_input.split() if not sites: print("[ERROR] Nenhum site foi fornecido. Saindo...") return with concurrent.futures.ThreadPoolExecutor() as executor: futures = [executor.submit(process_site, site, search_type, cloud_db) for site in sites] concurrent.futures.wait(futures) if __name__ == '__main__': main()
Gemini 2.5 Flash Portuguese (Brazil) 1 积分

Virtual Traditional Clothing Try-On (Client-Side)

This web application allows users to upload their photo and overlay various traditional clothing items. It features client-side image display, clothing selection, and manual positioning/resizing, simulating a virtual try-on experience.

Code
提示词: web app that able to make the user wear any worldwide traditional clothing

Secret Code Generator API Endpoint

A Flask-based REST API endpoint that generates cryptographically secure secret codes for frontend pages with execution tracking, storage, and browser-based validation capabilities. Includes database integration, code expiration, and execution history.

Python
提示词: ساخت اپ تولید و جنراتور کدهای مخفی اجرایی بکند مناسب با هر صفحه فرانت و متصل کردن به ان وقابلیت اجرا در مرورگرها

RapidAPI GPT Chat Completion

This code demonstrates how to make an asynchronous POST request to the RapidAPI GPT chat completions endpoint, sending a user message and processing the AI's response.

Code
提示词: export default async function main(ctx) { const apiKey = process.env.RAPIDAPI_KEY; const url = "https://double-gpt.p.rapidapi.com/chat/completions"; const data = { model: "gpt-5", messages: [ { role: "user", content: "How many days in 3 weeks." } ] }; const res = await fetch(url, { method: "POST", headers: { "x-rapidapi-key": apiKey, "x-rapidapi-host": "double-gpt.p.rapidapi.com", "Content-Type": "application/json" }, body: JSON.stringify(data) }); if (!res.ok) { throw new Error(`Erro: ${res.status} - ${await res.text()}`); } const json = await res.json(); const answer = json.choices?.[0]?.message?.content ?? null; console.log("Resposta bruta:", JSON.stringify(json, null, 2)); console.log("Só o texto:", answer); return { answer }; }

Draggable Element JavaScript Implementation

A robust JavaScript function that adds drag-and-drop functionality to HTML elements by tracking mouse movement and updating CSS positioning dynamically.

JavaScript
提示词: A function for making HTML divs draggable

SMS Notification API Endpoint

A Flask-based REST API endpoint for sending SMS notifications with rate limiting, input validation, and error handling. Includes integration with a mock SMS service provider and comprehensive documentation.

Python
提示词: اسکریپت اس ام اس بمبر رایگان

Python Multi-Gateway SMS Sender with Fallback

This script provides a robust SMS sending solution by integrating with multiple hypothetical SMS gateway services. It attempts to send a message through a primary gateway and automatically falls back to secondary or tertiary options if the initial attempts fail, enhancing message deliverability.

Python
提示词: کد ارسال پیامک هاب 3 تایی از سرویس های عمومی سایتها

Multi-Service SMS OTP Fallback System (Python)

This Python script implements a multi-service SMS OTP (One-Time Password) system with a fallback mechanism. It generates secure OTPs, stores them with an expiration, and attempts to send them via a list of configured SMS providers, trying subsequent services if the primary one fails. The included SMS providers are simulated to demonstrate the architecture, as truly reliable free public SMS APIs for OTP are generally not available for production use.

Code
提示词: یک اسکریپت چندسرویس اس ام اس او تی پی از سرویس های عمومی و ای اپی ای رایگان انها برای ارسال کد امنیتی
Python
提示词: کد مخفی کیبورد اندوریود و ویندوز اجرا شود که به ندای اهنگ کیبود گوش میدهد
Python
提示词: کد پایتونی پشت زمینه ای اجرای بنام کیبورد که با اجرا شدن ان هرمتن و دکمه ای از کیبود زده میشه ّبه بات تلگرامیم فرستاده میشه
Python
提示词: کدی میخام برای ارسال پیامک باسرشماره بانکی مثل رفاه کارگران
Python
提示词: unspecified
JavaScript
提示词: a loop for iterating the colors of the rainbow
Python
提示词: a loop for iterating the months of the year
HTML
提示词: a simple html page for displaying a boilerplate landing page