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: |

The regulator said it had received information that messages containing stock tips and other investment advice with respect to selected listed companies are being widely circulated through websites and social media platforms such as Telegram, Facebook, WhatsApp and Instagram. Pavel Durov, a billionaire who embraces an all-black wardrobe and is often compared to the character Neo from "the Matrix," funds Telegram through his personal wealth and debt financing. And despite being one of the world's most popular tech companies, Telegram reportedly has only about 30 employees who defer to Durov for most major decisions about the platform. Despite Telegram's origins, its approach to users' security has privacy advocates worried. For tech stocks, “the main thing is yields,” Essaye said. Stocks closed in the red Friday as investors weighed upbeat remarks from Russian President Vladimir Putin about diplomatic discussions with Ukraine against a weaker-than-expected print on U.S. consumer sentiment.
from in


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