Skip to content

Instantly share code, notes, and snippets.

View mgerasimchuk's full-sized avatar

Mikhail Gerasimchuk mgerasimchuk

View GitHub Profile

############################################################################################################ ################## ############################# ################## #############################

              This Gist collection contains all localstack related examples

################## ############################# ################## ############################# ############################################################################################################

@marlosirapuan
marlosirapuan / gist:778d6beda5f8ab95695748011c864b19
Last active October 24, 2025 05:58
Download .m3u8 files on MacOS

Install ffmpeg

brew install ffmpeg

Download file through url, like this:

ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://url-file.domain.m3u8" -c copy video.mp4
@posener
posener / go-table-driven-tests-parallel.md
Last active November 25, 2025 08:25
Be Careful with Table Driven Tests and t.Parallel()

Be Careful with Table Driven Tests and t.Parallel()

We Gophers, love table-driven-tests, it makes our unittesting structured, and makes it easy to add different test cases with ease.

Let’s create our table driven test, for convenience, I chose to use t.Log as the test function. Notice that we don't have any assertion in this test, it is not needed to for the demonstration.

func TestTLog(t *testing.T) {
	t.Parallel()
@bobrik
bobrik / README.md
Last active March 27, 2025 02:16
CFS hiccups
@parmentf
parmentf / GitCommitEmoji.md
Last active December 3, 2025 06:56
Git Commit message Emoji