IT

環境
Windows11 pro 64bit
rustc 1.66.0

構文
“文字列”.truncate( 文字数 );
文字列から先頭から文字数を指定して文字を残 ...

IT

環境
Windows11 pro 64bit
rustc 1.66.0

構文
ベクタ名.last()
ベクタ(可変配列)の最後にある値を取得するには、「last()」を使用します。 ...

IT

環境
iOS 17.2

エラー現象
iPhoneのスピーカーが音割れする

解決方法1
イコライザをオフにします。
1.「設定」アプリを開き「ミュージック」をタップします。 ...

IT

環境
$ cat/etc/redhat-release
Red Hat Enterprise Linux release 9.2 (Plow)

書式
diff オリジナルファイル 新しいファイル ...

IT

環境
$ cat/etc/redhat-release
Red Hat Enterprise Linux release 9.2 (Plow)

書式
df

オプションについて

IT

環境
Windows11 pro 64bit
Flutter 3.3.7

構文
DropdownButtonFormField(
style: TextStyle(/*テキストの設定*/), ...

IT

環境
macOS 11.5.2

操作方法
1.ターミナルを開きます。

2.ターミナルに「sudo systemsetup -settimezone タイムゾーン」を入力し、エンターキーを押します ...

IT

環境
macOS 11.5.2

操作方法
1.ターミナルを開きます。

2.「anaconda-navigator –reset」を入力し、エンターキーを押します。
$ anaconda- ...

IT

環境
Ubuntu 23.04

方法1
1.ターミナルを開きます。

2.「shutdown」を入力し、エンターキーを押します。
$ shutdown

3.シャットダウン後に、 ...

IT

環境
CentOS版数
# cat/etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

カーネル版数
# uname -r ...

IT

環境
MySQL 8.0

操作例1
1.show global variables like ‘long_query_time’;

説明
show variabl ...

IT

環境
Cisco L3スイッチ

操作方法
1.オプション:システムコンタクトの設定
(config)# snmp-server contact name
name にシステム管理者の名前やメ ...

IT

環境
MySQL 8.0

操作例
1.show global variables like ‘slow_query%’;
show variables は、MySQLのシステ ...

IT

環境
MySQL 8.0

操作方法
1.スレッド情報を表示する
show global status like ‘Thread_%’;
説明
show sta ...

IT

環境
Python3.9.7
Windows 11 Pro

操作方法
1.ライブラリmysql-connector-pythonインストール
pip install mysql-connec ...

IT

環境
Python3.9.7
Windows 11 Pro

操作方法
1.ライブラリmysql-connector-pythonインストール
pip install mysql-connec ...

IT

環境
PHP 8.1.2
Ubuntu 22.04.1 LTS

構文
//array=連想配列
$sum = array_sum($array);
連想配列(Array)から全ての値 ...

IT

環境
Windows11 Pro 64bit

方法1
1.Windowaマーク + Rキーを押下します。

2.ファイル名を指定して実行を開きます。

3.名前の欄には次のように入力しま ...