I hereby claim:
- I am bwplotka on github.
- I am bwplotka (https://keybase.io/bwplotka) on keybase.
- I have a public key ASBF3WaAmnBy4NO6giWMh5EvF0VTevLiRedpJYGZzb4fawo
To claim this, I am signing this object:
#!/bin/bash | |
#set -x | |
# Shows you the largest objects in your repo's pack file. | |
# Written for osx. | |
# | |
# @see https://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | |
# @author Antony Stubbs | |
# set the internal field separator to line break, so that we can iterate easily over the verify-pack output |
// Copyright (c) The Thanos Authors. | |
// Licensed under the Apache License 2.0. | |
package e2e_test | |
import ( | |
"context" | |
"fmt" | |
"net" | |
"net/http" |
// Copyright (c) The Thanos Authors. | |
// Licensed under the Apache License 2.0. | |
package manual | |
import ( | |
"context" | |
"io/ioutil" | |
"os" | |
"testing" |
#!/usr/bin/env bash | |
set -e | |
# Copyright (c) Bartłomiej Płotka @bwplotka | |
# Licensed under the Apache License 2.0. | |
# Yolo script allowing nice benchmark framework for iterative work on Go performance. | |
# Requirements: | |
# * Prepare worktree if you want to benchmark in background: git worktree add ../thanos_b yolo |
package replayable | |
import ( | |
"bytes" | |
"io" | |
) | |
type Reader struct { | |
wrapped io.Reader |
package main | |
import ( | |
"testing" | |
) | |
var sink1 = 0 | |
func BenchmarkNotDefered(b *testing.B) { | |
for n := 0; n < b.N; n++ { |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Script inspired by https://github.com/paxtonhare/demo-magic | |
# (https://github.com/paxtonhare/demo-magic/issues/15) | |
# | |
# Example usage in script: | |
# #!/usr/bin/env bash | |
# | |
# . demo-lib.sh | |
# |
package store | |
import ( | |
"context" | |
"io/ioutil" | |
"os" | |
"path/filepath" | |
"testing" | |
"time" |
for _, tcase := range []struct{ | |
}{ | |
{ | |
}, | |
}{ | |
if ok := t.Run("", func(t *testing.T) { | |
}); !ok { | |
return |