This file contains 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\Support\Facades\DB; | |
use Illuminate\Support\Facades\Schema; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreateCountriesTable extends Migration | |
{ | |
/** |
This file contains 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
var countries = [ | |
'Afghanistan', | |
'Albanië', | |
'Algerije', | |
'Andorra', | |
'Angola', | |
'Antigua-Barbuda', | |
'Argentinië', | |
'Armenië', | |
'Aruba', |
This file contains 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
# Welcome Message | |
fortune | cowsay -f $(ls /usr/share/cowsay/cows/ | shuf -n1) |
This file contains 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
sudo chown -R $USER:$(id -gn $USER) ~/.npm | |
sudo chown -R $USER:$(id -gn $USER) /usr/local/lib/node_modules |
This file contains 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
Bringing machine 'vagrantbox' up with 'virtualbox' provider... | |
==> vagrantbox: Importing base box 'laravel/homestead'... | |
==> vagrantbox: Matching MAC address for NAT networking... | |
==> vagrantbox: Checking if box 'laravel/homestead' version '10.0.0' is up to date... | |
==> vagrantbox: Setting the name of the VM: vagrantbox | |
==> vagrantbox: Clearing any previously set network interfaces... | |
==> vagrantbox: Preparing network interfaces based on configuration... | |
vagrantbox: Adapter 1: nat | |
vagrantbox: Adapter 2: hostonly | |
==> vagrantbox: Forwarding ports... |
This file contains 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
$ vagrant up | |
Bringing machine 'vagrantbox' up with 'virtualbox' provider... | |
==> vagrantbox: Importing base box 'laravel/homestead'... | |
==> vagrantbox: Matching MAC address for NAT networking... | |
==> vagrantbox: Checking if box 'laravel/homestead' version '10.0.0' is up to date... | |
==> vagrantbox: Setting the name of the VM: vagrantbox | |
==> vagrantbox: Clearing any previously set network interfaces... | |
==> vagrantbox: Preparing network interfaces based on configuration... | |
vagrantbox: Adapter 1: nat | |
vagrantbox: Adapter 2: hostonly |