Skip to content

Instantly share code, notes, and snippets.

@bigdragon1977
bigdragon1977 / compile.sh
Created June 20, 2022 12:37 — forked from alealexpro100/compile.sh
Build Rustdesk-Server under Alpine Linux + service to run it (based on samba service file).
#!/bin/bash
set -e
declare packages="git alpine-sdk cargo"
declare project_name="rustdesk-server"
echo "Installing build packages..."
sudo apk add $packages
@bigdragon1977
bigdragon1977 / inverter-monitor.yaml
Created December 11, 2023 19:37 — forked from vladyspavlov/inverter-monitor.yaml
Must inverter ESPHome configuration for ESP32
substitutions:
inverter_id: inverter
updates: 5s
api_key: xxx
ota_password: xxx
esphome:
name: inverter-monitor
comment: "Inverter monitor"
/*
* See documentation at https://nRF24.github.io/RF24
* See License information at root directory of this library
* Author: Brendan Doherty (2bndy5), Tom Clement (tjclement)
*/
/**
* A modified example from the NRF24 library, that cycles through brightness levels of Neewer NL660-2.4 light panels.
*/
#include <SPI.h>

How to get Telegram Bot Chat ID

Create a Telegram Bot and get a Bot Token

  1. Open Telegram application then search for @BotFather
  2. Click Start
  3. Click Menu -> /newbot or type /newbot and hit Send
  4. Follow the instruction until we get message like so
    Done! Congratulations on your new bot. You will find it at t.me/new_bot.
    
'float_time'
'many2manyattendee'
'many2many_tags'
'one2many'
'email'
'mail_followers'
'mail_thread'
'many2many_tags_avatar'
'pad'
'statinfo'
@bigdragon1977
bigdragon1977 / ovpn-server-with-certs.md
Created April 24, 2025 17:03 — forked from timefcuk/ovpn-server-with-certs.md
MikroTik (RouterOS) script for setup OpenVPN server and generate certificates
@bigdragon1977
bigdragon1977 / instructions.md
Created February 2, 2026 14:14 — forked from andersondanilo/instructions.md
ms2109 linux (MacroSilicon USB Video)

Play

ffplay -f video4linux2 -framerate 60 -video_size 1920x1080 -input_format mjpeg /dev/video2

You can try other video number (video3, video4)

Maybe you need:

Create: /etc/udev/rules.d/91-hdmi-to-usb-ms2109.rules With: