IT

環境
Windows 11 Home 64bit
Microsoft Visual Studio Community 2022

構文
//n=文字数
string result = text ...

IT

環境
Red Hat Enterprise Linux release 9.2 (Plow)

構文
配列名=(要素1 要素2 要素3)
while } ]

サンプルコード(data.sh ...

IT

環境
Red Hat Enterprise Linux release 9.2 (Plow)

構文
while getopts a:b:c: OPT
do
処理コード
done ...

IT

環境
Red Hat Enterprise Linux release 9.2 (Plow)

ファイル名
data.txt
内容
tokyo-text
oosaka-text ...

IT

環境
Windows 11 Home 64bit
Microsoft Visual Studio Community 2022

構文
//cftLst=対象のリスト
List<T> ...

IT

環境
Windows 11 Home 64bit
Microsoft Visual Studio Community 2022

構文
//myList=対象のリスト
myList.Remov ...

IT

環境
Windows 11 Home 64bit
Microsoft Visual Studio Community 2022

構文
string result = text.Replace( ...

IT

環境
Windows 11 Home 64bit
Microsoft Visual Studio Community 2022

構文
str == str.ToUpper()
ToUpper ...

IT

環境
Windows 11 Home 64bit
Microsoft Visual Studio Community 2022

構文
foreach(string value in Enum.Get ...

IT

環境
Windows 10 Home 64bit
Microsoft Visual Studio Community 2022

構文
“{n}”
の後に{4}を記述し ...

IT

環境
Windows 10 Home 64bit
Microsoft Visual Studio Community 2022

構文
DateTime result = new DateTime(D ...

IT

環境
Windows 10 Home 64bit
Microsoft Visual Studio Community 2022

構文
//myList=対象のリスト
List<T> ...

IT

環境
Windows 10 Home 64bit
Microsoft Visual Studio Community 2022

構文
//item.Keyでキー、item.Valueで値を取得 ...

C#

環境
Windows 10 Home 64bit
Microsoft Visual Studio Community 2022

構文
//num=対象の数値, n(Dの後ろ)=桁数
stri ...

IT

環境
Red Hat Enterprise Linux release 9.2 (Plow)

概要
コマンドで、ディレクトリやファイル元にしてシンボリックリンクを作成します。
シンボリックリンクは、 ...

IT

環境
Red Hat Enterprise Linux release 9.2 (Plow)

概要
tracking コマンド、sources コマンド、および sourcestats コマンドを使用し ...

IT

環境
macOS 11.5.2

操作例
$ mkfile サイズ ファイル名

# 5KBのファイルを作成する
$ mkfile 5k test.txt

# 2MBのファイルを ...

IT

環境
macOS 11.5.2

方法1
1.ターミナルを開きます。
2.以下コマンドを実行すれば隠しファイルが表示されます。

$ defaults write com.apple.finder ...