Skip to content

Instantly share code, notes, and snippets.

@kovalchukrs
kovalchukrs / clickhouse-compose.md
Last active December 21, 2023 09:18
ClickHouse compose

Docker compose for ClickHouse DB

services:
  clickhouse:
    image: clickhouse/clickhouse-server:23.8.4.69
    ports:
      # http interface
      - "8123:8123"
 # native interface for cliclkhiuse-client
@kovalchukrs
kovalchukrs / kafka_deploy.md
Last active November 3, 2025 20:45
Deploy Kafka with Kraft | Systemd unit

Deploy Kafka with Kraft | Systemd unit

Create user kafka

adduser kafka
adduser kafka sudo
su - kafka

Description

@xholicka
xholicka / gist:8e877fd7d1ca5d9a43a3c7f8c35cbeca
Created September 22, 2022 22:36
Wordpress with Docker on Raspberry Pi
Install Docker on Raspberry Pi:
curl -sSL https://get.docker.com | sh
Add user to docker group:
sudo usermod -aG docker ${USER}
#relog into raspberry pi
Contents of docker-compose.yml file:
------------------------------------
@iworker
iworker / instruction.md
Last active October 2, 2025 02:49
Install & configure Kerio VPN Client for docker-machine (with xhyve driver) and TinyCoreLinux installed as virtual machine on macOS
  1. Logging into docker-machine: docker-machine ssh default
  2. Create temporary working directory and changing to: mkdir kerio && cd kerio
  3. Download latest DEB-package of Kerio VPN client: wget https://cdn.kerio.com/dwn/kerio-control-vpnclient-linux-amd64.deb
  4. Unpack the package using ar utility: ar -x kerio-control-vpnclient-linux-amd64.deb
  5. Unpack internal archives:
tar -xzvf control.tar.gz
tar -xJvf data.tar.xz
  1. Copy all the shared libraries
@chriswayg
chriswayg / Ubuntu_Debian_Cloud_images_in_Proxmox.md
Last active December 17, 2025 20:44
Ubuntu and Debian Cloud images in Proxmox
@opt9
opt9 / .profile
Created April 5, 2017 04:04
Linux Color Man Page config
export LESS_TERMCAP_mb=$'\e[1;34m' # begin bold
export LESS_TERMCAP_md=$'\e[1;32m' # begin blink
export LESS_TERMCAP_so=$'\e[01;44;37m' # begin reverse video
export LESS_TERMCAP_us=$'\e[01;36m' # begin underline
export LESS_TERMCAP_me=$'\e[0m' # reset bold/blink
export LESS_TERMCAP_se=$'\e[0m' # reset reverse video
export LESS_TERMCAP_ue=$'\e[0m' # reset underline
export GROFF_NO_SGR=1 # for konsole and gnome-terminal
export MANPAGER='less -s -M +Gg'

Kafka installation with systemd

0. Create kafka user

sudo adduser kafka
sudo adduser kafka sudo
su -l kafka

1. Download and Install kafka archive

@nrollr
nrollr / nginx.conf
Last active November 14, 2025 02:31
NGINX config for SSL with Let's Encrypt certs
# UPDATED 17 February 2019
# Redirect all HTTP traffic to HTTPS
server {
listen 80;
listen [::]:80;
server_name www.domain.com domain.com;
return 301 https://$host$request_uri;
}
# SSL configuration
@rxaviers
rxaviers / gist:7360908
Last active January 2, 2026 21:45
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@andrewh
andrewh / anyconnect.scpt
Last active December 15, 2025 19:47
Applescript to automate the Cisco AnyConnect SSL VPN client on OS X Mavericks
-- 1. Place in ~/Library/Scripts and enable the Applescript menu via the Applescript Editor
-- 2. Substitute "vpn.example.com" and "redacted" for your VPN server and password
-- 3. Open Security & Privacy System Preferences, go to Privacy, Accessibility
-- 4. Enable Applescript Editor and System UI Server
-- 5. Trigger script from the menu
-- 6. Enjoy being connected
tell application "Cisco AnyConnect Secure Mobility Client"
activate
end tell