Skip to content

Instantly share code, notes, and snippets.

View agoalofalife's full-sized avatar
😉
Do what you can, with what you have, where you are

Ilya Chubarov agoalofalife

😉
Do what you can, with what you have, where you are
View GitHub Profile
@agoalofalife
agoalofalife / 0_reuse_code.js
Created May 10, 2016 12:13
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@agoalofalife
agoalofalife / testing mail in droplet with laravel
Last active January 16, 2019 09:56 — forked from emmanuelbarturen/testing mail in droplet with laravel
send email from artisan with tinker of laravel
# SSH into droplet
# go to project
$ php artisan tinker
$ Mail::send('errors.401', [], function ($message) { $message->to('emmanuelbarturen@gmail.com')->subject('this works!'); });
Mail::raw('test', function ($message) {$message->subject('Тестовая тема');$message->from('test@test.com');$message->to('agoalofalife@gmail.com');});
# check your mailbox