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
<# | |
.SYNOPSIS | |
世界のナベアツ風に3の倍数と3が付く数字のとき末尾に "!" を付ける。 | |
.DESCRIPTION | |
入力された自然数を文字列に変換し返却する。ただし、3の倍数と3が付くとき末尾に "!" を付ける。 | |
.PARAMETER Int | |
変換対象の数値 |
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
KanjiEraName | RomanAlphabetEraName | StartDate | |
---|---|---|---|
元和 | Genna | 1615-09-05 | |
寛永 | Kan'ei | 1624-04-17 | |
正保 | Shouhou | 1645-01-13 | |
慶安 | Keian | 1648-04-07 | |
承応 | Jouou | 1652-10-20 | |
明暦 | Meireki | 1655-05-18 | |
万治 | Manji | 1658-08-21 | |
寛文 | Kanbun | 1661-05-23 | |
延宝 | Enpou | 1673-10-30 |
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
# Get | |
Get-Item -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Nls\Calendars\Japanese\Eras'; | |
# Add | |
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Nls\Calendars\Japanese\Eras' -Name '2019 05 01' -Value '令和_令_Reiwa_R'; | |
# Edit | |
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Nls\Calendars\Japanese\Eras' -Name '2019 05 01' -Value '令和_令_Reiwa_R'; | |
# Remove |
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
<!DOCTYPE html> | |
<html lang="en" style='font-family: monospace; font-size:1em;'> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Font-size test</title> | |
</head> | |
<body> | |
<p>HTML element have style that "<code>font-family: monospace; font-size:1em;</code>".</p> | |
<p style='font-family: sans-serif; font-size:1rem;'>This paragraph have style that "<code>font-family: sans-serif; font-size:1rem;</code>".</p> | |
<p style='font-family: monospace; font-size:1rem;'>This paragraph have style that "<code>font-family: monospace; font-size:1rem;</code>".</p> |