santiago / Frigate Proxmox Config
0 喜欢
0 派生
1 文件
最后活跃于
1 | # USB Coral device |
2 | #Intel GPU accel for proxmox-A |
3 | #Enable EFI for |
4 | #cpu%3A x86-64-v2-AES,flags=+aes |
5 | #hostpci0%3A 0000%3A00%3A02.0,pcie=1,x-vga=1 |
6 | # |
7 | #vga%3Anone is the only way it will work with acceleration |
8 | #so VNC will not work |
9 | #usb0%3A host=1a6e%3A089a |
10 | args: -cpu host,hv-vapic,hv-evmcs |
santiago / Upgrade snac to stable
0 喜欢
0 派生
1 文件
最后活跃于
1 | #!/usr/bin/env bash |
2 | |
3 | #Pre existing cloned repo |
4 | cd $HOME/snac2 |
5 | |
6 | SNAC_USER=snac |
7 | SNAC_DATA=/home/snac/data |
8 | |
9 | separator() { |
10 | printf '=%.0s' $(seq $(tput cols)) |
santiago / /etc/nginx/update-home-ip.sh
0 喜欢
0 派生
1 文件
最后活跃于
1 | #!/usr/bin/env bash |
2 | |
3 | # ------------------------------------------------------------------------------ |
4 | # This will either allow automically with allowed IP or ask for auth otherwise |
5 | # in /etc/nginx/sites-available/search.lema.org |
6 | # ------------------------------------------------------------------------------ |
7 | # satisfy any; |
8 | # include /etc/nginx/home_allow.conf; |
9 | # auth_basic "Restricted"; |
10 | # auth_basic_user_file /etc/nginx/.htpasswd; |
santiago / start_chromium.sh - Pi no disk writing
0 喜欢
0 派生
1 文件
最后活跃于
# RUN chromium in full screen with minimal SD-Card writes, runs OK on a Raspberry 3 with a webpage playing video
1 | #!/bin/sh |
2 | |
3 | # RUN chromium in full screen with minimal SD-Card writes, runs OK on a Raspberry 3 with a webpage playing video |
4 | |
5 | # ADD a ram disk in fstab with this line |
6 | # tmpfs /tmpcache tmpfs nodiratime,noatime,nosuid,nodev,size=256M 0 0 |
7 | |
8 | # and that this script is called on startup for a minimalistic (no desktop setup) |
9 | # /etc/xdg/openbox/autostart |
1 | globals: |
2 | - id: ready_to_open |
3 | type: bool |
4 | initial_value: 'false' |
5 | |
6 | esphome: |
7 | name: entregas-lock |
8 | friendly_name: entregas-lock |
9 | on_boot: |
10 | then: |
santiago / vv.sh - vim or sudo vim
0 喜欢
0 派生
1 文件
最后活跃于
1 | #!/bin/bash |
2 | |
3 | vv() { |
4 | if [ $# -eq 0 ]; then |
5 | echo "Usage: vv <file>" |
6 | echo "Will edit with current user or sudo if needed but using nvim config of this user" |
7 | return 1 |
8 | fi |
9 | |
10 | vpath=$(which $EDITOR) |
santiago / .xbindkeysrc mac-like bindings
0 喜欢
0 派生
1 文件
最后活跃于
xbindkeys commands to make Command + C / V / X do Control + Shift + C / V / X
1 | "xdotool keydown Control_L keydown Shift_L sleep 0.1 key c keyup Shift_L keyup Control_L" |
2 | release+m:0x40 + c |
3 | |
4 | "xdotool keydown Control_L keydown Shift_L sleep 0.1 key x keyup Shift_L keyup Control_L" |
5 | release+m:0x40 + x |
6 | |
7 | "xdotool keydown Control_L keydown Shift_L sleep 0.1 key v keyup Shift_L keyup Control_L" |
8 | release+m:0x40 + v |
上一页
下一页