This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Weidner\Goutte\GoutteFacade as GoutteFacade; | |
| class SampleController extends Controller | |
| { | |
| public function __invoke() | |
| { | |
| $goutte = GoutteFacade::request('GET',$review_url); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:location.href=location.href+'?mylist_sort=8&continuous=1&playlist=eyJpZCI6InZpZGVvX3BsYXlsaXN0X215bGlzdCIsIm15bGlzdElkIjoxODAxMTgwMSwibXlsaXN0TmFtZSI6IlJpbu-8oOadseaWueODj-OCpuOCueODquODn-ODg-OCr-OCuSJ9'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:var g=Jarty.__globals;location.href='https://www.nicovideo.jp/watch/'+g.my.currentItems[0].item_data.video_id+'?mylist_sort=8&continuous=1&playlist='+g.watch_playlist; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Illuminate\Http\Request; | |
| Route::get('asin/{asin}', 'AmazonAsinApiController') | |
| ->middleware('cache.headers:public'); | |
| ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Illuminate\Http\Request; | |
| Route::get('asin/{asin}', 'AmazonAsinApiController'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Controllers; | |
| use AmazonProduct; | |
| use App\Http\Controllers\Controller; | |
| class AmazonAsinApiController extends Controller | |
| { | |
| public function show($id) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Illuminate\Http\Request; | |
| Route::resource('asin','AmazonAsinApiController')->only([ | |
| 'show' | |
| ]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| try { | |
| $sent += $this->_sendTo($message, $reversePath, $to, $failedRecipients); | |
| $sent += $this->_sendCc($message, $reversePath, $cc, $failedRecipients); | |
| $sent += $this->_sendBcc($message, $reversePath, $bcc, $failedRecipients); | |
| } catch (Exception $e) { | |
| $message->setBcc($bcc); | |
| throw $e; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $transport = Swift_SmtpTransport::newInstance('localhost',25); | |
| $mailer = Swift_Mailer::newInstance($transport); | |
| $transport = \Swift_SmtpTransport::newInstance('smtp.gmail.com',587,'tls') | |
| ->setUsername($from) | |
| ->setPassword($password); | |
| $mailer = \Swift_Mailer::newInstance($transport); | |
| $message = \Swift_Message::newInstance() | |
| ->setSubject('テストメール') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <blockquote class="twitter-tweet" data-lang="ja"> | |
| <p lang="ja" dir="ltr">ほんまじ <a href="https://t.co/OXy2nyvs0O">https://t.co/OXy2nyvs0O</a></p> | |
| — いず (@nobodyplace) <a href="https://twitter.com/nobodyplace/status/1103314371692748800?ref_src=twsrc%5Etfw">2019年3月6日</a> | |
| </blockquote> | |
| <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> |