-
未分類
ChatGPT PLUSに加入したけど。
ChatGPT PLUSに加入して、一ヶ月くらい経ったので、レビューを書きたいとおもます。 【相変わらずのリロード】 加入前は”Something went wrong, please try reloading the conversation.” というエラーにイラついていたので、PLUSに加入するとそれも解消さ... -
未分類
「1つ以上のライブラリのストレージの場所が使用できなくなりました。作業内容が失われないようにするために、これらのライブラリは閉じられます。」【Final Cut Pro】
【経緯】 Final Cut Proで編集した動画をファイルにしようとしたら、「1つ以上のライブラリのストレージの場所が使用できなくなりました。作業内容が失われないようにするために、これらのライブラリは閉じられます。」 というエラーがでて、動画がファイ... -
未分類
“Undefined inex:WP_Widget_Recent_comments in・・・・”【php】
【経緯】 WordPressでデータベースを使いたくて、いろいろやっていたら、私のサイトの上側にずっと"Undefined inex:WP_Widget_Recent_comments in・・・・"と表示されるようになってしまいました。 目障りだったので、今回はそれを表示が消える方法を勉強... -
VBAノート
ExcelファイルをPDFファイルに変換したい。【VBA】
【経緯】 VBAでExcelファイルをPDFファイルに変換したいと思い今回勉強しました。 【「ExportAsFixedFormat」を使う】 プログラムを書きます。 ' シートをPDFに変換し、指定したファイル名で保存します ws.ExportAsFixedFormat Type:=xlTypePDF, Filename:... -
C#ノート
C#でマクロ(VBA)を実行したい。【C#】
【経緯】 VBAをC#に移植していたのですが、VBAのコードが複雑かつ長文で萎えていました。 「なんなら、C#でVBAを実行すればいいんじゃね?」と思い、 今回勉強しました。 【「xlApp.Run("マクロ名");」を使用する】 まず、プログラムの流れを説明します。... -
C#ノート
フォルダーの中に入っているPDFファイル全部結合する【C#】
【経緯】 C#でPDFが多数あって、それを手動で結合していた。 その作業がめんどくさいので、プログラムでできないか考えました。 【「iTextSharp」を使う】 まず、プログラムを書きます。PDFファイルを結合するためのMergePDFsメソッドを定義しています。 ... -
C#ノート
取得したパスの最後に「¥」を付け加えたい【C#】
【経緯】 C#のdialogでパスを取得することはできたのですが、プログラムを実行すると、うまく動きませんでした。 パスの中身を見るとパスの最後になにもついておらず、「¥」をつけるとうまくいくことがわかったので、あらかじめ、取得したパスの最後に「... -
未分類
【Unity】NullReferenceException: Object reference not set to an instance of an object ItemController.Start()(at Assets/ItemController.cs:17)【Unity】
【経緯】 Unityでゲームを作っていて、"NullReferenceException: Object reference not set to an instance of an object ItemController.Start()(at Assets/ItemController.cs:17)" というエラーが出ました。 解決したので、報告します。 【ヒエラルキー... -
未分類
【Unity】値が高くなるにつれて、背景色を変える方法
【経緯】 Unityでゲームを作っていて、スコアが増えると、背景色が変わる演出ができないか、今回やって見ました。 【” Mathf.Lerp()”を使う】 まず、プログラムを書きます。ヒエラルキーウィンドウに「背景」があり、"GameDitector"というスクリプトの中に... -
Pythonノート
Pythonでprint()を改行したい【python】
【経緯】 pythonを勉強していて、print()を使って、()に変数を2つ文字で入れていました。 変数 + 変数だと変数同士がつながってしまい、切り分けができなかったので、 今回は変数と変数の間がわかるように改行する方法を勉強しました。 【”\n”を使う】 プ... -
未分類
ChatGPT4.0を導入する方法
【経緯】 ChatGPTのAPI、openaiを使って、プログラミングで記事を書いていましたが、 内容が全然なかったので、記事は最新のものを使おうと思い、 ChatGPT4.0を導入したので、そのやり方を紹介します。 【「ChatGPTにログイン」→「画面左のバーの"Upgrade ... -
未分類
【chatGPT】this challenge page was accidentally cached by an intermediary and is no longer available
私はMacbook airでchatGPTを使っていて、”this challenge page was accidentally cached by an intermediary and is no longer available”というエラーが出たので、このエラーの解決方法を報告します。 【日付と時刻を自動的に設定をオンにする】 私はなぜ... -
未分類
【Unity】MainCameraが小さすぎるて、Canvasがデカすぎる問題。
【経緯】 Unityでゲームを作ろうとして、CanvasのUIでテキストや画像を挿入しようとしたところ、MainCameraと全然サイズが違って困っていた。 なので、今回、CanvasのUIがMainCameraにいい感じに収まる方法を勉強しました。 【”Canvas”の”インスペクターウ... -
未分類
メルカリでビットコイン買ってみた
メルカリでビットコインが買えるようになったみたいなので、 試しに買ってみました。 簡単だったので、手順を報告します。 【まずは「登録」】 スマホからメルカリアプリを開く → マイページ → ビットコインを買う → はじめる → 生体認証を登録し... -
STEPNノート
2023年3月の結果【STEPN】
3月の結果です。 メインスニーカーはUncommon_Runner-LV19です。 スニーカーの個数は4足です。 【利益(GST)】 利益 = 報酬 - 支出(リペア + MT Box Open Fee + 靴のリペア) 537.23 = 943.23 - (96 + 230 + 80) 収入内訳 獲得GST合計943.23943.23 支出内訳... -
Pythonノート
PythonでWordPressの記事は書けたので、OpenIA APIの引数について勉強しました【python】
【経緯】 pythonを勉強していて、pythonでWordPressを操作することはできたので、 今回はOpenAI APIの主要な引数を勉強しました。 【一覧】 プログラムを書きます。 openai.Completion.create( engine="text-davinci-002", prompt=None, temperature=0.5, ... -
Pythonノート
PythonでWordPressの記事を書いて、ヘッダーに画像を貼る【python】
【経緯】 pythonを勉強していて、pythonでWordPressを操作することはできたのですが、 出来上がったブログのヘッダーの画像が「No Image」だったので、 今回はヘッダーに画像を貼る方法を勉強しました。 【"featured_media"を追加する】 結論は、"featured... -
Pythonノート
PythonでWordPressの記事を書いて、本文にリンクを貼る【python】
【経緯】 pythonを勉強していて、pythonでWordPressを操作することはできたのですが、 本文にリンクを貼ろうとしたら、うまくできなかったので、 今回は本文にリンクを貼る方法を勉強しました。 【"HTMLカスタム"を使う】 結論は、"HTMLカスタム"を使うと... -
Pythonノート
PythonでWordPressの記事を書いて、カテゴリを指定してみた【python】
【経緯】 pythonを勉強していて、pythonでWordPressを操作できたので、 今回は”カテゴリ”を指定する方法を勉強しました。 【"categories"を使う】 結論は、”categories”というのがあるので、それを埋め込むと、カテゴリが指定できます。 プログラムを書き... -
Pythonノート
PythonでWordPressの記事を書いてみた【python】
【経緯】 pythonを勉強していて、pythonでWordPressを操作できると聞いたので、 今回、pythonを使って、WordPressに記事を書いて、下書きにするところまで勉強しました。 【"WordPressのアプリケーションパスワード"を発行】 まず、"WordPressのアプリケー... -
Pythonノート
chatGPTのAPIを使って、pythonでchatGPT動かしてみた【python】
【経緯】 chatGPTのAPIを使って、pythonでchatPGTが動かせる?使えると聞いたので、 今回勉強しました。 【"pop install openai"を使う】 まず、openaiをインストールします。 !pip install openai と打って"openai"をインストールします。 とりあえず、プ... -
未分類
WebAssembly streaming compilation failed! This can happen for example if “Content-Encoding” HTTP header is incorrectly enabled on the server for file Build/FallAppleGame.wasm, but the file is not pre-compressed on disk (or vice versa). Check the Network tab in browser Devtools to debug server header configuration.【Unity】
【経緯】 Unityでゲームを作って、自分のWebサイトにリンクを貼って、そのリンクをクリックしたら、「WebAssembly streaming compilation failed! This can happen for example if "Content-Encoding" HTTP header is incorrectly enabled on the server f... -
C#ノート
doubleの使い方【C#】
【経緯】 C#でC#のファイルを読んでいたら、「double」というデータ型がでてきたので、今回勉強しました。 【「double」とは】 doubleは、浮動小数点数を表すデータ型です。double型は、小数点以下の桁数が多い数値を表現するのに適しています。 【使用例... -
未分類
Windowsのバージョンを知る方法
【経緯】 ダウンロードするときに「win32」と「win64」とあって、どっちか迷いました。 なので、自分が使っているWindowsのバージョンを確認する方法を、 今回勉強しました。 【「コントロールパネル」→「システムとセキュリティ」→「システム」の順にクリ... -
未分類
.exeファイルの中身を見たい
【経緯】 Windowsアプリを作りたくて、参考にしたいWindowsアプリが.exeファイルになってその中身が見れたらいいなと思い、今回勉強しました。 【「dnSpy」を使用して、.exeファイルを見る】 結論、「dnSpy」というツールがあるのでそれをダウンロードする... -
未分類
MissileShip【Unity】
【ゲームのリンク】 ↓がゲームのリンクになります。http://morip.sakura.ne.jp/wp_morinokabu/wp-content/uploads/game/FallApple/index.html 【操作方法】 キーボードの「←」キーと「→」キーで人間が動きます。 「りんご」を取るとPointが加算します。Poi... -
未分類
【ChatGPT】Something went wrong. If this issue persists please contact us through our help center at help.openai.com.
【経緯】 ChatGPTを使っていて、質問する度に「Something went wrong. If this issue persists please contact us through our help center at help.openai.com.」 と毎回出てイラつくので、今回そのエラーの解決方法を勉強しました。 【リロードするしか... -
C#ノート
.datファイルのデータを取得する【C#】
【経緯】 C#で.datファイルのデータを取得したくて、今回勉強しました。 【「BinaryReader」を使用して、.datファイルを開いて、データを取得していく】 まず、プログラムを書きます。.datファイルを開いて、データを取得しています。 // ファイルパスの設... -
C#ノート
.thdファイルのデータを取得する【C#】
【経緯】 C#で.thdファイルのデータを取得したくて、今回勉強しました。 【「StreamReader」を使用して、.thdファイルを開いて、2次元配列でデータを取得していく】 まず、プログラムを書きます。.thdファイルを開いて、2次元配列でデータを取得しています... -
C#ノート
.thdファイルを.csvファイルに変換したら文字化けする【C#】
Windowsの仕様 エディション:Windows 10 Pro バージョン:20H2 【経緯】 C#で.thdファイルを.csvファイルに変換するプログラムを作っていましたが、カタカナ、ひらがな、漢字が文字化けするトラブルにあいました なので、今回文字化けしない方法を勉強しま...