This file contains 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
console.log('Скрипт запущен. Результат будет через 5 секунд.'); | |
setTimeout(function() { | |
var list = $('.timespent'); | |
var total_time = 0; // minutes | |
var hour = 60; | |
var day = 8 * hour; | |
var week = 5 * day; |
This file contains 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
for /f "delims=" %%a in ('dir /b /s /a-d "*"') do if /I not %%~xa==.THM echo %%~na >> "file_list.txt" | |
pause |
This file contains 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
import os, re | |
cur_dir = os.path.dirname(os.path.abspath(__file__)) | |
file = open(cur_dir + '\log.txt') | |
buff = [] | |
ignored_lines = [ | |
'Author: .*', | |
'Date: .*', | |
'Message:', |