Skip to content

Instantly share code, notes, and snippets.

View SamKr's full-sized avatar
🤸
Tinkering

Sam SamKr

🤸
Tinkering
  • Netherlands
  • 00:55 (UTC +02:00)
View GitHub Profile
// : Generates random password, which complies with the strong password
// rules and does not contain ambiguous characters.
//
using System;
using System.IO;
using System.Text;
using System.Web;
@DanielSWolf
DanielSWolf / Program.cs
Last active April 17, 2025 05:36
Console progress bar. Code is under the MIT License: http://opensource.org/licenses/MIT
using System;
using System.Threading;
static class Program {
static void Main() {
Console.Write("Performing some task... ");
using (var progress = new ProgressBar()) {
for (int i = 0; i <= 100; i++) {
progress.Report((double) i / 100);