Skip to content

Instantly share code, notes, and snippets.

@dehsilvadeveloper
dehsilvadeveloper / 0_prerequisites.md
Last active October 24, 2025 04:46
Installing Docker on WSL 2 with Ubuntu 22.04

Installing Docker on WSL 2 with Ubuntu 22.04

Instalando Docker em um WSL 2 com Ubuntu 22.04

Prerequisites

Before start the installation process, make sure you meet the following prerequisites:

  • A Windows 10 operating system with WSL 2 support.
  • WSL 2 enabled.
  • Ubuntu 22.04 installed on WSL 2.
@liuran001
liuran001 / config.yaml
Last active November 2, 2025 14:01
mihomo (Clash Meta) 懒人配置
# AFF
# 如果你想支持我,可以通过我的邀请链接购买机场
# 感谢支持
# 1. 倾城极速 邀请码: 0jiB5uAA https://qcjs.ovh/#/register?code=0jiB5uAA
# 2. ssLinks 邀请码: fSo2OhzH https://98a6251b6cd7471da86cca993b6dbe6f.36d.biz/#/register?code=fSo2OhzH
# 一定要填我的邀请码,不填我哭给你看😭
# mihomo (Clash Meta) 懒人配置
# 版本 V1.22-250718
@isc30
isc30 / steps.md
Last active May 11, 2025 10:37
Proxmox v7.4/v8 - Ryzen 7 7735HS - AMD Radeon 680M GPU passthrough
@wjy20030407
wjy20030407 / SER6 Pro Vest 7735HS.md
Last active May 9, 2024 11:44
SER6 Pro Vest 7735HS
@piyoki
piyoki / pve-trick-sriov-vf-configuration
Last active September 16, 2025 20:26
Enable SR-IOV VF on Proxmox 7+
# The following is a step-by-step example for enabling SR-IOV VF on Promxox 7+ with BCM57810 10G NIC
---
References
https://forum.proxmox.com/threads/enabling-sr-iov-for-intel-nic-x550-t2-on-proxmox-6.56677/
https://zhuanlan.zhihu.com/p/91197211
https://zhuanlan.zhihu.com/p/356437308
https://zhiliao.h3c.com/Theme/details/24770
https://blog.csdn.net/Jackykxy/article/details/120585563
---
PVE delte local-lvm partition
Reference: https://post.smzdm.com/p/awkv4pq4/
lvremove pve/data
lvextend -l +100%FREE -r pve/root
Datacenter >> remove `local-lvm` partition >> edit `local` >> select all options
@krono
krono / mlnx_sriov.sh
Last active April 16, 2025 11:13 — forked from koallen/mlnx_sriov.sh
Script to enable SRIOV virtual functions on Mellanox cards
#!/bin/bash
set -eu
# Hat tip to https://gist.github.com/koallen/32709a244d77a2c0f8e17ed79a4092ed
MLNX_SRIOV_DEVICES=""
[ -e /etc/default/mlnx_sriov ] && . /etc/default/mlnx_sriov
# params
# - device sys path (e.g. /sys/class/infiniband/mlx5_0)
#/bin/bash
# Ubuntu20 桌面环境配置(arm兼容)
# 2021 flyqie
# 遇到错误马上退出,避免出现其他问题
set -e
# ...
set -x
# Xrdp
@unixfox
unixfox / howto.md
Last active October 3, 2025 18:58
Install Alpine Linux on Oracle Cloud ARM VPS with Ubuntu pre-installed

features

  • working macvlan with docker
  • systemd network devices
  • each container can reach the whole nework (full routing)
  • docker-compose.yml example with static ipv4 on macvlan
  • if no ip defined, container get a ip within 192.168.155.192/27