Skip to content

Instantly share code, notes, and snippets.

View JensMertelmeyer's full-sized avatar

Jens Mertelmeyer JensMertelmeyer

View GitHub Profile
// ==UserScript==
// @name clone_github_on_vscode
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Let you open Github repositories in vscode
// @author idanp
// @match https://github.com
// @include https://github.com/*/*
// @grant none
// ==/UserScript==
@DanielSWolf
DanielSWolf / Program.cs
Last active May 2, 2024 18:33
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);