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 took order for the search and seizure operation from Judge Purushottam B Jadhav, Sebi Special Judge / Additional Sessions Judge. "The result is on this photo: fiery 'greetings' to the invaders," the Security Service of Ukraine wrote alongside a photo showing several military vehicles among plumes of black smoke. Elsewhere, version 8.6 of Telegram integrates the in-app camera option into the gallery, while a new navigation bar gives quick access to photos, files, location sharing, and more. In a message on his Telegram channel recently recounting the episode, Durov wrote: "I lost my company and my home, but would do it again – without hesitation." As a result, the pandemic saw many newcomers to Telegram, including prominent anti-vaccine activists who used the app's hands-off approach to share false information on shots, a study from the Institute for Strategic Dialogue shows.
from es


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