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

This provided opportunity to their linked entities to offload their shares at higher prices and make significant profits at the cost of unsuspecting retail investors. "Your messages about the movement of the enemy through the official chatbot … bring new trophies every day," the government agency tweeted. The SC urges the public to refer to the SC’s I nvestor Alert List before investing. The list contains details of unauthorised websites, investment products, companies and individuals. Members of the public who suspect that they have been approached by unauthorised firms or individuals offering schemes that promise unrealistic returns As such, the SC would like to remind investors to always exercise caution when evaluating investment opportunities, especially those promising unrealistically high returns with little or no risk. Investors should also never deposit money into someone’s personal bank account if instructed. In 2014, Pavel Durov fled the country after allies of the Kremlin took control of the social networking site most know just as VK. Russia's intelligence agency had asked Durov to turn over the data of anti-Kremlin protesters. Durov refused to do so.
from cn


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