Skip to content

Instantly share code, notes, and snippets.

@galargh
galargh / tar_reader.go
Created March 30, 2023 09:34
in-memory tar in Go
package main
import (
"archive/tar"
"fmt"
"io"
"os"
"strings"
"testing/fstest"
)
@galargh
galargh / main.sh
Created March 28, 2023 08:06
libp2p benchmarks
#!/bin/bash
set -e
trap cleanup EXIT
function cleanup {
echo "Destroying infrastructure..."
terraform destroy -auto-approve
echo "Infrastructure destroyed."
@galargh
galargh / kubo-sharness-gateway-tests.md
Created February 2, 2023 13:15
ipfs/kubo/test/sharness/*gateway*.sh
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {},
      "geometry": {
        "type": "Polygon",
        "coordinates": [
@galargh
galargh / kubo-0.16.0-release-worklog.md
Last active September 22, 2022 08:51
Kubo 0.16.0 Release: worklog
@galargh
galargh / gh-projects-migration.md
Created March 8, 2022 13:09
How to migrate from GitHub Projects to GitHub Projects (Beta)?

How to migrate from GitHub Projects to GitHub Projects (Beta)?

This is a short tutorial on how to automate the migration process between the legacy project boards and the new projects.

Prerequisites

GITHUB_TOKEN

An exported GITHUB_TOKEN with the following permissions will be required:

  • ...