- Create your bot with botfather
- Make you bot an admin of your channel
Go to Telegram web and open a channel, get the ID from -[channel id] from hash in the path
https://web.telegram.org/k/#-9999999999999
| #!/bin/bash | |
| # Check if interval argument is provided | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 -int <interval_in_seconds>" | |
| exit 1 | |
| fi | |
| # Extract the interval value | |
| interval=$2 |
| # | |
| # REQUIRES: | |
| # - server (the forge server instance) | |
| # - event (the forge event instance) | |
| # - sudo_password (random password for sudo) | |
| # - db_password (random password for database user) | |
| # - callback (the callback URL) | |
| # |
| <?php | |
| namespace Valet\Drivers\Custom; | |
| use Valet\Drivers\ValetDriver; | |
| class PrestaShopValetDriver extends ValetDriver | |
| { | |
| public static $ps_exclusions = ['ajax.php', 'dialog.php', 'ajax_products_list.php', 'autoupgrade/', 'filemanager/']; |
| <?php | |
| namespace App\Filament\PageTemplates; | |
| use Filament\Forms\Components\Repeater; | |
| use Filament\Forms\Components\RichEditor; | |
| use Filament\Forms\Components\TextInput; | |
| final class Faq | |
| { |
| const plugin = require("tailwindcss/plugin"); | |
| module.exports = plugin(function ({ addUtilities, matchUtilities, theme }) { | |
| const scrollbarTrackColorValue = (value) => ({ | |
| '--scrollbar-track': value, | |
| '&::-webkit-scrollbar-track': { | |
| "background-color": value | |
| } | |
| }) |
| # Replace! | |
| # [!server!] (the forge server instance) | |
| # [!sudo_password!] (random password for sudo) | |
| # [!db_password!] (random password for database user) | |
| # [!user.name!] (git user name) | |
| # [!user.email!] (git user email) | |
| # [!server_ip!] (git user email) | |
| # | |
| # REQUIRES: |