user:thomas utente che ha creato il gist
user:thomas
title:mygist titolo del gist
title:mygist
filename:myfile.txt nome di file nel gist
filename:myfile.txt
extension:yml estensione del file nel gist
extension:yml
language:go linguaggio del file nel gist
language:go
topic:homelab gists with given topic
topic:homelab
Entra
Ultima attività 11 months ago
這段程式碼定義了一個 PasswordGenerator 類別,依據指定的類型("easy" 或 "hard")和密碼長度,隨機產生密碼。其中 "easy" 模式生成的密碼僅包含去除易混淆字元的大小寫英文字母和數字,而 "hard" 模式則包含了所有大小寫字母及標點符號。程式最後示範如何使用該生成器產生 10 個隨機密碼。
Incorpora
Incorpora questo gist nel tuo sito.
Clona tramite HTTP
Clona con Git usando l'autenticazione HTTP basic.
Clona tramite SSH
Clona con Git usando una chiave SSH.
Creato da Opengist ⋅ Load: 5ms⋅