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
| # decode the inscription around the SkKySIO logo | |
| # https://commons.wikimedia.org/wiki/File:SkKySIO.svg | |
| code = 'oiooiioooiioiiiioiiooiiioiioiiiioiiiooii' | |
| p code | |
| .tr('oi', '01') | |
| .scan(/.{8}/) | |
| .collect {|i| i.to_i(2).chr } |
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
| \version "2.24.1" | |
| \include "gregorian.ly" | |
| #(set-global-staff-size 32) | |
| \layout { | |
| \override VaticanaStaff.StaffSymbol.color = "black" | |
| \override VaticanaStaff.LedgerLineSpanner.color = "black" |
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
| # Which are the most frequently skipped Ordinary time Sundays | |
| # in the given range of years? | |
| require 'calendarium-romanum/cr' | |
| SUNDAYS = (2..33).to_a.freeze | |
| SANCTORALE = CR::Data::GENERAL_ROMAN_ENGLISH.load | |
| def skipped_sundays(year) | |
| cal = CR::Calendar.new year, SANCTORALE |
OlderNewer