Skip to content

Instantly share code, notes, and snippets.

View seruman's full-sized avatar
🙃
🙃

Selman Kayrancioglu seruman

🙃
🙃
View GitHub Profile
@seruman
seruman / popuptmux
Created November 15, 2023 21:01
ghostty tmux popup session reproducer
#! /usr/bin/env bash
width=${2:-70%}
height=${2:-70%}
if [ "$(tmux display-message -p -F "#{session_name}")" = "popup" ];then
tmux detach-client
else
tmux popup -d '#{pane_current_path}' -xC -yC -w$width -h$height -E "tmux new -A -s popup"
fi
@seruman
seruman / gist:6f9a6718e29760af41683a4b45bd5ef2
Created March 3, 2021 12:56
kafka-lag-exporter topic re-create logs
2021-03-03 12:49:19,839 INFO akka.event.slf4j.Slf4jLogger - Slf4jLogger started
2021-03-03 12:49:19,994 INFO c.l.k.KafkaClusterManager$ akka://kafka-lag-exporter/user - Starting Kafka Lag Exporter with configuration:
Poll interval: 30 seconds
Lookup table size: 60
Metrics whitelist: [.*]
Admin client consumer group id: kafkalagexporter
Kafka client timeout: 30 seconds
Prometheus:
@seruman
seruman / testoutput.txt
Created May 20, 2020 20:51
s5cmd fdlimit branch test output on windows
? github.com/peak/s5cmd [no test files]
=== RUN TestExpandSources
=== PAUSE TestExpandSources
=== RUN TestExpandSource_Follow_Link_To_Single_File
--- PASS: TestExpandSource_Follow_Link_To_Single_File (0.00s)
=== RUN TestExpandSource_Do_Not_Follow_Link_To_Single_File
--- PASS: TestExpandSource_Do_Not_Follow_Link_To_Single_File (0.00s)
=== RUN TestExpandSource_Follow_Link_To_Directory
--- PASS: TestExpandSource_Follow_Link_To_Directory (0.00s)
=== RUN TestExpandSource_Do_Not_Follow_Link_To_Directory