Settings > Preferences > New Document > Encoding > "UTF-8 without BOM"- ) with lists ( + ) in lists, if the goal is reached, and save (without printing). Goals for the next month are typed in the same file - print, save. It so happens that later you can remember what goals were set, how they changed and whether they were achieved.Notepad++ , so that the encoding is UTF-8 ). The structure, for example, is:
[PurposeMissionGoals]
| - [html]
| - [tools]
| --1_Slogans.txt
| --2_LongTermGoals.txt
| --3_MidTermGoals.txt
| --4_QuarterlyGoals.txt
| --5_QuarterlyPlan.txt
| --6_MonthlyGoalsAndPlan.txt
TortoiseSVN appears in the context menu of the explorer.D:\planning\PurposeMissionGoalsRepository . Data will be stored here. Right-click on this directory, select TortoiseSVN > Create repository here .PurposeMissionGoals on the PurposeMissionGoals directory with the original structure, select TortoiseSVN > Import... In the field "Url of repository" specify (for this example): file:///D:/planning/PurposeMissionGoalsRepository . "OK" , the data is now saved, and PurposeMissionGoals can be deleted.PurposeMissionGoalsWorkingDirectory . Right-click on it, select SVN Checkout... In the already familiar field "Url of repository" specify the same path: file:///D:/planning/PurposeMissionGoalsRepository . "OK" , now the data is copied to work, changes from the working directory can be saved to the repository as needed - nothing is lost!"Add application directory to your path" . It should be left on . Then the pandoc command will be available from the command line and can be used in a script. The script file will be PurposeMissionGoals\tools in the PurposeMissionGoals\tools directory if you follow the structure suggested above..bat ) will do, and let Python be the cross-platform option. By the way, to generate a schedule sheet (see Appendix D ), you still need Python , so it makes sense to install if not already installed. (To check, you can search for the installation directory on the system disk, for example C:\Python27 .)PurposeMissionGoals\tools\generate_html.py file, then its launch will result in a set of web pages corresponding to the text sources from the PurposeMissionGoals directory in the PurposeMissionGoals\html directory. # ...\PurposeMissionGoals\tools\generate_html.py import os, string, shlex, subprocess, sys toolDir = os.path.dirname(sys.argv[0]) os.chdir(toolDir) for p in os.listdir('..'): (name, ext) = os.path.splitext(p) if ext == '.txt' : commandLine = ('pandoc --from markdown --to html --standalone -o ../html/%s ../%s' % (name + '.html', name + '.txt') ) args = shlex.split(commandLine) subprocess.Popen(args) @REM ...\PurposeMissionGoals\tools\generate_html.bat FOR /F "delims=. tokens=1" %%A IN ('dir .. /B *.txt') ^ DO pandoc --from markdown --to html --standalone -o ..\html\%%A.html ..\%%A.txt .txt files from PurposeMissionGoals .generate_html.py from PurposeMissionGoals\tools ..html page from PurposeMissionGoals\html and view the results.F5 key from Notepad++ . And point 3 to the second iteration comes down to switching to the browser and updating the page. In the next section - we will add one more little convenience when viewing.Tools > Session Manager > Save This Window... , and the documents you need will always be clicked away. It remains to provide the same ease when sending to print - and it's done!File > Universal Print > Print All Tabs
File > Page Setup > "Print Background (colours & images)"

find , grep and awk , - thousands of application programs would not have been written." (with) <!--2_LongTermGoals.txt--> +6 ( 2012) ======================== * ... * ... +1 ( 2013) ===================== * ... * ... +5 (2017) ============= * !!! * ... +10 (2022) ============== * ... * ... <!--1_Slogans.txt--> <table cellspacing="0" cellpadding="5" width="100%" border="0"> <tr><td align=CENTER> ===== </td></tr> <tr><td align=CENTER> AKA "Purpose" - - ( ) (, ). </td></tr> <tr><td align=CENTER> ==== </td></tr> <tr><td align=CENTER> AKA "Mission" - - ( , ). </td></tr> </table> <!--4_QuarterlyGoals.txt--> 2011 - 2011: ================================ <table cellspacing="0" cellpadding="5" width="100%" border="0"> <tr> <td bgcolor="#FFFF80"> --------- </td> <td width="100%" valign=TOP> * : - ... ; - ... . * : ... . </td></tr> <tr><td bgcolor="#FF8080"> ------------ </td> <td width="100%" valign=TOP> * : ... . * : ... . </td></tr> <tr><td bgcolor="#80FF80"> -------- </td> <td width="100%" valign=TOP> 1. . 2. . </td></tr> <tr><td bgcolor="#8080FF"> --------- </td> <td width="100%" valign=TOP> * : ... . * : ... . * : ... . </td></tr> </table>
[PurposeMissionGoals]
| - ...
| - [schedules]
| - ...
tools directory there are new scripts:htmlCalendar.py (to download - click on the caption [calendar_python.zip] )generate_calendar.pygenerate_calendar_next.pyFile > Page Setup... > "Landscape"
# ...\PurposeMissionGoals\tools\generate_calendar.py import datetime import time import htmlCalendar def main(year, month): myCal = htmlCalendar.MonthlyCalendar(year, month) # Customize calendar appearance. myCal.offset = 2 # start the week on Monday scale = 6.0 # make the calendar big myCal.dFontSize *= scale myCal.tFontSize *= scale / 2.0 # scale titles almost proportionally myCal.hFontSize *= scale / 2.0 myCal.wFontSize *= scale / 2.0 myCal.tdBorderColor = '#FFFFFF' # don't highlight today's day myCal.weekNumbers = 1 # view week numbers: 1 = yes, 0 = no brightness = 0xCC # print day numbers in gray fontColor = "#%X%X%X" % (brightness, brightness, brightness) myCal.dFontColor = fontColor myCal.saFontColor = fontColor myCal.suFontColor = fontColor # Name the generated file by month. htmlName = "../schedules/MonthlySchedule%s.html" % datetime.date(year, month, 1).strftime('%b%y') # Save the result to disk. htmlFile = open(htmlName, 'w') htmlFile.write(myCal.create()) htmlFile.close() if __name__ == "__main__": import sys year = time.localtime().tm_year month = time.localtime().tm_mon if len(sys.argv) > 1 : year = sys.argv[1] month = sys.argv[2] main(year, month) # ...\PurposeMissionGoals\tools\generate_calendar_next.py import time import generate_calendar # Get current month. now = time.localtime() year = int(now.tm_year) month = int(now.tm_mon) # Advance to the next month. if month == 12 : ++year month %= 12 month += 1 # Generate calendar for the next month. generate_calendar.main(year, month) "" button), it’s more convenient for someone to keep all “hard” appointments in the mobile or Outlook . And for others, nothing replaces the charm of a pencil with an eraser - quickly, visually ... and when the week ends, a small plane can be folded out of a busy schedule.OpenOffice Calc ):> > ...
Source: https://habr.com/ru/post/137972/
All Articles