Generated by All in One SEO v5.0.1.1, this is an llms.txt file, used by LLMs to index the site. # daiki44の開発備忘録 ## Sitemaps - [XML Sitemap](http://daiki-sekiguchi.com/sitemap.xml): Contains all public & indexable URLs for this website. ## 投稿 - [【Laravel】Model ファイルのディレクトリ構成変更時にやること](http://daiki-sekiguchi.com/2018/09/17/laravel-how-to-change-model-dir/) - フリーランスエンジニアのブログです。今回は PHP Laravel で Model ファイルのディレクトリを分けるときにやるべきことをまとめました。 テーブルが多いプロジェクトで Model ファイルによって /app ディレクトリが混雑し、管理しにくくなってしまう問題を解決します。 - [【Ethereum・Solidity】基本データ型まとめ(int / string / bool / Array / Struct / address / mapping)](http://daiki-sekiguchi.com/2018/07/13/ethereum-solidity-basic-data-type/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidityの基本データ型について解説しています。int, uint / string / bool / Array / Struct / address / mapping - [【Ethereum・Solidity】アクセス修飾子(public, private, internal, external)について](http://daiki-sekiguchi.com/2018/07/16/ethereum-solidity-access-modifiers/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidityのアクセス修飾子について解説しています。public / private / internal / external - [【TwitterAPI】突然のエラー「Code89: Invalid or expired token」](http://daiki-sekiguchi.com/2018/07/17/twitter-api-error-code89-invalid-of-expired-token/) - フリーランスエンジニアのブログです。今回はTwitterAPI使用時に発生したエラー「Code89: Invalid or expired token」の原因と解決方法について解説しています。 - [【Ethereum・Solidity】状態修飾子(view, pure)について](http://daiki-sekiguchi.com/2018/07/20/ethereum-solidity-view-modifiers-pure-modifiers/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidityの状態修飾子(view / pure)について解説しています。状態修飾子を付与することで関数の呼び出しにGASがかからなくなることが大きなメリットです。詳細は記事にて。 - [【Mac SublimeText3】KeyBindingsの設定を変更して、Tab予測変換を有効化](http://daiki-sekiguchi.com/2018/07/21/mac-sublimetext3-tab-auto-correct/) - フリーランスエンジニアのブログです。MacでSublime Text使用時にTabキーによる予測変換が無視されてしまうことがあります。今回はその解消方法について解説しています。 - [【Ethereum・Solidity】Solidityにおけるコメントの書き方](http://daiki-sekiguchi.com/2018/07/22/ethereum-solidity-comment/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidityにおけるコメントのスタンダードルールについて解説しています。@title / @author / @notice / @param / @return / @dev - [【Ethereum・Solidity】Keccak256(ハッシュ関数)について](http://daiki-sekiguchi.com/2018/07/23/ethereum-solidity-keccak256/) - [【Ethereum・Solidity】特定のタイミングで通知を出す「Event」について](http://daiki-sekiguchi.com/2018/07/24/ethereum-solidity-event/) - ブロックチェーンエンジニアのブログです。今回はEthereum SolidityのEventについて解説しています。 Eventは関数にセットすることで、コントラクト上で発生した結果をログに保存したり、フロントエンドに伝えたりすることができます。 - [【Laravel】SQLログをlaravel.logへ出力する](http://daiki-sekiguchi.com/2018/07/26/laravel-sql-log/) - フリーランスエンジニアのブログです。LaravelはデフォルトでSQLのログを出力してくれないので、デバッグ時に結構困ります。 そこで今回は、`storage/logs/laravel.log`へSQLログを出力する方法を記載します。 - [【Ethereum】Remix(旧Browser-Solidity)でPORTを変えて起動する](http://daiki-sekiguchi.com/2018/07/27/ethereum-remix-change-port/) - ブロックチェーンエンジニアのブログです。RemixのデフォルトのPORT番号は8080となっているのですが、他の言語でフロントを開発していると8080ポートが既に使われているときがあると思います。`package.json`を編集すればポートを変更できます。詳細は記事で。 - [PHP最先端フレームワーク「Laravel」をインストールする](http://daiki-sekiguchi.com/2018/07/30/how-to-install-laravel/) - フリーランスエンジニアのブログです。PHPのフレームワークの中で、最近一番勢いがある「Laravel」のインストール方法について解説しています。 - [【Ethereum・Solidity】関数実行前に処理ができるmodifierとは](http://daiki-sekiguchi.com/2018/07/31/ethereum-solidity-modifier/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidityにおけるmodifierについて解説しています。 modifierを関数に付与することで、その関数を実行する前に任意の処理を実行することができます。 - [【Ethereum】Solidityフレームワーク「Truffle」をMacにインストールする](http://daiki-sekiguchi.com/2018/08/01/ethereum-solidity-truffle-install-mac/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidityのフレームワークである「Truffle」をMacOSへインストールする方法を説明しています。 - [【Ethereum】Solidityフレームワーク「Truffle」をWindows7にインストールする](http://daiki-sekiguchi.com/2018/08/02/ethereum-solidity-truffle-install-windows/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidityのフレームワークである「Truffle」をWindows7へインストールする方法を説明しています。 - [【Ethereum】ERC20トークンの概要と関数について](http://daiki-sekiguchi.com/2018/08/03/ethereum-what-is-erc20/) - ブロックチェーンエンジニアのブログです。今回はEthereumトークンコントラクトの共通規格である「ERC20」について解説しています。 - [【Solidity】Remixで開発しているときにOpenZepplinを呼び出す](http://daiki-sekiguchi.com/2018/08/04/ethereum-solidity-import-openzepplin-in-remix/) - [【Solidity】文字列比較で発生したWarningへの対応(Warning: This function only accepts a single "bytes" argument. )](http://daiki-sekiguchi.com/2018/08/05/ethereum-solidity-string-compare/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidityでスマートコントラクト開発時に発生したWarningの原因と解決方法をご紹介しています。「Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.」 - [【Loom SDK】TruffleでDAppChainへデプロイしてコントラクトを叩いてみる](http://daiki-sekiguchi.com/2018/08/06/ethereum-loom-sdk-install/) - ブロックチェーンエンジニアのブログです。 今回の記事はLoom SDK環境構築会へ参加した際に行った手順をまとめています。 Loom SDKのインストールからデプロイまで。 - [【Solidity】importでDeclarationError: Identifier already declare](http://daiki-sekiguchi.com/2018/08/07/ethereum-solidity-declaration-error/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidityでスマートコントラクト開発時に発生したエラーの原因と解決方法をご紹介しています。(DeclarationError: Identifier already declare.) - [【Ethereum】Ganacheで簡単にプライベートネットワークを起動しよう](http://daiki-sekiguchi.com/2018/08/08/ethereum-what-is-ganache/) - ブロックチェーンエンジニアのブログです。今回はEthereumのネットワークを簡単に立ち上げることができるGUIアプリの「Ganache」についてご紹介しています。 - [【Truffle】migrate時にError: Attempting to run transaction which calls a contract function, but recipient address is not a contract address](http://daiki-sekiguchi.com/2018/08/09/ethereum-truffle-migrate-error-attempting-to-run-transaction-which-calls-a-contract-function-but-recipient-address-is-not-a-contract-address/) - ブロックチェーンエンジニアのブログです。今回はEthereumのスマートコントラクト開発時に、Truffleで発生したエラーの原因と解決方法を解説しています。 (Error: Attempting to run transaction which calls a contract function, but recipient address is not a contract address) - [【Solidity】Warning: Function declared as view, but this expression (potentially) modifies the state and thus requires non-payable (the default) or payable.](http://daiki-sekiguchi.com/2018/08/10/ethereum-solidity-warning-function-declared-as-view/) - ブロックチェーンエンジニアのブログです。今回はEthereumのスマートコントラクト開発時に発生したWarningの原因と解決方法を解説しています。 (Warning: Function declared as view, but this expression (potentially) modifies the state and thus requires non-payable (the default) or payable.) - [【Solidity】mapping key が存在しない場合を判定する](http://daiki-sekiguchi.com/2018/08/11/ethereum-solidity-mapping-key-not-exists/) - ブロックチェーンエンジニアのブログです。今回はEthereumのスマートコントラクト開発時、mappingにデータが登録されているかどうかを判定する方法についてご紹介しています。 Solidityではnullの概念がないため、if (userBalance[msg.sender] == null)的なことができず実装時にハマりました。 - [【Solidity】TypeError: Member "push" is not available in address[] memory outside of storage.](http://daiki-sekiguchi.com/2018/08/12/ethereum-solidity-member-push-is-not-available-in-address-memory-outside-of-storage/) - ブロックチェーンエンジニアのブログです。今回はEthereumのスマートコントラクト開発時に発生したエラーの原因と解決方法をご紹介しています。 (TypeError: Member "push" is not available in address[] memory outside of storage.) - [【Laravel × Vue.js チュートリアル】HelloWorldをやってみる](http://daiki-sekiguchi.com/2018/08/13/laravel-vue-js-helloworld/) - フリーランスエンジニアのブログです。今回はPHPフレームワークのLaravelとJavaScriptフレームワークのVue.jsを組み合わせて、Hello Worldまでを行う方法を解説しています。 - [【Laravel】Session store not set on request.](http://daiki-sekiguchi.com/2018/08/14/laravel-session-store-not-set-on-request/) - フリーランスエンジニアのブログです。今回はPHP Laravel開発時におけるエラーの原因と解決方法をご紹介しています。 (Session store not set on request.) - [【iOS】[!] Unable to find a specification for `〇〇〇〇`](http://daiki-sekiguchi.com/2018/08/15/ios-unable-to-find-a-specification/) - [【iOS】Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 326.](http://daiki-sekiguchi.com/2018/08/16/ios-cant-exec-aclocal/) - [【Laravel × AdminLTE】Sidebarを多言語化対応する](http://daiki-sekiguchi.com/2018/08/17/laravel-adminlte2-sidebar-localization/) - [【Laravel × AdminLTE】AdminLTE をインストールして使ってみる](http://daiki-sekiguchi.com/2018/08/18/laravel-adminlte-install/) - [【Remix × Ganache】RemixからGanacheネットワークへ接続する](http://daiki-sekiguchi.com/2018/08/19/ethereum-remix-ganache-connect/) - ブロックチェーンエンジニアのブログです。今回はEthereumのスマートコントラクト開発時に、Ganacheで構築したネットワークへRemixで接続する方法について解説しています。 - [【Laravel】GoutteでスクレイピングしてGoogle検索順位をチェックしてみた](http://daiki-sekiguchi.com/2018/08/20/laravel-goutte-google-seo-check/) - フリーランスエンジニアのブログです。今回はPHPフレームワークLaravelを使ってスクレイピングを行い、Google検索順位をチェックする方法について解説しています。 Goutteというライブラリを使用すれば簡単に実装できることがわかりました。 - [#BitcoinHackathon に参加してきました!](http://daiki-sekiguchi.com/2018/08/21/bitcoin-hackathon/) - ブロックチェーンエンジニアのブログです。今回は先日行われたCryptoAge・Yenom主催のBitcoinHackathonの参加レポートを記事にしました。 - [【Solidity】TypeError: This type is only supported in the new experimental ABI encoder.](http://daiki-sekiguchi.com/2018/08/22/ethereum-solidity-typeerror-this-type-is-only-supported-in-the-new-experimental-abi-encoder/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidityでスマートコントラクト開発時に発生したエラーの原因と解決方法をご紹介しています。 (TypeError: This type is only supported in the new experimental ABI encoder. Use "pragma experimental ABIEncoderV2;" to enable the feature.) - [【Laravel】Google検索順位チェックツールを作ってみた](http://daiki-sekiguchi.com/2018/08/23/laravel-google-search-engine-ranking-check-tool/) - フリーランスエンジニアのブログです。PHPのフレームワークLaravel を使ってGoogle検索順位チェックツールを作ってみました。 OSSで進めていきますので、みなさま奮ってご協力ください。 サイトはこちら→https://gcheck.daiki-sekiguchi.com/?blog - [【PostgreSQL チュートリアル】Macへのインストール方法と基本コマンド](http://daiki-sekiguchi.com/2018/08/24/postgresql-tutorial/) - フリーランスエンジニアのブログです。今回はPostgreSQLのMacOSへのインストールから簡単なコマンドの実行方法までを解説しています。 - [【Laravel】composer install時にエラー(Failed to execute unzip -qq)](http://daiki-sekiguchi.com/2018/08/26/laravel-composer-install-failed-to-execute-unzip-qq/) - フリーランスエンジニアのブログです。今回はPHPフレームワークLaravelをインストールする際に発生したエラーの原因と解決方法について解説しています。 (Failed to execute unzip -qq) - [【Laravel】プロジェクト作成後に Apache で開くと Permission denied](http://daiki-sekiguchi.com/2018/08/27/laravel-permission-denied-after-create-project/) - フリーランスエンジニアのブログです。今回はPHPフレームワークLaravelで、プロジェクト作成後に毎回発生するPermissionエラーの原因と解決方法について解説しています。 - [【Heroku】Heroku デプロイ時に dotenv を適用する](http://daiki-sekiguchi.com/2018/08/28/heroku-dotenv/) - [【Node.js】環境変数を dotenv で設定する](http://daiki-sekiguchi.com/2018/08/29/nodejs-dotenv/) - フリーランスエンジニアのブログです。今回はNode.js のアプリケーション内で `dotenv(motdotla/dotenv)` を使って環境変数を設定する方法をご紹介しています。 - [【Node.js】Date 型を簡単に操作できる date-utils を使ってみる](http://daiki-sekiguchi.com/2018/08/30/nodejs-date-utils/) - フリーランスエンジニアのブログです。今回はNode.jsでDate型を簡単に操作できるようになる`date-utils`の各関数の使い方について細かく解説しています。 - [【Laravel】サービスクラス作成手順](http://daiki-sekiguchi.com/2018/08/31/laravel-how-to-make-service-class/) - フリーランスエンジニアのブログです。今回はPHPフレームワークLaravelでサービスクラスを作成する際の手順について解説しています。 - [【Node.js】moment.js で Date 型を簡単に扱おう!](http://daiki-sekiguchi.com/2018/09/01/nodejs-how-to-use-moment-js/) - フリーランスエンジニアのブログです。今回はNode.jsでDate型を簡単に操作できるようになる`moment`の各関数の使い方について細かく解説しています。 - [【NEM】NEM ブロックチェーン上で独自トークンを発行する](http://daiki-sekiguchi.com/2018/09/02/nem-how-to-make-namespace-and-mosaic/) - ブロックチェーンエンジニアのブログです。今回はNEMブロックチェーン上に独自トークン(モザイク)を発行する方法について解説しています。 - [【Node.js】色々な型に使える Utils パッケージを使ってみた](http://daiki-sekiguchi.com/2018/09/03/nodejs-how-to-use-utils-package/) - フリーランスエンジニアのブログです。今回はNode.jsで色々な型に使用可能な`Utils`パッケージのインストール方法から各関数の使い方までを解説しています。 - [【Node.js】Number オブジェクトの中身をちゃんと見てみる](http://daiki-sekiguchi.com/2018/09/04/nodejs-what-is-number-object/) - フリーランスエンジニアのブログです。今回はNode.jsの「Number」オブジェクトが持つプロパティやメソッドまでを細かく解説しています。 - [【保存版】Node.js の String オブジェクトをちゃんと使いこなす](http://daiki-sekiguchi.com/2018/09/05/nodejs-what-is-string-object/) - フリーランスエンジニアのブログです。今回はNode.jsの「String」オブジェクトが持つメソッドについて細かく解説しています。 - [【NEM】NEM-sdk を使って特定アドレスの XEM 残高を取得する](http://daiki-sekiguchi.com/2018/09/06/nem-sdk-get-balance/) - ブロックチェーンエンジニアのブログです。今回はJavaScriptライブラリのNEM-sdkを使って特定アドレスのXEM残高を取得する方法について解説しています。 - [【NEM】NEM-sdk を使って特定アドレスへ XEM を送金する](http://daiki-sekiguchi.com/2018/09/07/nem-sdk-transactions-send/) - [【NEM】NEM-sdk を使って特定アドレスへモザイクを送金する](http://daiki-sekiguchi.com/2018/09/08/nem-sdk-mosaic-transaction-send/) - ブロックチェーンエンジニアのブログです。今回は NEM-sdk という JavaScript ライブラリを使って、モザイクを送金するスクリプトの作成方法をご紹介しています。 - [【Node.js】babel を使って ECMAScript 2015 (ES6) へ対応する](http://daiki-sekiguchi.com/2018/09/11/nodejs-how-to-use-es6/) - フリーランスエンジニアのブログです。今回の記事では babel-cli というモジュールを使って、Node.js を ECMAScript 2015 (ES6) で書かれた JavaScript で動かせるようにしていきます。 - [【Node.js】error: INSERT has more expressions than target columns](http://daiki-sekiguchi.com/2018/09/12/nodejs-error-insert-has-more-expressions-than-target-columns/) - フリーランスエンジニアのブログです。今回は Node.js で PostgreSQL を使っているときに発生したエラーの原因と解決方法をご紹介します。error: INSERT has more expressions than target columns - [【Laravel】Cron時、タスクの多重起動を防止する](http://daiki-sekiguchi.com/2018/07/25/laravel-scheduler/) - フリーランスエンジニアのブログです。LaravelでCron処理を走らせている際に、1分刻みでやるとタスクが多重起動してしまい、処理が重複してしまうことがあると思います。それを防ぐためにはwithoutOverlapping関数を呼んであげれば終了です。 - [【Ethereum・Solidity】単位とグローバル変数について](http://daiki-sekiguchi.com/2018/07/14/ethereum-solidity-unit-and-global-variable/) - ブロックチェーンエンジニアのブログです。今回はEthereum Solidity内で用意されているグローバル変数について解説しています。グローバル変数を使えば金額や時間の表現やブロック情報へアクセスすることが可能です。 ## カテゴリー - [ブロックチェーン](http://daiki-sekiguchi.com/category/ブロックチェーン/) - [Ethereum](http://daiki-sekiguchi.com/category/ブロックチェーン/ethereum/) - [Web](http://daiki-sekiguchi.com/category/web/) - [Laravel](http://daiki-sekiguchi.com/category/web/laravel/) - [API](http://daiki-sekiguchi.com/category/web/api/) - [Twitter](http://daiki-sekiguchi.com/category/web/api/twitter/) - [Tips](http://daiki-sekiguchi.com/category/tips/) - [Vue.js](http://daiki-sekiguchi.com/category/web/vue-js/) - [Smartphone](http://daiki-sekiguchi.com/category/smartphone/) - [iOS](http://daiki-sekiguchi.com/category/smartphone/ios/) - [PostgreSQL](http://daiki-sekiguchi.com/category/web/postgresql/) - [Heroku](http://daiki-sekiguchi.com/category/web/heroku/) - [Node.js](http://daiki-sekiguchi.com/category/web/node-js/) - [NEM](http://daiki-sekiguchi.com/category/ブロックチェーン/nem/)