Skip to content

Instantly share code, notes, and snippets.

View oswwwaldotc's full-sized avatar
💭
I may be slow to respond.

Oswaldo TC oswwwaldotc

💭
I may be slow to respond.
View GitHub Profile
@Kerruba
Kerruba / text-progress-bar-in-console.py
Last active December 27, 2024 18:10
Python #Python
# -*- coding: utf-8 -*-
# Print iterations progress
def print_progress(iteration, total, prefix='', suffix='', decimals=1, bar_length=100):
"""
Call in a loop to create terminal progress bar
@params:
iteration - Required : current iteration (Int)
total - Required : total iterations (Int)
prefix - Optional : prefix string (Str)
@vmandic
vmandic / dotnet core .gitignore
Last active June 18, 2025 15:51
A default .NET Core project .gitignore file - or just type `dotnet new gitignore`
# From .NET Core 3.0 you can use the command: `dotnet new gitignore` to generate a customizable .gitignore file
*.swp
*.*~
project.lock.json
.DS_Store
*.pyc
# Visual Studio Code
.vscode
@bradtraversy
bradtraversy / vscode_shortcuts.md
Last active June 21, 2025 12:24
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

// time and time end
console.time("This");
let total = 0;
for (let j = 0; j < 10000; j++) {
total += j
}
console.log("Result", total);
console.timeEnd("This");
// Memory