Skip to content

Instantly share code, notes, and snippets.

View jackyliu16's full-sized avatar
😅
Damned, control freak

OneDragon424 jackyliu16

😅
Damned, control freak
View GitHub Profile
@hnaderi
hnaderi / reset-nix-proxy.sh
Created August 21, 2023 14:45
Set temporary proxy for nix-daemon
#!/usr/bin/env bash
rm /run/systemd/system/nix-daemon.service.d/proxy-override.conf
systemctl daemon-reload
systemctl restart nix-daemon
@luochen1990
luochen1990 / shell.nix
Created February 14, 2022 08:49
(示例) 在 NixOS 中构建可用 pip 的 python 隔离环境
#!/usr/bin/env nix-shell
#! nix-shell shell.nix
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
name = "devbox";
targetPkgs = pkgs: (with pkgs; [
python38
python38Packages.pip
@iwalpola
iwalpola / stm32_gpio_reg.md
Last active April 8, 2025 10:07
STM32 GPIO registers cheatsheet