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

In December 2021, Sebi officials had conducted a search and seizure operation at the premises of certain persons carrying out similar manipulative activities through Telegram channels. Some privacy experts say Telegram is not secure enough Either way, Durov says that he withdrew his resignation but that he was ousted from his company anyway. Subsequently, control of the company was reportedly handed to oligarchs Alisher Usmanov and Igor Sechin, both allegedly close associates of Russian leader Vladimir Putin. In February 2014, the Ukrainian people ousted pro-Russian president Viktor Yanukovych, prompting Russia to invade and annex the Crimean peninsula. By the start of April, Pavel Durov had given his notice, with TechCrunch saying at the time that the CEO had resisted pressure to suppress pages criticizing the Russian government. Again, in contrast to Facebook, Google and Twitter, Telegram's founder Pavel Durov runs his company in relative secrecy from Dubai.
from us


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