DirectorySlash off
RewriteEngine On
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^(.*)\.html /$1 [R=301,L]
RewriteCond %{DOCUMENT_ROOT}/$0.html -f
RewriteRule .* /$0.html [L]
sudo apt purge telegram
sudo rm -Rf ~/.local/share/TelegramDesktop; sudo rm /usr/local/bin/telegram-desktop; rm -f .config/autostart/telegramdesktop.desktop .local/share/applications/telegramdesktop.desktop .local/share/icons/telegram.png
var Min = 660;
var Step = 30
function setTime($input) {
var hour = Math.floor(Min/60);
var min = Min % 60;
if (min < 10) {
min = '0' + min;
}
if (hour < 10) {
hour = '0' + hour;
}
$input.val(hour + ':' + min);
}
$('.decrease').click(function () {
Min -= Step;
if (Min <= 0) Min += 1440;
setTime($(this).parent().find('input'));
});
$('.increase').click(function () {
Min += Step;
if (Min >= 1440) Min -= 1440;
setTime($(this).parent().find('input'));
});