パスワードを更新を促されるメッセージ。パスワードポリシーに則った形で変更するパスワードを必要がある。
sumito.tsukada
![](https://sumito.jp/wp-content/uploads/2018/08/68046e3b6a911bd5d374f971004913f8.png)
mysql
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
![](https://sumito.jp/wp-content/uploads/2019/11/スクリーンショット-2019-11-26-2.06.10-320x320.png)
laravel
laravelでControllerを自動作成する
laravelではphp artisanコマンドを使って、Controllerを自動生成することができる
![](https://sumito.jp/wp-content/uploads/2019/11/スクリーンショット-2019-11-26-2.06.10-320x320.png)
laravel
laravelでrouteの一覧を表示する
本記事では、Laravelでルーティングを表示する方法を解説します。コマンド「php artisan route:list」を使用することで、有効なメソッドとURLを確認することができます。また、数字のみを受け付けるルート設定と記事のタイトルを受け付けるルート設定の2つの例も紹介します。
![](https://sumito.jp/wp-content/uploads/2018/07/light-bulb-3535435_640-320x320.jpg)
linux
mmap() failed: [12] Cannot allocate memory
laravelをinstall時、memoryが不十分だとinstallでエラーになる。twitterで投稿したところ、アドバイスもらった。確かにswapの設定してなかった。クラウドであれば一時的にインスタンスタイプを変更することでインストールできるが、今回はインスタンスタイプを変更せず対応する。
![](https://sumito.jp/wp-content/uploads/2019/11/スクリーンショット-2019-11-26-2.06.10-320x320.png)
laravel
CentOS7にlaravel install(nginx,php-fpm)
PHP でcomposerをinstallしようとした際に使った手順まとめ オフィシャルサイトに書いてあったコマンドをそのまんまコピペでinstallすることができる。 https://getcomposer.org/download/ 今回はnginx, php-fpmで動作する環境を作る。
![](https://sumito.jp/wp-content/uploads/2019/06/typewriter-407695_640-320x320.jpg)
aws
Amazon Transcribe が日本語に対応したので早速試した
はじめに11/22 Amazon Transcribe が日本語に対応したという記事がリリースされました。議事録とったりVoice memo作ったり何かと活用の場所がある機能。早速試してみました。
![](https://sumito.jp/wp-content/uploads/2019/07/ecs.png)
docker
Unable to obtain Outpost ARN from EC2 Metadata: EC2MetadataError: failed to make EC2Metadata request
Unable to obtain Outpost ARN from EC2 Metadata: EC2MetadataError: failed to make EC2Metadata request
![](https://sumito.jp/wp-content/uploads/2018/10/8db70e67f62a11740d7cd185dd5dc45b-320x202.png)
redash
docker v7 install
redash v7の公式の手順で起動しずらかったので、Docker hubから出来合いのDocker imageをpullして動かすことにした。サクッとv7を動かす手順を紹介
![](https://sumito.jp/wp-content/uploads/2018/10/173886c9aa25500a3114be21a8541a1a-320x320.png)
docker
ERROR: Service ‘server’ failed to build: Error parsing reference: “node:10 as frontend-builder” is not a valid repository/tag: invalid reference format
git cloneしたリポジトリで docker build を行ったところ、 Error parsing reference: "xxxx" is not a valid repository/tag: invalid reference format というエラーが発生したので、原因と対策について記載する。
![](https://sumito.jp/wp-content/uploads/2019/08/powerful-text-analysis.png)
GCP
Cloud Natural Language API を試した
Googleがトレーニング済みモデルとして提供している自然言語処理(Natural Language Processing)を使うことで、文字を元に感情分析、エンティティ分析、エンティティ感情分析、コンテンツ分類、構文分析などの自然言語理解の機能がAPI経由で利用できるとのこと。 Cloud Natural Language APIで、どのような結果を得る事ができるか試してみた。