CSS files
nav.breadcrumbs
nav.prevnext
pre > parent-of-code
text/plain
x^2 = 1
---------1---------2---------3---------4---------5---------6---------7---------8---------9---------A---------B---------C---------D---------E---------F
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
html
x<sup>2</sup> = 1
CSS
:root {
--small-font-magnification: 0.71;
}
sub,
sup {
font-size: calc(var(--small-font-magnification) * 1em);
}
C#
Console.WriteLine("あなたの名前は?");
string? name = Console.ReadLine();
if (!String.IsNullOrEmpty(name))
{
Console.WriteLine($"こんにちは、{name}さん!");
}
else
{
Console.WriteLine("こんにちは!");
}
MathML
<math>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo>=</mo>
<mn>1</mn>
</math>
PowerShell
[String] $excelFilePath = "./example.xlsx";
[MarshalByRefObject] $book = $excel.Workbooks.Open($excelFilePath);
JSON
{
"link": [
{
"rel": "stylesheet",
"type": "text/css",
"title": "Robert.KIMATA.Info Style",
"href": "./style/robert.kimata.info.css"
}
]
}
htaccess / Apatch
# html: text/html
AddType "text/html; charset=utf-8" html
# ErrorDocument
ErrorDocument 404 /error/404.html
ErrorDocument 403 /error/403.html
ErrorDocument 500 /error/500.html
Bash
$ mkdir .ssh
$ chmod 700 .ssh
$ cd .ssh
$ touch authorized_keys
$ chmod 600 authorized_keys
# 今作成した authorized_keys に公開鍵の内容のテキストデータを入れて保存
-bash-4.2$ exit
Saturday and public holiday
Sunday
Not a public holiday and Saturday
Monday and public holiday