Skip to content

Instantly share code, notes, and snippets.

@cb109
cb109 / vscode_python_sort_imports_isort_on_save.md
Last active October 19, 2024 04:55
VSCode: Python Sort Imports on File Save (isort)

VSCode: Python Sort Imports on File Save (isort)

Update 2024

VSCode used to have issues with sorting Python imports (2021), as described further down below, but this has since been fixed.

All you need to do to make VSCode use its builtin isort on save is this in your settings.json:

@tterb
tterb / README-badges.md
Last active October 18, 2024 07:24
A collection of README badges

Badges

License

MIT License GPLv3 License AGPL License

Version

Version GitHub Release

@deanveloper
deanveloper / ProxyRunnable.java
Last active April 25, 2020 14:44
Easy way to create runnable stuff in BungeeCord, compatible with lambdas as well.
//JAVA 8
import net.md_5.bungee.api.ProxyServer;
import net.md_5.bungee.api.scheduler.ScheduledTask;
import java.util.concurrent.TimeUnit;
@FunctionalInterface
public interface ProxyRunnable extends Runnable{
default ScheduledTask runAsync(){