Skip to content

Instantly share code, notes, and snippets.

@ragnarokkrr
ragnarokkrr / docker-compose.yml
Last active October 15, 2025 11:07 — forked from gschmutz/docker-compose.yml
Docker Compose - Kafka Single Broker, Connect, Schema-Registry, REST Proxy, Kafka Manager [docker-compose, kafka]
version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:3.3.0
hostname: zookeeper
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
@ragnarokkrr
ragnarokkrr / tmux-cheat-sheet.md
Created November 9, 2022 13:58 — forked from michaellihs/tmux-cheat-sheet.md
tmux Cheat Sheet
@ragnarokkrr
ragnarokkrr / docker-wsl2.md
Created February 28, 2022 21:04 — forked from martinsam16/docker-wsl2.md
How to install wsl2 ubuntu + docker + docker-compose

Activate wsl2

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2

Install and Configure Ubuntu

@ragnarokkrr
ragnarokkrr / log.md
Last active April 8, 2021 10:36
Lombok CustomLog tag #java #logging
@ragnarokkrr
ragnarokkrr / helm-cheatsheet.md
Last active January 28, 2021 08:30 — forked from tuannvm/argo.md
Helm K8s Cheat Sheet #Helm #Kubernetes #cheatsheet, happy helming!
@ragnarokkrr
ragnarokkrr / split_and_merge.sh
Last active December 5, 2018 12:38
Split and merge large files on Linux FROM https://www.redips.net/linux/split-merge-large-files/ #linux
# split [option] [input [prefix]]
$ split --bytes=15G Downloads.tar.gz Downloads.tar.gz_
# cat [option] [file]...
$ cat WinXP_img_* > WinXP.img
@ragnarokkrr
ragnarokkrr / curl.md
Last active December 28, 2017 12:49 — forked from subfuzion/curl.md
curl POST examples #linux

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@ragnarokkrr
ragnarokkrr / tech-study.md
Last active February 15, 2019 16:44 — forked from diegopacheco/tech-study.md
Tech Study #doc

Tech Study

How to use this gist?

This gist contains lists of resources about JS, Mobile, Architecture/DevOps and Cloud Native. Each gist has a list
of technologies that you can do POC and CODE practice, also with a list of useful books and links.

Method

  • Create a github repository called sandbox- where track is: js,ArchDevOps,CN or Mobile.
@ragnarokkrr
ragnarokkrr / jvmtop-linux-java.md
Last active February 15, 2019 16:44 — forked from diegopacheco/jvmtop-linux-java.md
How to install and use JvmTOP? #java #linux
wget https://github.com/patric-r/jvmtop/releases/download/0.8.0/jvmtop-0.8.0.tar.gz
tar -xzvf jvmtop-0.8.0.tar.gz
rm -rf jvmtop-0.8.0.tar.gz
chmod +x jvmtop.sh
./jvmtop.sh

More on: https://github.com/patric-r/jvmtop

@ragnarokkrr
ragnarokkrr / cross-count-instances.sh
Last active February 18, 2019 15:48 — forked from j3tm0t0/cross-count-instances.sh
count instance number by type in all regions across accounts #aws #bash #linux
#!/bin/sh
if [ "$1" = "" ]
then
echo "usage: $0 [AccountID1] ( [AccountID2] [AccountID3] ...)"
exit
fi
for account in $*
do
echo accountid: $account