
GoogleスプレッドシートのonEditイベントでUrlFetchAppを使用するとエラーが発生する理由と解決方法
Googleスプレッドシートを使って管理アプリを作成していると、外部APIを呼び出してデータを取得する機能を追加したくなることがあります。通常、PCのChromeブラウザからは問題なく動作しますが、スマートフォンアプリからはボタンクリックが ...

BigQueryのパーティション分割テーブルのパーティション数が4000から10000にアップデートしました(2024-05-29)
2024年5月29日、BigQueryのパーティション分割テーブルのパーティション数が4000から10000にアップデートされました。 BigQueryで時系列データ分析を行う際、多くのユーザーがパーティション分割テーブルを利用してきました ...

[脱Excel]Googleスプレッドシートで「できないこと」「不得意なこと」「できること」まとめ
ExcelからGoogleスプレッドシートを検討し、利用開始から1ヶ月で不便に感じることが多く、AI(ChatGPTやPhind)にGoogleスプレッドシートでできないことを質問しても自分が感じているものと違ったので、気づいた点をまとめて ...

Redshift の Table および View の所有者(owner)の確認方法と変更方法
Redshift のテーブルやビューの所有者を調べる方法がわからないRedshift のテーブルやビューの所有者を変更する方法がわからない この記事では AWS Redshift のカタログテーブルを用いたテーブルやビューの所有者の確認方法 ...

Google ドライブ のデフォルトの同期フォルダ名「Google ドライブ」を変更する方法
Googleドライブを初期設定でインストールしたら「c:\Users\Google ドライブ」になってしまった2つ目のアカウントを追加すると「Google ドライブ (xxxxx@gmail.com)」というメールアドレスのフォルダ名にって ...

GitHubのプルリクエスト(Pull Request)でコンフリクト(Conflict)が発生した場合の解決方法 ~merge編~
GitHubでプルリクエスト(Pull Request)を発行したがコンフリクト(conflict)が発生した場合に、コンフリクトを解消するまで「Merge Pull Request」ボタンが非活性でマージが出来ません。 GitHubのPu ...

GitHub CLI (gh)のインストール方法とコマンド(repo/pr)の使い方
GitHub公式のGitHub CLIツールghのインストール方法とコマンドの使い方をまとめました。 GitHub CLIを利用するとリポジトリの作成やプルリクエストを発行をブラウザではなくターミナルから実行できます。 シェルなどにも組み込 ...

GitHub ActionsでCI/CD環境を構築する ~ReactアプリをFirebaseへデプロイするyamlファイルの書き方~
CI/CD環境はこれまでCircleCIを利用してきたのですが、Reactのversion17でcreate-react-appしたプロジェクトをCircleCIでbuildすると以下のエラーが発生するようになりました。 The build ...

circleciで「error Couldn’t find a package.json file in “xxx/xxx”」が発生した場合の原因と対処方法
circleciでビルド中に以下のようなエラーが発生した場合の原因と対処方法についてまとめました。 #!/bin/bash -eo pipefail yarn build yarn run v1.22.4 error Couldn't fi ...

firebase loginで「localhost で接続が拒否されました。」でアクセスできない場合の対処方法
firebase loginで表示されるエラー firebase でloginする際やtoken文字列を取得する際に以下のコマンドを実行します。 firebase login や firebase login:ci URLが表示され、 Vi ...

circleciでgithubのブランチ毎にfirebaseへのデプロイ先を切り替える方法
Firebaseに複数の環境(本番環境と開発環境など)とGitHubのブランチと関連付け、circleciを利用してビルド・テスト・デプロイを自動化する方法をまとめました。 環境(Firebase/circleci/GitHub) Fire ...

Firebase functions Node.js 8のサポートを終了しました。エラーが発生。。。
Firebaseのfunctinosで作成したNode.js8のWebAPIを呼び出すとエラーメッセージが表示されるので、調べてみました。 Billing account not configured. External network i ...

CircleCIのconfig.ymlのエラー対処方法 mapping values are not allowed here This configuration was auto-generated to show you the message above. Config Processing Error (Don’t rerun)
CircleCIでconfig.ymlが原因でジョブがエラーになる CircleCIを利用していると、ジョブが「Config Processing Error (Don't rerun)」でエラーになることがあります。 例えばこんなエラーな ...

「リッチメニュー」と「クイックリプライ」を利用した無料でできるLINEチャットボットアプリの作り方 (node.js + Heroku)
今回はクラウド環境Herokuを利用して無料でLINEチャットボットを作成してみました。 メッセージをそのまま返すサンプルはよくあるので、もう少し処理を加えて小学生低学年レベルの計算問題をやりとりするLINEチャットボット「バーチャル先生」 ...

Error fetching Firestore indexesのエラー原因と対応方法
firebaseの開発環境構築をする場合に「firebase init」コマンドで設定を行っていると、次のエラーが出る場合があります。 原因と対応方法について解説します。 Error: Error fetching Firestore in ...

BigQueryのバックアップ機能(スナップショット デコレータ)を利用する方法
スナップショット デコレータ(snapshot decorators)はBigQueryの標準機能として自動で取得されるバックアップ機能です。 BigQueryのバックアップとして簡単に利用できる良い機能なのですが、注意 ...

BigQueryでTruncate Tableする方法
BigQueryでTruncate Table文を実行したことはありますか? 実行して「あれっ?構文エラーになる・・・」と困った方も多いかと思います。 BigQueryに限らずデータベースを利用していれば、テーブルのデータを全件削除したいタ ...

BigQuery SQLサンプル - 1時間毎のレコード作成
やりたいこと 1日分の1時間毎のレコードを動的に作成したい 例えば、こんなデータです。 日時2020-02-21T00:00:002020-02-21T01:00:002020-02-21T02:00:00 :2020-02-21T2 ...

BigQuery SQLサンプル - ユーザ定義関数で月初と月末を取得する関数を作成する
BigQueryのユーザ定義関数とは SQLに直接記載すると複雑になったり、何度も繰り返し処理するような場合にSQLを関数化することができます。 BigQueryではユーザ定義関数といいます。 ユーザが作成する関数だからそのままの名称ですね ...

BigQuery SQLサンプル - 1ヶ月分の日付レコード作成
やりたいこと 2020年1月の日付レコードを動的に作成したい 月次帳票表示用のデータを作成する際などに、1ヶ月分の日付レコードが必要になることがよくありますよね。 例えば、こんなデータです。 日付2020-01-012020-01-0220 ...