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
@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 March 5, 2025 00: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"]