Skip to content

Instantly share code, notes, and snippets.

View yannick's full-sized avatar
🏗️

Yannick Koechlin yannick

🏗️
View GitHub Profile
clickhouse-keeper-0 clickhouse-keeper + clickhouse-keeper --config-file=/etc/clickhouse-keeper/keeper_config.xml --force-recovery
clickhouse-keeper-0 clickhouse-keeper Processing configuration file '/etc/clickhouse-keeper/keeper_config.xml'.
clickhouse-keeper-0 clickhouse-keeper Including configuration file '/tmp/clickhouse-keeper/config.d/generated-keeper-settings.xml'.
clickhouse-keeper-0 clickhouse-keeper Couldn't save preprocessed config to /etc/clickhouse-keeper/keeper_config-preprocessed.xml: File is read-only: /etc/clickhouse-keeper/keeper_config-preprocessed.xml
clickhouse-keeper-0 clickhouse-keeper 2024.02.26 07:42:54.777834 [ 1 ] {} <Warning> KeeperLogStore: Don't have required amount of reserved log records. Need to read from 443665, smallest available log index on disk 528041.
clickhouse-keeper-0 clickhouse-keeper 2024.02.26 07:42:54.807824 [ 1 ] {} <Warning> KeeperServer: This instance is in recovery mode. Until the quorum is restored, no requests should be sent to any of the cluster instances. T
@yannick
yannick / readme.md
Created March 15, 2021 12:23 — forked from darwin/readme.md
APFS Container cloning/replicating under macOS 11.0 (Big Sur) - with a bootable system

It is the year 2020 and replicating APFS containers still sucks. One would expect it would be a simple copy and paste in the Disk Utility app but this is still far from reality.

Last year I wrote how I managed to clone my macOS system under Catalina. The main trick was to create a DMG file with multiple volumes, mount it on target machine and drop to command-line to do asr restore from synthetised disk while avoiding possible pitfalls.

The good news is that Apple devs definitely worked on improving this under Big Sur and added some documentation (see man asr). But I didn't understand it fully on first read. Maybe someone could explain how is this supposed to work?

---
# SSDs for bookie journal storage
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
namespace: pulsar
name: bookie-ssd
provisioner: kubernetes.io/aws-ebs
parameters:
type: gp2
#!/usr/bin/env bash
kubectl patch deployment $1 -p "{\"spec\": {\"template\": {\"metadata\": { \"labels\": { \"redeploy\": \"$(date +%s)\"}}}}}"
kg deployment $1 -o yaml
package main
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"os"
"github.com/aws/aws-sdk-go/aws"
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
1000;1000;Lausanne;Lausanne;VD;100060
1000;1000;Lausanne 1 Dépôt;Lausanne 1 Dépôt;VD;100060
1000;1000;Lausanne 2;Lausanne 2;VD;100200
1000;1000;Lausanne 3;Lausanne 3;VD;100060
1000;1000;Lausanne Ouchy;Lausanne Ouchy;VD;100060
1000;1000;Lausanne 7;Lausanne 7;VD;100060
1000;1000;Lausanne 8;Lausanne 8;VD;100060
1000;1000;Lausanne 12;Lausanne 12;VD;100012
1000;1000;Lausanne 14;Lausanne 14;VD;100014
1000;1000;Lausanne 16;Lausanne 16;VD;100016
1000;1000;Lausanne;Lausanne;VD;100060
1000;1000;Lausanne 1 D�p�t;Lausanne 1 D�p�t;VD;100060
1000;1000;Lausanne 2;Lausanne 2;VD;100200
1000;1000;Lausanne 3;Lausanne 3;VD;100060
1000;1000;Lausanne Ouchy;Lausanne Ouchy;VD;100060
1000;1000;Lausanne 7;Lausanne 7;VD;100060
1000;1000;Lausanne 8;Lausanne 8;VD;100060
1000;1000;Lausanne 12;Lausanne 12;VD;100012
1000;1000;Lausanne 14;Lausanne 14;VD;100014
1000;1000;Lausanne 16;Lausanne 16;VD;100016
z
y
xx
x2401
x
w
unbekannt
talstation15
t
reservoir
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AdjustWindowForFontSizeChange</key>
<true/>
<key>AllowClipboardAccess</key>
<true/>
<key>AnimateDimming</key>
<false/>
{
"Profiles": [
{
"Ansi 7 Color" : {
"Red Component" : 0.74901962280273438,
"Color Space" : "Calibrated",
"Blue Component" : 0.74901962280273438,
"Alpha Component" : 1,
"Green Component" : 0.74901962280273438
},