Skip to content

Instantly share code, notes, and snippets.

View OlMi1's full-sized avatar

Jan-Ole Michael OlMi1

View GitHub Profile
@OlMi1
OlMi1 / Program.cs
Last active April 20, 2022 10:48 — forked from DanielSWolf/Program.cs
Console progress bar. Code is under the MIT License: http://opensource.org/licenses/MIT
View Program.cs
using System;
using System.Threading;
static class Program {
static void Main() {
int width = 10;
Console.Write("Performing some task... ");
using (var progress = new ProgressBar( width )) {
for (int i = 0; i <= 100; i++) {
@OlMi1
OlMi1 / bubot.py
Created July 3, 2023 11:24
BUBot
View bubot.py
# Gives people roles based on dates. Can be used for any purpose. Translate if you want.
import discord, re
from discord.ext import commands
from random import randint
registerTestDateChannelID = CHANNELID
intents = discord.Intents.default()