Skip to content

Instantly share code, notes, and snippets.

View yousiki's full-sized avatar
:octocat:
Learning Nix and Rust!

yousiki yousiki

:octocat:
Learning Nix and Rust!
View GitHub Profile
@liuran001
liuran001 / config.yaml
Last active December 10, 2025 01:03
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
@ChadSki
ChadSki / conda-cuda-fhs-nix-flake-shell.md
Last active November 5, 2024 12:29
Nix flake shell with conda and cuda in an FHS user environment

Run NIXPKGS_ALLOW_UNFREE=1 nix develop --impure to enter the shell, then conda update conda.

@james20200418
james20200418 / example-config.yaml
Last active August 31, 2025 07:03 — forked from migege/example-config.yaml
Clash config using proxy-providers and rule-providers
###############################################################
# 本范例来源为网友
# 感谢网友 Ricky9w 私分享
###############################################################
mixed-port: 7890
#---------------------------------------------------#
## 配置文件需要放置在 $HOME/.config/clash/*.yaml
allow-lan: false
@kizzx2
kizzx2 / docker-compose.yml
Last active October 9, 2025 20:38
Restart a docker container periodically with docker-compose
version: '3'
services:
app:
image: nginx:alpine
ports: ["80:80"]
restart: unless-stopped
restarter:
image: docker:cli
volumes: ["/var/run/docker.sock:/var/run/docker.sock"]