Код в мешке
252 subscribers
9.13K photos
1.61K videos
2.11K files
43.1K links
Код в мешке - про кодинг, и не только...
Это личная записная книжка

https://t.me/joinchat/AAAAAEIy6oGlr8oxqTMS5w
Download Telegram
Forwarded from Дневник Трейдера
дневник трейдера.xlsx
10.3 KB
Forwarded from ЗаТелеком 🌐
Оказывается, список писали "от балды". Ну, просто по каким-то причинам кого попало включили. Никто никого не спрашивал — просто создали "список".

Кроме того, у ресурсов с большой нагрузкой используются CDN. Ну, то есть — для того, чтоб работала вот та же ВКшечка, в реестр нужно внести еще с десяток доменов.

А именно:
login.vk.com — чтоб получить доступ в sign-on
stats.vk-portal.net — для статического контента. логотип ВК лежит там.
m.vk.com — мобильная версия
cdn-vk.com — это как раз для всякого "тяжелого контента"
top-fwz1.mail.ru — потому что там стата считается
и еще много каких доменов, которые мне уже лень искать — я только по входной страничке посмотрел. А еще — я слышал на какой-то конфе, как ВКшчка перепиливала свой собственный протокол, реализующий TCP-over-UDP и это тоже важная технологическая история.

И для сайта нашего правительства ВНЕЗАПНО нужно тоже немножко больше ресурсов открыть, чем просто government.ru. Например:
schema.org — комьюнити W3-консорциума для получения схемы документа
или ogp.me — описание Open Graph протокола.
Или webmaster.yandex.ru для получения вокабуляра и переводчика


Для остальных ресурсов все может быть еще печальнее, ибо там почти всегда используются какие-то библиотеки сторонних разработчиков, CDN, ускороителей и сайд-проектов.

Но это еще не все. Для мобилы нужно обязательно открыть доступ к
(play).google.com и (itunes).apple.com ибо апдейты, пуши и коннекты для смартфонов необходимы — иначе это вся эти устройства превращаются в тыкву. И да — если не будет доступа к appspot.com, то приложения тоже будут работать некорректно.

Итого: конечно, поэкспериментировать боковому министерству никто запретить не может. Но прежде чем выдавать нормативно-правовые акты, хотелось бы увидеть внятно сформулированную гипотезу. Ну, хотя бы "а будет ли вообще этот список работать в "бесплатном интернете". А еще — "а чтоб этот список заработал, то какую часть интернетов нам нужно еще добавить?"

А дальше будет возникать все больше и больше вопросов. Потому что современный интернет устроен чуточку сложнее, чем его себе представляет.

(подсказываю проблему, которая ввергнет в ступор боковое министерство: если открыть "бесплатный доступ" к appspot.com, чтоб работала вкшечка и яндекс.навигатор, то откроется и... сайт Навального с умным голосованием. И это будет очень смешно)

И, кстати. В списке отсутствуют сайты... региональных правительств и муниципалитетов, где публикуют местные распоряжения и информацию про COVID. И совсем смешно — забыли сайт председателя правительства. Он на домене premier.gov.ru лежит. Ну, то есть — Дума есть. Совфед есть. Генпрокуратура есть. А премьера Мишустина — нет. Ха-ха.
Forwarded from Deleted Account
Что я могу:
1. В данный момент я поддерживаю конвертацию в 29 различных форматов в том числе конвертацию стикеров(без анимаций), ссылок, и просто введенного текста.
2. Создание стикера из картинок. Просто отправьте мне картинку и выберите тип STICKER на клавиатуре.
3. Переименовать файл.
4. Извлечь файлы из архива.
5. Создать архив из файлов.
6. Извлечь текст с картинки.
Инструкцию по работе с ботом и весь список поддерживаемых форматов вы можете найти в статье Бот SmartFileUtils.
Следите за обновлениями! Разработчики постоянно работают над улучшением бота. Скоро вы увидите новые форматы для конвертации и новые форматы архивов.

