{"repo":"fortran-gaming/snoopy-calendar","free":true,"listed":false,"github":"https://github.com/fortran-gaming/snoopy-calendar","clone":"git clone https://github.com/fortran-gaming/snoopy-calendar.git","description":"Fortran 66 Snoopy Calendar generator updated to be buildable in modern times","language":"Fortran","stars":13,"topics":["fortran","calendar"],"license":"MIT","category":"productivity","readme_excerpt":"Fortran Snoopy Calendar The classic Fortran 66 Peanuts calendar generator...with a dash of Fortran 2008, in a single .f file. Original code is stored under ref/. Modified: uses Fortran 2008 file open() and close() Fortran 2003 command line input of year/month remove Fortran 66 Hollerith characters Build and test SnpCal with: Usage It seems from a cursory check that the output may be valid from year 1753 through year 3000 or more. The output is printed to the Terminal stdout, so simply redirect stdout to a file or pipe to a convertor like Pandoc to save. The one needed parameter is year, and month is optional (defaults to 1). To properly see the calendar in your terminal, your terminal must be at least 133 columns wide. Specify year and month. To make a July 2018 calendar, output to terminal: Make a PDF with Pandoc. This is scripted in \"snpcal.sh\" for Unix-like systems, and \"snpcal.ps1\" for Windows PowerShell: '; cat out.txt; echo ' Pandoc is available across OSes: Windows: winget install JohnMacFarlane.Pandoc macOS: brew install pandoc Linux: apt install pandoc or similar That creates mycal.pdf which should be a single page, approximately centered. Adjust the enscript command line parameters if it doesn't look right. Custom images The second command line argument user will load your own images from the folder data/pic01.txt data/pic02.txt where the number is the month. We have found a good way to convert images to simple ASCII is jp2a, available on Linux by apt install jp2a o","default_branch":null,"files":null,"tree":[],"storefront":"/r/fortran-gaming","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fortran-gaming/snoopy-calendar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}