カテゴリー: 開発

開発

commit時のGit Secretのエラーメッセージを黙らせる

          Amazonおすすめ iPad 9世代 2021年最新作 iPad 9世代出たから買い替え。安いぞ!🐱 初めてならiPad。Kindleを外で見るならiPad mini。ほとんどの人には通常のiPadをおすすめします><

開発

【SourceTree】hint: Updates were rejected because the tag already exists in the remote.

    これにて解決!     Amazonおすすめ iPad 9世代 2021年最新作 iPad 9世代出たから買い替え。安いぞ!🐱 初めてならiPad。Kindleを外で見るならiPad mini。ほとんどの人には通常のiPadをおすすめします><

開発

Ubuntu Nodebrewでnodeのバージョンを指定インストール

    $ curl -L git.io/nodebrew | perl – setup vagrant@homestead:~/code$ export PATH=$HOME/.nodebrew/current/bin:$PATH   $ nodebrew install v10.18 $ nodebrew use v10.18     $ node -v …

開発

コードレビュー指摘ポイント PHP Laravel

RepositoryでfindWhere(array []), fetchList(array [])みたいなのを実装しない     ❌  $r_user->findWhere(array []) ⭕️  $r_user->findById(int $user_id) findWhere(array [])みたいに何が入ってくるかわからないメソッドを作らない。 修正 …

開発

Ansible Datadog Agent Ubuntu

      https://github.com/yuukanehiro/ansibleDatadogAgent   Amazonおすすめ iPad 9世代 2021年最新作 iPad 9世代出たから買い替え。安いぞ!🐱 初めてならiPad。Kindleを外で見るならiPad mini。ほとんどの人には通常のiPadをおすすめします><

開発

Git 空コミット

CIデプロイだけしたい時に   デプロイのブランチから新しいブランチを作って $ git commit –allow-empty -m “空コミットでデプロイ” コミットしてリモートにプッシュするとCIが走ってデプローイ🐱✨     Amazonおすすめ iPad 9世代 2021年最新作 iPad 9世代出たから買い替え。安いぞ!🐱 初めてならiPad。Kindleを外で見 …

開発, API

Postman ログインしてCookieが必要なAPIの利用

  Cookieを取得する curlでログインセッションを取得する     PostmanにCookieを設定       これでログインして送信できるようになる Amazonおすすめ iPad 9世代 2021年最新作 iPad 9世代出たから買い替え。安いぞ!🐱 初めてならiPad。Kindleを外で見るならiPad mini。ほとんどの人には …

開発, API

Swagger API作成 配列arrayとオブジェクトobjectの表記

  Swagger API 配列, オブジェクトの記述例   久しぶりにSwagger書くとはまるので、 配列とオブジェクトを書いておく   type: object properties: $ref: “./parts/shop.yaml” example: $ref: “./example/shop.yaml”   /parts/shop.yaml draft: …

開発, API

Swagger API 配列, オブジェクトの記述例

  例1   type: object properties:  event_id:    type: integer   name:    type: string   items:    type: array    items:    properties:    key:    type: integer    name:    type: string    value:    …