xfconf-query --channel xfce4-desktop --property /backdrop/screen0/monitor0/image-path --set /usr/share/backgrounds/xfce/xfce-blue.jpg
Гугл путных ответов не выдает
Actually it is not really banned but now redirects with 302 to auth page. It seems like auth is required when Instagram account and query geoIPs are different. Alternative is to use official API. No scraping can be done, because the profile link now also requires authentication. You can do authenticated scraping but you are limited to 200 queries ( that Instagram sends to get data) per hour.
сторонний человек мог давать согласие на merge. То есть видеть pull request и отписывать по этому поводу.
$text = "строка которую нужно удалить/строка которую нужно оставить";
$done = strstr($text, '/');
echo $done;
/строка которую нужно оставить
Как сделать, чтобы он реагировал на присоединения нового пользователя
как можно заставить бота обрабатывать любое сообщение в чате
- /setprivacy
- 'Enable' - your bot will only receive messages that either start with the '/' symbol or mention the bot by username.
'Disable' - your bot will receive all messages that people send to groups.
Current status is: DISABLED
npm i node-vkcoinapi
Удаление частного (приватного) репозитория приведет к удалению всех его форков.
Удаление публичного репозитория не приведет к удалению его форков.
>>> msg = '/cmd ping pong argumenty'
>>> args = msg.split(' ') ## переводим в массив
>>> args
['/cmd', 'ping', 'pong', 'argumenty']
>>> del args[0] ## убираем первый элемент
>>> args = ' '.join(args) ## соединяем обратно
>>> args
'ping pong argumenty'
Где можно посмотреть, в какое количество групп добавлен бот?
как деактивировать бота во всех группах, чтобы он остался только в одной?