This file contains hidden or 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 declare(strict_types=1); | |
| class MysqliConnect | |
| { | |
| /** | |
| * @var string | |
| */ | |
| protected string $hostName; | |
| /** |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| #Debian-based Linux | |
| MAJOR_VERSION=1 | |
| MINOR_VERSION=15 | |
| PATCH_VERSION=0 | |
| FSWATCH_VERSION="$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION" | |
| FSWATCH_URL="https://github.com/emcrisostomo/fswatch/releases/download/$FSWATCH_VERSION/fswatch-$FSWATCH_VERSION.tar.gz" | |
| MAKE_STR=$(apt-get list --installed | gcc) |
This file contains hidden or 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
| [ | |
| { | |
| "abbreviations": ["b"], | |
| "word": "buccal", | |
| "definition": "", | |
| "source": "", | |
| "tags": ["tooth", "surfaces"] | |
| }, | |
| { | |
| "abbreviations": ["d"], |
This file contains hidden or 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
| version: '3.7' | |
| services: | |
| db: | |
| image: postgres:11 | |
| container_name: postgres_db | |
| ports: | |
| - "5432:5432" | |
| volumes: | |
| - ./db:/var/lib/postgresql/data/pgdata | |
| - ./logs:/var/lib/postgresql/data/logs |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Run as Root/Sudo User | |
| # Update system. | |
| apt-get update -y | |
| # Install packages needed for adding docker-ce repository. | |
| apt install -y apt-transport-https \ | |
| ca-certificates \ | |
| curl \ |
This file contains hidden or 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 | |
| /** | |
| * PHP HMAC SHA256 | |
| */ | |
| $message = "Message"; | |
| $secret = "secret"; | |
| $s = hash_hmac('sha256', $message, $secret, true); |
This file contains hidden or 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 | |
| $phpColorCodeEscapes = [ | |
| "instructions" => "echo '\e[0;36mSome Text\e[0m';", | |
| "codes" => [ | |
| [ | |
| "color" => "Black", | |
| "code" => "0;30" | |
| ], | |
| [ |