https://github.com/exelban/stats
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
| #!/bin/bash | |
| # WordPress Auto-Installer Script | |
| # Author: WordPress Development Assistant | |
| # Description: Automated WordPress installation with database setup and configuration | |
| set -e # Exit on any error | |
| # Color codes for output | |
| RED='\033[0;31m' |
| import fs from 'fs'; | |
| import path from 'path'; | |
| import { fileURLToPath } from 'url'; | |
| // Get the directory name of the current module | |
| const __filename = fileURLToPath(import.meta.url); | |
| const __dirname = path.dirname(__filename); | |
| // Paths to the files | |
| const tomlFilePath = path.join(__dirname, '../shopify.app.toml'); |
| # sudo find / -name "create_nginx_config.sh" | |
| # alias newdomain="/path/to/create_nginx_config.sh" | |
| # source ~/.zshrc | |
| #!/bin/bash | |
| read -p "Enter domain folder name (without .test): " domain_name | |
| read -p "Enter index.php path: " path_name | |
| if [ -z "$domain_name" ]; then |
| ##################################################### | |
| # Running AWS Services In A Laptop Using LocalStack # | |
| # https://youtu.be/8hi9P1ffaQk # | |
| ##################################################### | |
| # Referenced videos: | |
| # - Terraform vs. Pulumi vs. Crossplane - Infrastructure as Code (IaC) Tools Comparison: https://youtu.be/RaoKcJGchKM | |
| # - Should We Replace Docker Desktop With Rancher Desktop?: https://youtu.be/bYVfCp9dRTE | |
| ######### |
| { | |
| "Ansi 1 Color" : { | |
| "Red Component" : 0.7074432373046875, | |
| "Color Space" : "sRGB", | |
| "Blue Component" : 0.16300037503242493, | |
| "Alpha Component" : 1, | |
| "Green Component" : 0.23660069704055786 | |
| }, | |
| "Tags" : [ |
| <?php | |
| function dijkstra($graph, $start, $end) { | |
| // Set the distance from the start node to all other nodes to infinity | |
| $distances = array_fill(0, count($graph), INF); | |
| // Set the distance from the start node to itself to 0 | |
| $distances[$start] = 0; | |
| // Set all nodes as unvisited | |
| $visited = array_fill(0, count($graph), false); | |
| // Set the previous node for each node to null | |
| $previous = array_fill(0, count($graph), null); |
| <?php | |
| use Psr\Container\ContainerInterface; | |
| class AppContainer implements ContainerInterface { | |
| private array $instances = []; | |
| public function get( string $id ) { | |
| if ( $this->has( $id ) ) { |
| #!/bin/bash -e | |
| clear | |
| # for MAMP user using php version 7.1.1 this is required | |
| # export PATH="/Applications/MAMP/bin/php/php7.1.1/bin:$PATH" | |
| # Remove/Uninstall process | |
| if [[ $1 == "remove" ]]; then |