記法 | 記号(ソースコード) |
---|---|
枠 | | 内容 | |
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
# set "Apply to range" to whereever you want to apply setting. | |
# set "Format cells if..." to "Custom formula is" and paste following code | |
# Following Forumula will detect if it's match with regex or not. | |
=REGEXMATCH(INDIRECT("R[0]C[0]", false),"<PUT YOUR REGEX HERE>") = true | |
# set your "formatting style" | |
That's it! |
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
nkf -w --overwrite ./* |
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
def midnightConverter(*, year, month, day, hours, minutes): | |
totalMin = int(hours)*60 + int(minutes) | |
diff = divmod(totalMin,1440) | |
if diff[0] >= 0: | |
deltaMin = timedelta(minutes=totalMin) | |
baseDate = datetime( | |
year=int(year), | |
month=int(month), | |
day=int(day), | |
hour=0, |