From 1ed7fb7d3330cb7894f5c378c8fb2c70eaeb83be Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Fri, 1 Mar 2024 22:49:44 -0500 Subject: [PATCH] This home page is _personal_ --- personal-home-page/.gitignore | 1 + personal-home-page/blergh.php | 11 +++ personal-home-page/composer.json | 14 ++++ personal-home-page/composer.lock | 124 ++++++++++++++++++++++++++++++ personal-home-page/hello.php | 11 +++ personal-home-page/helloworld.php | 35 +++++++++ personal-home-page/phpinfo.php | 1 + personal-home-page/pong.php | 6 ++ 8 files changed, 203 insertions(+) create mode 100644 personal-home-page/.gitignore create mode 100644 personal-home-page/blergh.php create mode 100644 personal-home-page/composer.json create mode 100644 personal-home-page/composer.lock create mode 100644 personal-home-page/hello.php create mode 100644 personal-home-page/helloworld.php create mode 100644 personal-home-page/phpinfo.php create mode 100644 personal-home-page/pong.php diff --git a/personal-home-page/.gitignore b/personal-home-page/.gitignore new file mode 100644 index 0000000..57872d0 --- /dev/null +++ b/personal-home-page/.gitignore @@ -0,0 +1 @@ +/vendor/ diff --git a/personal-home-page/blergh.php b/personal-home-page/blergh.php new file mode 100644 index 0000000..c1f834a --- /dev/null +++ b/personal-home-page/blergh.php @@ -0,0 +1,11 @@ +option()->require()->describedAs('A person\'s name'); + +$name = $hello_cmd[0]; + +echo "Hello, $name", PHP_EOL; diff --git a/personal-home-page/composer.json b/personal-home-page/composer.json new file mode 100644 index 0000000..b8e20f7 --- /dev/null +++ b/personal-home-page/composer.json @@ -0,0 +1,14 @@ +{ + "name": "meatballhat/personal-home-page", + "type": "library", + "require": { + "nategood/commando": "^0.4.0" + }, + "license": "MIT", + "authors": [ + { + "name": "Dan Buch", + "email": "dan@meatballhat.com" + } + ] +} diff --git a/personal-home-page/composer.lock b/personal-home-page/composer.lock new file mode 100644 index 0000000..fb75d1b --- /dev/null +++ b/personal-home-page/composer.lock @@ -0,0 +1,124 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "4aa26239cdb17b13a548c56ac84b5749", + "packages": [ + { + "name": "kevinlebrun/colors.php", + "version": "0.4.1", + "source": { + "type": "git", + "url": "https://github.com/kevinlebrun/colors.php.git", + "reference": "d132f36d06e48ea080855af19b4bcb1fb615224a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kevinlebrun/colors.php/zipball/d132f36d06e48ea080855af19b4bcb1fb615224a", + "reference": "d132f36d06e48ea080855af19b4bcb1fb615224a", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "3.7.*", + "satooshi/php-coveralls": "dev-master", + "squizlabs/php_codesniffer": "1.*" + }, + "type": "library", + "autoload": { + "psr-0": { + "Colors": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kevin Le Brun", + "email": "lebrun.k@gmail.com", + "homepage": "http://kevinlebrun.fr", + "role": "developer" + } + ], + "description": "Colors for PHP CLI scripts", + "homepage": "https://github.com/kevinlebrun/colors.php", + "keywords": [ + "cli", + "color", + "colors", + "console", + "shell" + ], + "support": { + "issues": "https://github.com/kevinlebrun/colors.php/issues", + "source": "https://github.com/kevinlebrun/colors.php/tree/0.4.1" + }, + "time": "2014-12-23T01:23:37+00:00" + }, + { + "name": "nategood/commando", + "version": "0.4.0", + "source": { + "type": "git", + "url": "https://github.com/nategood/commando.git", + "reference": "8fedd49fcb694faf60d87d5c2c4defdffa298fa0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nategood/commando/zipball/8fedd49fcb694faf60d87d5c2c4defdffa298fa0", + "reference": "8fedd49fcb694faf60d87d5c2c4defdffa298fa0", + "shasum": "" + }, + "require": { + "kevinlebrun/colors.php": "~0.2", + "php": ">=5.6" + }, + "type": "library", + "autoload": { + "psr-0": { + "Commando": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nate Good", + "email": "me@nategood.com" + } + ], + "description": "PHP CLI Commando Style", + "homepage": "http://github.com/nategood/commando", + "keywords": [ + "automation", + "cli", + "command", + "command line", + "command line interface", + "scripting" + ], + "support": { + "issues": "https://github.com/nategood/commando/issues", + "source": "https://github.com/nategood/commando/tree/v0.4.0" + }, + "time": "2019-07-10T02:37:11+00:00" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.6.0" +} diff --git a/personal-home-page/hello.php b/personal-home-page/hello.php new file mode 100644 index 0000000..cd3ea03 --- /dev/null +++ b/personal-home-page/hello.php @@ -0,0 +1,11 @@ + + + + Example + + + Hi, I'm a PHP script!"; + ?> + + diff --git a/personal-home-page/helloworld.php b/personal-home-page/helloworld.php new file mode 100644 index 0000000..d2557f2 --- /dev/null +++ b/personal-home-page/helloworld.php @@ -0,0 +1,35 @@ + diff --git a/personal-home-page/pong.php b/personal-home-page/pong.php new file mode 100644 index 0000000..f27fe46 --- /dev/null +++ b/personal-home-page/pong.php @@ -0,0 +1,6 @@ +
+
+