Если вы обнаружили ошибку или есть, какие то предложения по улучшению работы бота или вопросы напиши нам в Службу поддержки. Если какой то формат отсутствует, то вы можете так же написать в Службу поддержки и скоро он появится в списке поддерживаемых форматов.

Бот никаких ограничений не накладывает.
Телеграмм накладывает следующие ограничения: размер входного файла не должен превышать 20MB и размер выходного файла не должен превышать размер в 50MB. Если размер будет превышать я сообщу вам об этом.

В разделе Мои запросы вы можете посмотреть список активных запросов на конвертацию, их статус, время с начала обработки и другую информацию о запросе на конвертацию.

Инструкция по конвертации:
1. Отправьте мне желаемый файл, ссылку или текст
2. Выберите на клавиатуре формат, в который надо сконвертировать файл
3. Через некоторое время файл будет готов и я отправлю его вам
Forwarded from Deleted Account
Обновление:
1. Новый раздел Фоторедактор для редактирования картинок.
2. Улучшена конвертация ссылок в pdf. Теперь ссылка в pdf будет выглядеть в таком же виде как она выглядит в окне браузера.
3. Добавлена возможность архивировать файлы любого вида(аудио, видео, картинки, документы).
4. Улучшена и ускорена конвертация электронных книг(epub).
5. Улучшена конвертации текста в другие форматы.

Наберите команду /start для того, чтобы начать работать с новыми функциями.

По всем возникшим вопросам и предложениям пишите в нашу круглосуточную Группу поддержки.
Forwarded from Conflux Updates
With @TweetSonBot you can track Tweets containing specific keywords OR tweets by specific Twitter accounts.

All tweets will be received inside bot with a hashtag #tweet

So you can whitelist #tweet while creating combinations and send the tweets to your channels, groups or chats.
Forwarded from Conflux Updates
Now you can highlight the whitelist Keyword that triggered the message to forward.
Option can be enabled/disabled inside Combination Configuration screen.

Example: above combination had Trigger Keyword set in whitelist so it highlighted that part of message.
Forwarded from Conflux Updates
Improvements: 💥
- bot will now auto disable twitter sharing option in all your combinations, if your Twitter account gets detected by twitter as spam or needs human verification

Info: Twitter disables account api access if you send too many posts in short period of time or repeated posts with same content.

TIP: Make sure to not make your combinations too broad by making appropriate use of filters like blacklist and whitelist so as to send less posts to Twitter and stay safe from any possible limitations imposed by twitter.
Forwarded from Conflux Updates
Improvements: 💥
- you can now filter content from specific authors in supergroups

Q: How to use Author filter?
A:
You can blacklist or whitelist one or more authors in any supergroup.

1. To apply author filter, first create a combination as you normally do.
2. To blacklist an author go to Blacklist option inside Combination configuration screen and send the author chat_id (username in case of discord) in following format:
(we will use 123456 as author chat_id in this example)

author:123456

In similar way you can whitelist author using Whitelist option.

* If you blacklist authors, your combination will not process any message sent by those authors.

* If you whitelist an author (or multiple authors), your combination will only send messages sent by whitelisted authors. Any message by non whitelisted author will be ignored.

Q: How to find the chat_id of a telegram user?
A:
You can obtain any telegram user chat_id by forwarding their message to @getidsbot
Forwarded from Conflux Updates
We just released a simple watermark bot (more like a watermark tester bot)

@ImageDecorBot

You can send command to test what the outcome will look like and then copy paste the final commands to Conflux or Affilio to watermarkify your images on the fly.
Forwarded from Conflux Updates
🤔How can I replace any url in original message with a custom url? #tips
🤖: Following regex will replace all links.

"<a href.+?</a>"="<a href="https://confluxbot.com/">Display name (or emoji) for new link</a>"

or use url as link name as well to not hide the link inside some text:

"<a href.+?</a>"="<a href="https://confluxbot.com/">https://confluxbot.com/</a>"
Forwarded from Conflux Updates
1. How to change affiliate tags using text manipulation? #tips

- Amazon
url:tag=yourAffiliateTag-21

