Source: Install and configure MySQL / MariaDB (Ubuntu)
To delete MySQL, first run the following command to make sure it’s not running:
> sudo systemctl stop mysql
<h2>Results</h2> | |
<ul> | |
<?php foreach($results as $player => $result) { ?> | |
<li><?php echo $player ?></li> | |
<ul> | |
<?php for($i = 1; $i <= 3; $i++) { ?> | |
<li> | |
Turn <?php echo $i; ?>: | |
Rolled <?php echo implode(', ', $result['turn'.$i]) ?> |
<?php | |
$cards = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; | |
shuffle($cards); | |
$playerCards = []; | |
$computerCards = []; | |
# Edit the bashrc file | |
alias configedit='code ~/.bashrc' | |
# Edit the alias config file | |
alias configalias='code ~/.bash_aliases' | |
# Recognize changes to bashrc config | |
# (which will also recognize changes to the alias config file) | |
alias configrefresh='source ~/.bashrc' |
Source: Install and configure MySQL / MariaDB (Ubuntu)
To delete MySQL, first run the following command to make sure it’s not running:
> sudo systemctl stop mysql
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Symfony\Component\Translation\Provider\NullProvider; | |
class AppController extends Controller | |
{ | |
public function index() |
<?php | |
# REF: | |
# Nginx: https://codewithsusan.com/notes/upgrade-php-nginx | |
# Apache: https://codewithsusan.com/notes/upgrade-php-apache | |
# UPDATE THESE TWO PATHS: | |
$current = '/path/to/current/php.ini'; | |
$previous = '/path/to/previous/php.ini'; |
<!doctype html> | |
<html lang='en'> | |
<head> | |
<title> Create a Parking Ticket | |
</title> | |
<meta charset='utf-8'> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | |
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> |
[v-cloak] { | |
display: none; | |
} | |
#app { | |
font-family: Avenir, Helvetica, Arial, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
text-align: center; | |
color: black; |
#!/bin/bash | |
main() { | |
do_swap | |
do_instructor_server_access | |
do_aliases | |
do_composer | |
do_github | |
do_modules | |
do_repository |
The following is an index of the outside readings relevant to each week of the semester.