Tested on Laravel 5.8
Within the source code of laravel 5.8 at this time of writing, we have this following
<?php
namespace Illuminate\Support;
server { | |
server_name default_server; | |
# This is for Let's Encrypt certification renewal | |
include /etc/nginx/snippets/letsencrypt.conf; | |
# Redirect to https | |
location / { | |
return 301 https://$server_name$request_uri; | |
} | |
} |
#!/bin/bash | |
echo -e "\nSetting up ssh and config file" | |
if [ ! -d ~/.ssh ]; then | |
echo -e "\nCreating ssh folder" | |
mkdir ~/.ssh | |
else | |
echo -e "\nSSH folder already exists..." | |
fi |
/** | |
* Simple Longest Common Subsequence | |
*/ | |
let initial = "ABCDGH"; | |
let compared = "AEDFHR"; | |
let expected = "This is the string"; | |
function assertEquals(expected, actual) | |
{ |