- Flipkart
url:affid=yourAffiliateId

2. How to change remove any usernames from message?

(@|(https?:\/\/)?(www\.)?(telegram\.(?:me|dog)|t\.me)\/)[\w_]+=

3. How to change any username / telegram link to a custom username?

(@|(https?:\/\/)?(www\.)?(telegram\.(?:me|dog)|t\.me)\/)[\w_]+=@MyCustomName
Forwarded from Conflux Updates
If you do not see a channel / group while selecting DESTINATION, it's probably because you do not have either of post, edit or delete messages rights in that chat / channel.

You must have atleast all three rights enabled as depicted in image above.

Verify your rights and make it right then refresh the list using /refresh_telegram
Forwarded from Conflux Updates
1. How to change affiliate tags using text manipulation? #tips

- Amazon
url:tag=yourAffiliateTag-21

- Flipkart
url:affid=yourAffiliateId

2. How to change remove any usernames from message?

(@|(https?:\/\/)?(www\.)?(telegram\.(?:me|dog)|t\.me)\/)[\w_]+=

3. How to change any username / telegram link to a custom username?

(@|(https?:\/\/)?(www\.)?(telegram\.(?:me|dog)|t\.me)\/)[\w_]+=@MyCustomName
Forwarded from Conflux Updates
🤖 🎉🎉🎉🎉🎉🎉🎉🎉🎉🤖
We have released two Conflux API:
🤖🎉🎉🎉🎉🎉🎉🎉🎉🎉🤖

1. For Bots: [needs Bot Token from @BotFather]
https://botapi.confluxbot.com

2. For Conflux Users: [needs api_key from @ConfluxBot]
https://api.confluxbot.com

Both API can be used to send text messages, *photos, *files, *gif, *other documents to user, chat, or channels with text formatting.

The bot api can additionally be used to send messages with url buttons or hidden text buttons that gets revealed when user press it.

* 5 MB max size for photos and 20 MB max for other types of content.
Forwarded from Conflux Updates
Check out @IVSwitcherBot a bot to switch / navigate Instant / Web Views View in your message.

You can use me in following ways:
- Sending me a private message
- Use inline
- Add me to your channel with edit_message, post_messages and delete_message rights
- Add me to group

How and what I will do:
- I will look up for all urls in your message and create 2 row of buttons
1. For Text Based views
2. For Images

- If your message has existing url buttons, I will take care of that as well and add those in next row.

Test Articles Links:
1. Telegram Blog IV
2. Telegram Blog Calls
3. Telegram Telegraph

Test Images Links:
1. Telegram
2. Google
3. Bot father
Forwarded from Conflux Updates
With @ConfluxBot you can do following:

(without adding bot in either source or destination channel)
◾️Resend message between◾️
- Telegram to Telegram
- Telegram to Discord
- Discord to Telegram
- Discord to Discord

◾️Ability to filter using◾️
- Blacklist
- Whitelist

◾️Text Manipulation◾️
- RegEx supported
- Change Text before sending
- Url Manipulations: meaning you can add your affiliate tags to urls before resending messages.
- Shorten links using bitly

◾️Image Manipulation◾️
- Convert Image to Text using OCR
- Decorate/Watermark: Add text/image to original image

◾️Other Automations ◾️
- Auto Reply to messages
- Control other telegram bots

◾️External Service Integration◾️
- Receive notification from external services using webhook
Forwarded from Conflux Updates
Tired of answering same questions again and again to all your buyers/clients or to your group members? Now setup auto reply.
Let @ConfluxBot do all the hard work for you !

Set 1 pair and bot (meaning you) will answer all similar questions !

Note: Each settings change takes 60 seconds to get effective so you get enough time to modify or cancel it.

You have the power to decide to auto answer only in private or in groups as well :)
Forwarded from Conflux Updates
💡Quick Tip:
You can use @GmailBot to receive your emails instantly in telegram and then use @ConfluxBot to forward emails to your channel or groups.

Whitelist feature of Conflux comes handy here to filter out emails coming from specific senders.