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
| setInterval(function() { | |
| var currentTime = new Date().toLocaleTimeString('ru-RU', { timeZone: 'Europe/Moscow' }); | |
| document.getElementById('currentTime').innerHTML = currentTime; | |
| }, 1000); |
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
| Чтобы изменить все каталоги на 755 (drwxr-xr-x): | |
| $ sudo find dir/ -type d -exec chmod 755 {} \; | |
| Чтобы изменить все файлы на 644 (-rw-r--r--): | |
| $ sudo find dir/ -type f -exec chmod 644 {} \; |