This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Очистите кэш иконок. Для этого запустите bat-файл, содержание которого приведено ниже. Перед этим не забудьте сохранить все открытые документы, так как запуск bat-файла приведет к автоматической перезагрузке компьютера. | |
| ie4uinit.exe -show | |
| taskkill /IM explorer.exe /F | |
| DEL /A /Q "%localappdata%\IconCache.db" | |
| DEL /A /F /Q "%localappdata%\Microsoft\Windows\Explorer\iconcache*" | |
| shutdown /r /f /t 00 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| compress | |
| ffmpeg -i cut_1_test.mp4 -c:v libx264 -preset slow -crf 28 -c:a copy cut_1_test2.mp4 | |
| Add a empty soundtrack | |
| ffmpeg -i 1.mp4 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -c:v copy -shortest output.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir ~/.telegram1; mkdir ~/.telegram2 | |
| /opt/telegram/telegram -many -workdir ~/.telegram1 | |
| /opt/telegram/telegram -many -workdir ~/.telegram2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ sudo apt-get install ntpdate [В Debian/Ubuntu] | |
| $ sudo yum install ntpdate [В CentOS/RHEL] | |
| $ sudo dnf install ntpdate [В Fedora 22+] | |
| Пример команды ntpdate: | |
| $ sudo ntpdate 2.ru.pool.ntp.org | |
| В новых дистрибутивах Linux, которые поставляются с Systemd, вы также можете синхронизировать время через файл timesyncd.conf. Просто откройте файл для редактирования. | |
| $ sudo nano /etc/systemd/timesyncd.conf |