Open Telegram and search for @BotFather user and message them the following:
You
/newbot
BotFather
/newbotGrafana Bota_new_grafana_bot/start. Thus you start chatting with the bot and this room is assigned chat id. (Thanks to @KES777)| #! /usr/bin/env bash | |
| # | |
| # ssh admin user creation script | |
| # | |
| # https://gist.github.com/NickKelly1/a2f873394c084597744fec1a744b44d0 | |
| # | |
| # usage: | |
| # # curl -s https://gist.github.com/NickKelly1/a2f873394c084597744fec1a744b44d0/raw > admin-init.sh | |
| # # chmod +x ./createuser.sh |
| #! /usr/bin/env bash | |
| # | |
| # vim config script | |
| # | |
| # https://gist.github.com/NickKelly1/899adc6d80ca64e7a24edca087167c99 | |
| # | |
| # usage: | |
| # $ curl -s https://gist.github.com/NickKelly1/899adc6d80ca64e7a24edca087167c99/raw | bash | |
| # |
| #! /usr/bin/env bash | |
| # | |
| # tmux config script | |
| # | |
| # https://gist.github.com/NickKelly1/0e5f83b6fe851cebfe4629227833e22f | |
| # | |
| # usage: | |
| # $ curl -s https://gist.github.com/NickKelly1/0e5f83b6fe851cebfe4629227833e22f/raw | bash | |
| # |
| #!/bin/bash | |
| set -e | |
| # Sets up an new myql instalation (Ubuntu 20.04)s | |
| # 1. Downloads mysql-server if necessary | |
| # 2. Secures the installation | |
| # 3. Sets the root password | |
| # 4. Creates an app related DB |
| 'use strict'; | |
| /** | |
| * @callback BeforeShutdownListener | |
| * @param {string} [signalOrEvent] The exit signal or event name received on the process. | |
| */ | |
| /** | |
| * System signals the app will listen to initiate shutdown. | |
| * @const {string[]} |
Hi there! Since this post was originally written, nvm has gained some new tools, and some people have suggested alternative (and potentially better) approaches for modern systems. Make sure to have a look at the comments to this article, before following this guide!
Trickier than it seems.