Skip to content

Instantly share code, notes, and snippets.

@elRadix
elRadix / telegram_notification.sh
Created June 11, 2019 22:16 — forked from anson-vandoren/telegram_notification.sh
Travis-Telegram notification script
#!/bin/sh
##########################################################################
# Note: you must have set up your Travis CI environment variables for this
# project to include both TELEGRAM_TOKEN and TELEGRAM_CHAT_ID
# For more details, see the Telegram documentation at:
# - https://core.telegram.org/bots/api
# and the blog posts at:
# - https://ansonvandoren.com/posts/telegram-notification-on-deploy/
# - https://ansonvandoren.com/posts/travis-telegram-integration/
@elRadix
elRadix / gist:6e3abb17cfff9e81455027d8d8834d99
Created March 15, 2020 12:26
LXC USB Passthrough (Proxmox)
1. Plug USB device
root@proxmox01:~# lsusb
[...]
Bus 004 Device 005: ID 0658:0200 Sigma Designs, Inc.
[...]
2. Take a look of device
root@proxmox01:~# ls -l /dev/bus/usb/004/005
crw-rw-r-- 1 root root 189, 388 Oct 25 16:19 /dev/bus/usb/004/005