This text is bold - it must be important
This text is italicized; you should probably pay attention to it...
This text is bold - it must be important
This text is italicized; you should probably pay attention to it...
objc[34942]: Class wxNSAppController is implemented in both /Users/Susan/miniconda3/envs/psychopy/lib/libwx_osx_cocoau_core-3.2.0.dylib (0x104fd1a78) and /Users/Susan/miniconda3/envs/psychopy/lib/libwx_osx_cocoau_core-3.2.0.2.1.dylib (0x1104f1a78). One of the two will be used. Which one is undefined. | |
objc[34942]: Class ModalDialogDelegate is implemented in both /Users/Susan/miniconda3/envs/psychopy/lib/libwx_osx_cocoau_core-3.2.0.dylib (0x104fd1aa0) and /Users/Susan/miniconda3/envs/psychopy/lib/libwx_osx_cocoau_core-3.2.0.2.1.dylib (0x1104f1aa0). One of the two will be used. Which one is undefined. | |
objc[34942]: Class wxNSApplication is implemented in both /Users/Susan/miniconda3/envs/psychopy/lib/libwx_osx_cocoau_core-3.2.0.dylib (0x104fd1af0) and /Users/Susan/miniconda3/envs/psychopy/lib/libwx_osx_cocoau_core-3.2.0.2.1.dylib (0x1104f1af0). One of the two will be used. Which one is undefined. | |
objc[34942]: Class wxCPWCDelegate is implemented in both /Users/Susan/miniconda3/envs/psychopy/lib/libwx_osx_cocoau_co |
# ⭐⭐⭐ | |
# Video explanation: https://youtu.be/SkpgZXDUHio | |
# Notes: https://codewithsusan.com/notes/run-laravel-apps-via-subdirectories-nginx | |
# ⭐⭐⭐ | |
server { | |
# Listen for incoming requests on port 80 (default for HTTP traffic) | |
listen 80; | |
# Also listen on port 80 but for IPv6 connections |
<?php | |
/** | |
Fix for Dompdf downloading instead of streaming to the browser | |
⭐ Video guide: https://youtu.be/ktOoBDSFTgI ⭐ | |
**/ | |
require 'vendor/autoload.php'; | |
use Dompdf\Dompdf; |
<?php | |
/** | |
How to send emails in Laravel without using a Mailable class. Includes raw plain text emails, HTML emails, and emails generated from Blade View files. | |
⭐ Video how-to: https://youtu.be/FFFqbvNGptc ⭐ | |
Full reference: https://codewithsusan.com/notes/laravel-email-without-mailable-class | |
*/ | |
namespace App\Http\Controllers; |
<?php | |
# Basic PHP code to test a connection with a MySQL database | |
# https://codewithsusan.com | |
# https://www.youtube.com/channel/UCLyz8iEvzxyhKEBzOTs6bJQ | |
# Set up all the variables we need to make a connection | |
$host = '127.0.0.1'; # Common hosts for local servers include '127.0.0.1' or 'localhost' | |
$database = 'demo'; | |
$username = 'root'; |
<?php | |
/* | |
⭐⭐⭐ | |
YouTube video that covers all the details of this code: | |
https://youtu.be/PO1UOIMW-AE | |
Written guide: | |
https://codewithsusan.com/notes/youtube-api-php-oauth-connection | |
⭐⭐⭐ |
<?php | |
session_start(); | |
# Check if a game is in progress | |
if (!isset($_SESSION['game_board'])) { | |
# If not, set up a new game board | |
$_SESSION['game_board'] = | |
array( | |
array(0,0,0), |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Project 2 High or Low</title> | |
<link href='/styles.css' rel='stylesheet'> | |
</head> | |
<body> | |
<h2>Instructions</h2> |
<!doctype html> | |
<html lang='en'> | |
<head> | |
<title>War (card game) Simulator</title> | |
<meta charset='utf-8'> | |
<style> | |
.card { | |
border: 1px solid black; |