Telegram Group & Telegram Channel
Узнал сегодня, что в виме можно работать с бинарными файлами.

Можно применить консольную команду xxd и перенаправлять её ввод и вывод.

:%!xxd - переведет текущий файл в hex представление.

:%!xxd -r - вернет обратно в бинарный.

Конечно, это не суперудобно - нужно помнить, что надо вернуть файл обратно + RO файлы придется редактировать, так что для большинства задач все-таки лучше подходит старый дедовский hexdump. Но прикольно знать, что так можно.

https://vi.stackexchange.com/questions/2232/how-can-i-use-vim-as-a-hex-editor



group-telegram.com/misha_writes_code/174
Create:
Last Update:

Узнал сегодня, что в виме можно работать с бинарными файлами.

Можно применить консольную команду xxd и перенаправлять её ввод и вывод.

:%!xxd - переведет текущий файл в hex представление.

:%!xxd -r - вернет обратно в бинарный.

Конечно, это не суперудобно - нужно помнить, что надо вернуть файл обратно + RO файлы придется редактировать, так что для большинства задач все-таки лучше подходит старый дедовский hexdump. Но прикольно знать, что так можно.

https://vi.stackexchange.com/questions/2232/how-can-i-use-vim-as-a-hex-editor

BY Миша пишет код




Share with your friend now:
group-telegram.com/misha_writes_code/174

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

You may recall that, back when Facebook started changing WhatsApp’s terms of service, a number of news outlets reported on, and even recommended, switching to Telegram. Pavel Durov even said that users should delete WhatsApp “unless you are cool with all of your photos and messages becoming public one day.” But Telegram can’t be described as a more-secure version of WhatsApp. But the Ukraine Crisis Media Center's Tsekhanovska points out that communications are often down in zones most affected by the war, making this sort of cross-referencing a luxury many cannot afford. Investors took profits on Friday while they could ahead of the weekend, explained Tom Essaye, founder of Sevens Report Research. Saturday and Sunday could easily bring unfortunate news on the war front—and traders would rather be able to sell any recent winnings at Friday’s earlier prices than wait for a potentially lower price at Monday’s open. Ukrainian forces successfully attacked Russian vehicles in the capital city of Kyiv thanks to a public tip made through the encrypted messaging app Telegram, Ukraine's top law-enforcement agency said on Tuesday. "Someone posing as a Ukrainian citizen just joins the chat and starts spreading misinformation, or gathers data, like the location of shelters," Tsekhanovska said, noting how false messages have urged Ukrainians to turn off their phones at a specific time of night, citing cybersafety.
from br


Telegram Миша пишет код
FROM American