# php artisan make:console UpdateHogeFeed –command=”updateHoge” コマンドを作る <?php namespace App\Console\Commands; use Illuminate\Console\Command; class UpdateHogeFeed extends Command { / …
Laravel バッチ処理

var 優技録 = []string{ "Golang", "Vue.js", "AWS", "PHP", "DB", "IaC", "SRE"}
# php artisan make:console UpdateHogeFeed –command=”updateHoge” コマンドを作る <?php namespace App\Console\Commands; use Illuminate\Console\Command; class UpdateHogeFeed extends Command { / …
Access Tokenの例 Regular Expression Extractor Name of created variable access_token Reqular Expression “access_token”:”(.*)”,”refresh_token” Temp …
Laravel におけるリポジトリ実装のポイント ・インターフェイスによるリポジトリ抽象化 ・リポジトリでの複数テーブル ・リポジトリでのPaginator Laravel で Service 層を取り入れるときに検討したいこと ・Service // Serviceには2種類あって厳格に区別されるよ ・アプリケーションService(ユースケース) // アプリの単機能モジュールだ …
ここのところでrand_flagのところをいじったのみ https://watashinagata.com/auto-tinder/
手の込んだ集計などはSQLで取った方がシンプルになることも多い ヒアドキュメントを利用して記述するのが良いですね🐱 <?php namespace App\Services; use App\Services\Service; use Illuminate\Support\Facades\DB; class GetsectionParentGoalService extends Servic …
—————————————————— ■ 可能な限り情報を添えて伝えてください。 ——————&# …
不正送信が発生😱 サポートでなんとか解除して貰ったが送信ができず…。 コンソール上ではenabledなのに送信できないが、AWS CLIから活を入れたら送信できるようになった。 有効化 メールが送信できるようになった メール送信できるようになった🐱コンソールですべて正常に見えるが、裏側ではEnabledがfalseになって有効化されていなかった…。注意。
/healthcheck.phpを除いてBasic認証を設定する # vi /etc/httpd/conf.d/allBasicAuth.conf <Location /> Satisfy Any AuthType Basic AuthName “Login” AuthUserFile /var/www/html/.htpasswd Require valid-user SetEnvI …
ClamAV インストール サービスの有効化 スキャンの実施
ハロワ! public class Main { public static void main(String[] args) { System.out.println(“ハロワ”); } } クラス public class Main { public static void main(String[] args) { Monster monster1 …
JavaScriptの正規表現 /^yuu/ 「yuu」を検出 /^yuu\d/ \d 数字を表す この場合は「yuu1」, 「yuu9」などを検出 /^\d{4}-?\d{3}$/ ^ 行の先頭 $ 行の先頭 d{4} 4桁の数字 -? -、または-がない場合がある moge? ? 直前の一文字がある場合、ない場 …