https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png
![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png | width=100)
<?PHP | |
// Generates a strong password of N length containing at least one lower case letter, | |
// one uppercase letter, one digit, and one special character. The remaining characters | |
// in the password are chosen at random from those four sets. | |
// | |
// The available characters in each set are user friendly - there are no ambiguous | |
// characters such as i, l, 1, o, 0, etc. This, coupled with the $add_dashes option, | |
// makes it much easier for users to manually type or speak their passwords. | |
// | |
// Note: the $add_dashes option will increase the length of the password by |
package main | |
import ( | |
"fmt" | |
"net/http" | |
"sync" | |
) | |
func main() { | |
// A slice of sample websites |
const TelegramBot = require('node-telegram-bot-api'); | |
const axios = require('axios'); | |
// Telegram's token | |
const token = 'your_telegrams_token'; | |
//OpenWeatherMap API key | |
const appID = 'your_openweathermap_api_key'; | |
// OpenWeatherMap endpoint for getting weather by city name |
# python3 | |
import asyncio | |
import sys | |
counter = 0 | |
async def run_server(host, port): | |
server = await asyncio.start_server(serve_client, host, port) | |
await server.serve_forever() |
""" | |
This is a simple example of usage of CallbackData factory | |
For more comprehensive example see callback_data_factory.py | |
""" | |
import asyncio | |
import logging | |
from aiogram import Bot, Dispatcher, executor, types | |
from aiogram.contrib.fsm_storage.memory import MemoryStorage |