- Open your app and search for @BotFather, or open this link: https://telegram.me/botfather.
- Type
/newbot
- Name your new bot (this is the contact name, like "Bot My server")
- Give it a unique Telegram name, ending with
bot
(like "my_server_bot") - Now, you should see a token: keep it safe!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// To test this: | |
// 1) npm install express fs https pem | |
// 2) node https_srv.js | |
// 3) open a new webpage on http://127.0.0.1 | |
// | |
// Provide here a valid key file and crt file to run a valid https server | |
// Invalid path will force the app to generate a self signed certificate | |
let certsFiles = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// To test this: | |
// 1) node requireHandleErrors.js | |
// | |
// Output should be: | |
// $ node requireHandleErrors.js | |
// Module "moduleNotFound" not found. Maybe it is not installed yet? | |
// | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### INFOS #### | |
openapi: "3.0.0" | |
info: | |
version: <PROJET VERSION> | |
title: <PROJET NAME> | |
description: >- | |
Multiline description allowed. | |
<br/> | |
<br/> | |
Lines jumps using `<br/>` are also possibles and Markdown |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Execute: | |
# chmod +x create_docker_volumes_and_networks.sh | |
# ./create_docker_volumes_and_networks.sh | |
# | |
# Verify docker networks and docker network cards: | |
# docker network ls | |
# ip a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; | |
; This is an AutoHotKey script that bind "CTRL + SHIFT + MOUSE SCROLL" to: | |
; - Volume Up (Scroll up) | |
; - Volume Down (Scroll down) | |
; - Volume Mute (Scroll Middle click) | |
; | |
; And also mouse wheel left and right to: | |
; - Back | |
; - Forward | |
; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## SOURCE | |
## - https://github.com/trimstray/iptables-essentials | |
## - https://gist.github.com/azlux/6a70bd38bb7c525ab26efe7e3a7ea8ac | |
# | |
# ============= | |
# Configuration | |
# ============= |
Fast and Automatic Software Install and Configuration (on Windows)
Install my common apps on Windows as fast as possible and mostly automatically, after a reimaging or reset of my OS. Also change some settings on Windows, like disabling the bing search in the start menu.
This PowerShell script uses Microsoft Store and winget to download and install a list of application, configured at the top of the file.