create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
If you are an Oh-my-zsh user, see the Laravel 5 plugin
For the rest of us Bash users, all of the Laravel Artisan autocomplete solutions out there require installing a composer package to get a list of artisan commands. Turns out this isn't really necessary. Simply add the provided code in ~/.bash_profile ( or similarly sourced file ) and you'll get artisan command tab completes on any project on your system.
_artisan()
{
local arg="${COMP_LINE#php }"
case "$arg" in
<?php | |
it('extracts video ID from YouTube URLs', function ($url, $expectedId) { | |
expect(get_youtube_video_id($url))->toBe($expectedId); | |
})->with([ | |
['https://youtu.be/dQw4w9WgXcQ', 'dQw4w9WgXcQ'], | |
['https://www.youtube.com/watch?v=dQw4w9WgXcQ', 'dQw4w9WgXcQ'], | |
['http://youtube.com/v/dQw4w9WgXcQ', 'dQw4w9WgXcQ'], | |
['https://www.youtube.com/embed/dQw4w9WgXcQ', 'dQw4w9WgXcQ'], | |
['https://www.youtube.com/shorts/dQw4w9WgXcQ', 'dQw4w9WgXcQ'], |