Skip to content

Instantly share code, notes, and snippets.

View alexclear's full-sized avatar
💭
Trapped in a Vim session

Alex Chistyakov alexclear

💭
Trapped in a Vim session
View GitHub Profile
@ccrsxx
ccrsxx / v2ray-client-on-mikrotik.md
Last active May 11, 2025 19:38
V2ray Client on Mikrotik

Vless Client Setup for Mikrotik Router with Xray-Core and Tun2Socks

Hi guys! I read this topic, but I can't understand the specific algorithm for running the client part of Vless for my VPS server. Maybe someone can systematize the recommendations and write a FAQ on this issue? So far I've understood one thing: I need Mikrotik on the ARM architecture with RouterOS 7.0, with the ability to install packages. Then, I need to install the Xray-core and Tun2Socks package (I don't need ADGuard), but the next steps are unclear...

Solution Overview

Thanks to the rebuilt Xray-core and hev-socks5-tunnel containers, it has become much easier to launch containers.

In addition to preparing the router for the installation of containers, it is also necessary to prescribe routing for marked traffic.

Steps:

@siavashs
siavashs / fix-helm-status.md
Last active October 19, 2022 17:01
Fix Helm release stuck in a pending status
  1. Get the release from Kubernetes
    $ kubectl get secret sh.helm.release.v1.<release>.v<version> -o yaml > release.yaml
  2. Open the release.yaml file in an editor and copy data.release value (or use Bash skills)
  3. Extract the release payload
    $ echo <release value> | base64 -D | base64 -D | gunzip > release
  4. Open release file and change status from pending-rollback to deployed
@MawKKe
MawKKe / cryptsetup-with-luks2-and-integrity-demo.sh
Last active May 9, 2025 14:16
dm-crypt + dm-integrity + dm-raid = awesome!
#!/usr/bin/env bash
#
# Author: Markus (MawKKe) [email protected]
# Date: 2018-03-19
#
#
# What?
#
# Linux dm-crypt + dm-integrity + dm-raid (RAID1)
#
@fxkraus
fxkraus / debian-install-megacli.md
Last active May 7, 2025 11:23
Install LSI MegaCli .deb package on Debian/Ubuntu

download

wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip

unzip

unzip 8-07-14_MegaCLI.zip