Skip to content

Instantly share code, notes, and snippets.

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

Epat Epacik

💭
I may be slow to respond.
  • Poznań, Poland
  • 22:21 (UTC +02:00)
View GitHub Profile
@WaxyMocha
WaxyMocha / download_and_cut.py
Last active February 14, 2020 08:42
Download and cut youtube video
#!/usr/bin/python
import os
import os.path as path
import string
import random
import argparse
import subprocess
@jonlabelle
jonlabelle / async_await_best_practices_cheatsheet.md
Last active May 12, 2024 03:58
C# Asynchronous Programming Guideline Cheat Sheet

Async Await Best Practices Cheat Sheet

Summary of Asynchronous Programming Guidelines

Name Description Exceptions
Avoid async void Prefer async Task methods over async void methods Event handlers
Async all the way Don't mix blocking and async code Console main method
Configure context Use ConfigureAwait(false) when you can Methods that require con­text