Synology RAID1 With 2 nvme SSD

:~# synopartition --part /dev/nvme0n1 12
:~# synopartition --part /dev/nvme1n1 12

:~# fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 970 EVO Plus 500GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: … Continue reading

Telegram Bots und Synology

https://localhost/telegram.php?user=1&pass=1&phone=010&body=Hello World&bot_token=TOKEN_API_STRING&chat_id=CHAT_OR_USER_ID

Die Chat ID beginnt mit einem minus zeichen userID’s sind ohne

Die User bzw Chat ID findet man dann wie folgt raus:

https://api.telegram.org/botTOKEN_API_STRING/getUpdates

telegram.php mit folgendem Inhalt auffüllen:

 

<?php
header("Content-Type: text/html; charset=utf-8");

define('BOT_TOKEN', $_GET["bot_token"]);
define('API_URL', 'https://api.telegram.org/bot'.BOT_TOKEN.'/');

// grab the chatID
$chatID = $_GET["chat_id"];

// … Continue reading