Узнал сегодня, что в виме можно работать с бинарными файлами.
Можно применить консольную команду xxd и перенаправлять её ввод и вывод.
:%!xxd - переведет текущий файл в hex представление.
:%!xxd -r - вернет обратно в бинарный.
Конечно, это не суперудобно - нужно помнить, что надо вернуть файл обратно + RO файлы придется редактировать, так что для большинства задач все-таки лучше подходит старый дедовский hexdump. Но прикольно знать, что так можно.
Узнал сегодня, что в виме можно работать с бинарными файлами.
Можно применить консольную команду xxd и перенаправлять её ввод и вывод.
:%!xxd - переведет текущий файл в hex представление.
:%!xxd -r - вернет обратно в бинарный.
Конечно, это не суперудобно - нужно помнить, что надо вернуть файл обратно + RO файлы придется редактировать, так что для большинства задач все-таки лучше подходит старый дедовский hexdump. Но прикольно знать, что так можно.
But Telegram says people want to keep their chat history when they get a new phone, and they like having a data backup that will sync their chats across multiple devices. And that is why they let people choose whether they want their messages to be encrypted or not. When not turned on, though, chats are stored on Telegram's services, which are scattered throughout the world. But it has "disclosed 0 bytes of user data to third parties, including governments," Telegram states on its website. Just days after Russia invaded Ukraine, Durov wrote that Telegram was "increasingly becoming a source of unverified information," and he worried about the app being used to "incite ethnic hatred." Telegram, which does little policing of its content, has also became a hub for Russian propaganda and misinformation. Many pro-Kremlin channels have become popular, alongside accounts of journalists and other independent observers. Official government accounts have also spread fake fact checks. An official Twitter account for the Russia diplomatic mission in Geneva shared a fake debunking video claiming without evidence that "Western and Ukrainian media are creating thousands of fake news on Russia every day." The video, which has amassed almost 30,000 views, offered a "how-to" spot misinformation. In addition, Telegram's architecture limits the ability to slow the spread of false information: the lack of a central public feed, and the fact that comments are easily disabled in channels, reduce the space for public pushback.
from tr