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 July 9, 2025 05:20
mihomo (Clash Meta) 懒人配置
# AFF
# 如果你想支持我,可以通过我的邀请链接购买机场
# 感谢支持
# 1. 倾城极速 邀请码: 0jiB5uAA https://qcjs.ovh/#/register?code=0jiB5uAA
# 2. superbiu 邀请码: fACfjKC8 https://superbiu.com/#/register?code=fACfjKC8
# 一定要填我的邀请码,不填我哭给你看😭
# mihomo (Clash Meta) 懒人配置
# 版本 V1.21-250619
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33
@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 April 8, 2024 16:58 — 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 June 18, 2025 19:17
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"]