Skip to content

Instantly share code, notes, and snippets.

View ccrsxx's full-sized avatar
💭
I may be slow to respond.

Ami ccrsxx

💭
I may be slow to respond.
View GitHub Profile
@ccrsxx
ccrsxx / v2ray-client-on-mikrotik.md
Last active October 27, 2025 08:56
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:

@ccrsxx
ccrsxx / docker.md
Created December 16, 2024 16:21
My notes on docker

Learning Docker

Container

A container is a running instance of an image. You can create, start, stop, move, or delete a container using the Docker API or CLI. You can connect a container to one or more networks, attach storage to it, or even create a new image based on its current state. Basically, a container is a very lightweight VM that only provides the resources and environment to run applications.

Building image

  • FROM. The first instruction in the Dockerfile must be FROM, which defines the base image to use to start the build process. The FROM instruction can appear multiple times within a single Dockerfile in order to create multiple images. Simply make a note of the last image ID output by the commit before each new FROM instruction.
@ccrsxx
ccrsxx / compose.yaml
Last active May 30, 2025 07:08
wg-easy port forward
volumes:
etc_wireguard:
networks:
net_wireguard:
driver: bridge
ipam:
config:
- subnet: 172.18.0.0/16
gateway: 172.18.0.1
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 8, 2025 07:37
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@Zekfad
Zekfad / conventional-commits.md
Last active December 7, 2025 18:30
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries
@qcasey
qcasey / README.md
Last active October 11, 2025 17:43 — forked from mill1000/README.md
Headless A2DP Audio Streaming on Ubuntu / Debian for non-raspbian SBCs (ODROID, Orange Pi, Armbian, etc)

About

This gist will show how to setup a generic SBC Debian / Ubuntu install as a headless Bluetooth A2DP audio sink. This will allow your phone, laptop or other Bluetooth device to play audio wirelessly through a Rasperry Pi.

Motivation

This is forked from another gist specific to the Raspberry Pi on Stretch. A required package isn't in Ubuntu's repos, so in this gist we build it from scratch.

Tested to be working on Armbian/Ubuntu/Debian images of the Orange Pi Zero, ODROID XU4, ODROID N2, and Atomic Pi.

Prerequisites

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active December 7, 2025 19:34
Conventional Commits Cheatsheet