I hereby claim:
- I am joec4i on github.
- I am joec4i (https://keybase.io/joec4i) on keybase.
- I have a public key ASAd1PKYaoo0AdlM5bTPddOZNUXteFiHw0JrMPsZ2xU7zQo
To claim this, I am signing this object:
2023/06/15 10:48:42 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< | |
2023/06/15 10:48:42 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
2023/06/15 10:48:42 DEBUG : HTTP REQUEST (req 0x140007a0500) | |
2023/06/15 10:48:42 DEBUG : GET /v1/AUTH_test/bar?delimiter=%2F&format=json&limit=1000 HTTP/1.1 | |
Host: 127.0.0.1:8080 | |
User-Agent: rclone/v1.63.0-beta.7067.c7d63704d.swift-dir-marker | |
Transfer-Encoding: chunked | |
X-Auth-Token: XXXX | |
Accept-Encoding: gzip |
package main | |
import ( | |
"context" | |
"fmt" | |
"github.com/ncw/swift/v2" | |
) | |
const container = "foo" |
socat tcp-listen:19001,fork,reuseaddr \ | |
exec:'ip netns exec c878c09b86bf socat STDIO "tcp-connect:127.0.0.1:19001"',nofork |
<?php | |
// Usage: php socket_test.php [number_of_connections] [timeout] | |
ini_set('display_errors', 'On'); | |
ini_set('error_reporting', 'E_ALL'); | |
$n = (int)($argv[1] ?? 100); | |
$timeout = (float)($argv[2] ?? 0.5); | |
(new StreamSocketTest())->run($n, $timeout); | |
class StreamSocketTest |
I hereby claim:
To claim this, I am signing this object:
socat -t5 -T5 - TCP-LISTEN:8888,fork,reuseaddr |
socat -t5 -T5 - TCP-LISTEN:8888,fork,reuseaddr |
import boto3 | |
boto3.set_stream_logger('boto3.resources.action') | |
session = boto3.Session() | |
s3 = session.resource(service_name='s3') | |
bucket = s3.Bucket('bucket-name') | |
bucket.object_versions.delete() | |
bucket.delete() |
package main | |
import "fmt" | |
var letterValuesConfig = map[string]int{ | |
"AEIOULNRST": 1, | |
"DG": 2, | |
"BCMP": 3, | |
"FHVWY": 4, | |
"K": 5, |
# Setting up GlusterFS on Vagrant for Kubernetes | |
Note that since this is only a setup for local testing, there is no redundancy or authentication configuration. | |
* The Vagrantfile for a two-node set-up | |
``` | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
hosts = { |