Understand Laravel job traits

class ProcessPodcast implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * The podcast instance. * * @var \App\Models\Podcast */ protected $podcast; /** * Create a new job instance. * * @param App\Models\Podcast $podcast * @return void */ public function __construct(Podcast $podcast) { $this->podcast = $podcast; } /** * Execute the job. * * @param... Continue Reading →

XCrawler – Automatically post to WordPress

Okay bài toán này trước đây mình đã xử lý. Tuy nhiên giờ thì xử lý triệt để hơn. Gửi notifications / email khi có favorited movies. Dựa trên genres / castsGửi email khi có movie mới lên WordPress Về cơ bản 2 bài toán này similar nhau. Observe table movies khi có createdKiểm tra... Continue Reading →

Setup Ubuntu 20.04 Workspace

Update system after installed sudo apt update && sudo apt -y upgrade Install required packages sudo apt -y install software-properties-common sudo apt -y install curl git unzip perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python curl openssh-server Redis & Memcache sudo apt -y redis redis-server redis-tools memcached MySQL 8.0 sudo apt -y install mysql-client mysql-sandbox... Continue Reading →

Pages: 1 2 3 4

Up ↑