├── .gcloudignore
├── .gitignore
├── .htaccess
├── README.md
├── _____github-hackmatch_____.txt
├── app.yaml
├── composer.json
├── composer.lock
├── data
├── first_names.csv
├── first_names.json
├── last_names.csv
├── last_names.json
├── mock_users.json
├── structure of matched user.php
├── structure of pdo fetch_both.php
└── test_users.csv
├── index.php
├── orig-index.php
├── slim4.htaccess
├── sql
├── qCloudSQL.sql
├── qCreate Mock Users.sql
├── qMatch protos.sql
└── test_users_export.sql
├── src
├── classes
│ ├── ActionMatchLookingFor.php
│ ├── ActionMatchSeeMatches.php
│ ├── AppGlobals.php
│ ├── ModelUsers.php
│ └── WeeklySalesReport.php
├── dependencies.php
├── interfaces
│ └── ISuppressionList.php
├── middleware.php
├── routes.php
├── structs
│ ├── ArrTopicStruct.php
│ ├── BasicTopicStruct.php
│ ├── DataTopicStruct.php
│ ├── ErrTopicStruct.php
│ ├── FPTopicStruct.php
│ ├── IOTopicStruct.php
│ ├── LookingForStruct.php
│ ├── OOPTopicStruct.php
│ ├── SQLTopicStruct.php
│ ├── SecTopicStruct.php
│ ├── SkillStruct.php
│ ├── StrTopicStruct.php
│ ├── TestTopicStruct.php
│ ├── TopicsStruct.php
│ └── WebTopicStruct.php
├── traits
│ ├── CodeBuddiesUtil.php
│ └── LandingTrait.php
└── zce
│ ├── AngularJS_content-temp.php
│ ├── arrays
│ ├── array_intro.php
│ ├── array_ops.php
│ ├── key_values.php
│ ├── looping.php
│ ├── merge_compare.php
│ ├── sorting.php
│ ├── spl.php
│ ├── stack_queue.php
│ └── transforms.php
│ ├── basics
│ ├── basics_intro.php
│ ├── configuration.php
│ ├── control_structures.php
│ ├── extensions.php
│ ├── identifiers.php
│ ├── language_constructs.php
│ ├── namespaces.php
│ ├── operators.php
│ └── performance.php
│ ├── data
│ ├── data_intro.php
│ ├── data_structures.php
│ ├── date_time.php
│ ├── json.php
│ ├── rest.php
│ ├── soap.php
│ └── xml.php
│ ├── errors
│ ├── config.php
│ ├── custom_errors.php
│ ├── error_class.php
│ ├── error_functions.php
│ ├── error_types.php
│ ├── errors_intro.php
│ ├── exception_class.php
│ ├── throwable.php
│ └── try_catch_finally.php
│ ├── functions
│ ├── callable_class.php
│ ├── functions_intro.php
│ ├── lambas_closures.php
│ ├── parametric_rules.php
│ ├── references.php
│ ├── scope.php
│ └── variadic_dynamic.php
│ ├── io
│ ├── accounting-sm.csv
│ ├── fs_info_op.php
│ ├── fs_resource.php
│ ├── io_intro.php
│ ├── stream.php
│ └── stream_wrapper.php
│ ├── oop
│ ├── advanced_oop.php
│ ├── anonymous_objects.php
│ ├── auto_loading.php
│ ├── basic_oop.php
│ ├── generators.php
│ ├── inheritance.php
│ ├── late_static_binding.php
│ ├── loop_compare.php
│ ├── magic_methods.php
│ ├── oop_intro.php
│ ├── reflection.php
│ ├── spl.php
│ ├── traits.php
│ └── try_catch.php
│ ├── security
│ ├── encryption_hashing.php
│ ├── file_upload_security.php
│ ├── filter_escape.php
│ ├── https.php
│ ├── permissions.php
│ ├── remote_code_injection.php
│ ├── security_intro.php
│ ├── session_security.php
│ ├── sql_injection.php
│ ├── xsrf.php
│ └── xss.php
│ ├── sql
│ ├── aggregates.php
│ ├── crud_ops.php
│ ├── data_definitions.php
│ ├── data_types.php
│ ├── grouping.php
│ ├── joins.php
│ ├── keys_indexes.php
│ ├── pdo_fetch_methods.php
│ ├── pdo_fetch_modes.php
│ ├── prepared_statements.php
│ ├── sql_db_intro.php
│ └── transactions.php
│ ├── strings
│ ├── encodes.php
│ ├── extracting.php
│ ├── formatting.php
│ ├── heredoc_nowdoc.php
│ ├── phonetic.php
│ ├── regex_engine_advanced.php
│ ├── regex_engine_basics.php
│ ├── regex_engine_intermediate.php
│ ├── search_compare.php
│ ├── string_intro.php
│ ├── transforms.php
│ └── word_char_count.php
│ ├── testing
│ └── testing_intro.php
│ └── web
│ ├── encode_decode.php
│ ├── file_uploads.php
│ ├── html_forms.php
│ ├── http_authentication.php
│ ├── http_requests_responses.php
│ ├── network_functions.php
│ ├── output_buffer.php
│ ├── sessions.php
│ ├── super_globals.php
│ └── web_intro.php
├── templates
├── about.phtml
├── eng
│ ├── temp.arrays.phtml
│ ├── temp.basics.phtml
│ ├── temp.data.phtml
│ ├── temp.errors.phtml
│ ├── temp.functions.phtml
│ ├── temp.io.phtml
│ ├── temp.oop.phtml
│ ├── temp.security.phtml
│ ├── temp.sql.phtml
│ ├── temp.strings.phtml
│ ├── temp.testing.phtml
│ └── temp.web.phtml
├── julius-alvarado.phtml
├── julius
│ ├── temp.about-julius.phtml
│ ├── temp.build.phtml
│ ├── temp.edu.phtml
│ └── temp.learn.phtml
├── landing.phtml
├── layout
│ ├── footer.php
│ ├── html-lower-jh.phtml
│ ├── html-lower.php
│ ├── html-upper-jh.phtml
│ ├── html-upper.php
│ ├── toolbar.php
│ └── topics-expr-tree.php
├── md-template.phtml
├── other
│ ├── contact-info.phtml
│ ├── julius-alvarado-copy.phtml
│ ├── landing-security-practice.phtml
│ └── landing-style.txt
├── security1
│ ├── about-user.phtml
│ ├── get-matched.phtml
│ ├── show-matches - backup.phtml
│ └── show-matches.phtml
└── test
│ ├── about-user.phtml
│ ├── get-matched.phtml
│ ├── show-matches - backup.phtml
│ └── show-matches.phtml
├── tests
├── Functional
│ ├── BaseTestCase.php
│ └── HomepageTest.php
├── SampleTest.php
└── rs-cli.txt
└── ui-match
├── app.js
├── hi.html
├── md-card-test.html
├── states
└── match
│ ├── ctrl.match.js
│ └── view.match.html
└── styles
├── app.css
└── demo-styles.css
/.gcloudignore:
--------------------------------------------------------------------------------
1 | # This file specifies files that are *not* uploaded to Google Cloud Platform
2 | # using gcloud. It follows the same syntax as .gitignore, with the addition of
3 | # "#!include" directives (which insert the entries of the given .gitignore-style
4 | # file at that point).
5 | #
6 | # For more information, run:
7 | # $ gcloud topic gcloudignore
8 | #
9 | .gcloudignore
10 | # If you would like to upload your .git directory, .gitignore file or files
11 | # from your .gitignore file, remove the corresponding line
12 | # below:
13 | .git
14 | .gitignore
15 | .idea
16 |
17 | # PHP Composer dependencies:
18 | vendor/
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .vscode/
3 | /coverage/
4 | /vendor/
5 | /logs/*
6 | !/logs/README.md
7 | .phpunit.result.cache
8 | assets
9 | *.log
10 | settings.php
11 | php-manual
12 | ui-match/modules
--------------------------------------------------------------------------------
/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine On
3 |
4 | # Some hosts may require you to use the `RewriteBase` directive.
5 | # Determine the RewriteBase automatically and set it as environment variable.
6 | # If you are using Apache aliases to do mass virtual hosting or installed the
7 | # project in a subdirectory, the base path will be prepended to allow proper
8 | # resolution of the index.php file and to redirect to the correct URI. It will
9 | # work in environments without path prefix as well, providing a safe, one-size
10 | # fits all solution. But as you do not need it in this case, you can comment
11 | # the following 2 lines to eliminate the overhead.
12 |
13 | # RewriteBase /.htaccess
14 | # RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
15 | # RewriteRule ^(.*) - [E=BASE:%1]
16 |
17 | # If the above doesn't work you might need to set the `RewriteBase` directive manually,
18 | # it should be the absolute physical path to the directory that contains this htaccess file.
19 |
20 | RewriteEngine on
21 | RewriteBase /.htaccess
22 | RewriteCond %{REQUEST_FILENAME} !-f
23 | # for local development
24 | RewriteRule ^ /index.php [QSA,L]
25 |
--------------------------------------------------------------------------------
/_____github-hackmatch_____.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 | This is the code that get's deployed to:
4 | github.com/hack-match
5 |
6 |
7 | ... It does NOT get deployed to the gcloud app engine.
8 |
9 |
10 | //
--------------------------------------------------------------------------------
/app.yaml:
--------------------------------------------------------------------------------
1 | runtime: php73
2 |
3 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "slim/slim": "^3.0",
4 | "slim/php-view": "^2.0",
5 | "monolog/monolog": "^1.17",
6 | "ext-pdo": "*",
7 | "spatie/regex": "^1.4"
8 | },
9 | "require-dev": {
10 | "google/cloud-tools": "^0.8.1",
11 | "phpunit/phpunit": "^5"
12 | },
13 | "autoload": {
14 | "psr-4": {
15 | "CodeBuddies\\": ["src/classes", "src/interface", "src/traits", "src/structs"]
16 | }
17 | }
18 | }
--------------------------------------------------------------------------------
/data/structure of matched user.php:
--------------------------------------------------------------------------------
1 | 'Aaron',
11 | 0 => 'Aaron',
12 | 'last_name' => 'CHASE',
13 | 1 => 'CHASE',
14 | 'user_type' => 'mock user',
15 | 2 => 'mock user',
16 | 'gender' => 'male',
17 | 3 => 'male',
18 | 'skills' => 'angular, html, javascript, php, interview practice, c#, c, web dev',
19 | 4 => 'angular, html, javascript, php, interview practice, c#, c, web dev',
20 | 'q_id' => '10000340',
21 | 5 => '10000340',
22 | 'id' => '1',
23 | 6 => '1',
24 | 'about' => null,
25 | 7 => null,
26 | 'time_added' => '2020-05-21 09:33:42',
27 | 8 => '2020-05-21 09:33:42',
28 | 'skills_matched' =>
29 | [
30 | 0 => 'c',
31 | 2 => 'html',
32 | 3 => 'php',
33 | ],
34 | 'skill_pct_match' => 0.38,
35 | ];
--------------------------------------------------------------------------------
/data/test_users.csv:
--------------------------------------------------------------------------------
1 | first_name,last_name,user_type,gender,skills,q_id,id,about,time_added,looking_for
2 | hii,,real user,,"C, PHP, HTML, Math, Data Science, etc",,265,,5/26/2020 2:30,
3 | hii,,real user,,"C, PHP",0,274,todo,5/26/2020 7:08,"mentee true, openSource true, other , "
4 | hii,,real user,,"apache, excel, math, visual basic, data, python",0,275,todo,5/26/2020 7:09,"mentee true, openSource true, other , "
5 | hii world,,real user,,"C, PHP",0,276,todo,5/26/2020 18:40,"openSource true, other , "
6 | hii,,real user,,"C, PHP",0,285,todo,5/27/2020 21:13,"coding true, mentee true, other , "
7 | hii world,,real user,,"C, PHP",0,286,todo,5/27/2020 21:14,"coding true, mentee true, other , "
8 | julius yooo,,real user,,"C, PHP",0,287,todo,5/27/2020 21:16,"coding true, mentee true, other , "
9 | hii world j,,real user,,"C, PHP",0,288,todo,5/27/2020 21:20,"coding true, mentee true, other , "
10 | julius,,real user,,"php, html, sql",,311,,6/1/2020 19:06,"account true, coding true, mentee true, other , "
11 | julius,,real user,,"math, css, javascript, python",,316,todo,6/1/2020 19:49,"coding true, openSource true, other , "
12 | julius,,real user,,"C, PHP, HTML, Math",,317,todo,6/1/2020 19:52,"mentee true, openSource true, contributors true, other , "
13 | augustus,,real user,,python,,319,todo,6/1/2020 20:37,"mentee true, openSource true, other , "
14 | julius,,real user,,"php, math, sql, logic",,320,todo,6/2/2020 21:01,"account true, coding true, mentee true, openSource true, contributors true, other , "
15 | julius,,real user,,"c, php, logic, math, html",,321,todo,6/3/2020 18:17,"account true, coding true, mentor true, mentee true, openSource true, contributors true, other , "
16 | julius one,,real user,,logic,,324,todo,6/3/2020 20:03,"account true, contributors true, other , "
17 | augustus,,real user,,"python, php",,328,todo,6/9/2020 6:13,"mentor true, openSource true, contributors true, other , "
18 | hii world,,real user,,"apache, excel, math, visual basic, data, python",,331,todo,7/2/2020 21:07,"account true, mentee true, openSource true, "
19 | julius,,real user,,"python, html",,334,todo,7/6/2020 7:54,"account true, coding true, mentee true, other , "
20 | Cris,,real user,,"python, data science",,339,todo,7/14/2020 17:40,"mentor true, other , "
21 |
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 | run();
36 |
37 |
38 | # [END gae_slim_front_controller]
39 |
--------------------------------------------------------------------------------
/orig-index.php:
--------------------------------------------------------------------------------
1 | run();
36 |
37 |
38 | # [END gae_slim_front_controller]
39 |
--------------------------------------------------------------------------------
/slim4.htaccess:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | RewriteEngine On
5 |
6 | # Some hosts may require you to use the `RewriteBase` directive.
7 | # Determine the RewriteBase automatically and set it as environment variable.
8 | # If you are using Apache aliases to do mass virtual hosting or installed the
9 | # project in a subdirectory, the base path will be prepended to allow proper
10 | # resolution of the index.php file and to redirect to the correct URI.
11 | # But as you do not need it in this case, you can comment
12 | # the following 2 lines to eliminate the overhead.
13 | RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
14 | RewriteRule ^(.*) - [E=BASE:%1]
15 |
16 | # If the above doesn't work you might need to set the `RewriteBase` directive manually, it should be the
17 | # absolute physical path to the directory that contains this htaccess file.
18 | #RewriteBase /api/
19 | RewriteCond %{REQUEST_FILENAME} !-f
20 | RewriteRule ^ /api/index\.php [QSA,L]
21 |
22 |
--------------------------------------------------------------------------------
/sql/qCloudSQL.sql:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | select *
6 | from mock_users;
7 |
8 |
9 | select * into mock_users_copy
10 | from mock_users;
11 |
12 | create table mock_users_copy as
13 | select *
14 | from mock_users;
15 |
16 | INSERT INTO mock_users_copy
17 | SELECT *
18 | FROM mock_users;
19 | # WHERE entry_date < '2011-01-01 00:00:00';
20 |
21 |
22 |
23 |
24 |
25 | #
--------------------------------------------------------------------------------
/src/classes/ActionMatchLookingFor.php:
--------------------------------------------------------------------------------
1 | salesRep = $data['sales_rep'];
24 | $this->salesData = $data['sales_data'];
25 | $this->salesDataAnalysis();
26 | }
27 |
28 | private function salesDataAnalysis() {
29 | foreach($this->salesData as $job) {
30 | $this->totalSales += $job['sales_amount'];
31 | }
32 | if($this->totalSales > $this->salesGoal) $this->hitSalesGoal = true;
33 | else $this->hitSalesGoal = false;
34 | }
35 |
36 | public function getResult() {
37 | if($this->hitSalesGoal) $o = "
$this->salesRep hit the sales goal
";
38 | else $o = "$this->salesRep failed to hit the sales goal
";
39 | return $o;
40 | }
41 | }
--------------------------------------------------------------------------------
/src/dependencies.php:
--------------------------------------------------------------------------------
1 | getContainer();
11 |
12 | $container['julius_portfolio_app_example_code_base_path'] = 'src/zce';
13 |
14 |
15 |
16 | $container['topics'] = new CodeBuddies\TopicsStruct();
17 |
18 | // view renderer
19 | $container['view'] = fn($c) => new PhpRenderer('templates/');
20 |
21 | // hack match user
22 | $container['codeUser'] = fn($c) => $c['settings']['codeUser'];
23 |
24 | // monolog
25 | $container['logger'] = function($c) {
26 | $settings = $c->get('settings')['logger'];
27 | $logger = new Monolog\Logger($settings['name']);
28 | $logger->pushProcessor(new Monolog\Processor\UidProcessor());
29 | $logger->pushHandler(new Monolog\Handler\StreamHandler($settings['path']));
30 | return $logger;
31 | };
32 |
33 | // local db
34 | if(AppGlobals::isLocal()) $container['dbLocal'] = fn($c) => dbHackMatch($c);
35 | // CloudSQL db
36 | else $container['dbProduction'] = fn($c) => dbHackMatch($c, 'dbCloud', true);
37 |
38 | function dbHackMatch($c, string $dbSetting = 'dbLocal', $cloud = false): PDO {
39 | $db = $c['settings'][$dbSetting];
40 | [$n, $h, $u, $p] = [$db['dbname'], $db['host'], $db['user'], $db['pass']];
41 | $x = 'mysql:dbname=%s;' . ($cloud ? 'unix_socket=/cloudsql/%s' : 'host=%s');
42 | return new PDO(sprintf($x, $n, $h), $u, $p, [
43 | PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
44 | PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
45 | ]);
46 | }
--------------------------------------------------------------------------------
/src/interfaces/ISuppressionList.php:
--------------------------------------------------------------------------------
1 | add(new \Slim\Csrf\Guard);
5 |
6 | //$app->add(new RKA\Middleware\IpAddress(true, []));
7 |
8 |
9 |
10 |
11 | //
12 |
--------------------------------------------------------------------------------
/src/structs/ArrTopicStruct.php:
--------------------------------------------------------------------------------
1 | title = 'Data Services & Formats';
28 | $this->icon = 'memory';
29 | $this->href = '/julius/data';
30 | }
31 | }
--------------------------------------------------------------------------------
/src/structs/ErrTopicStruct.php:
--------------------------------------------------------------------------------
1 | title = 'Error Handling';
29 | $this->icon = 'warning';
30 | $this->href = '/julius/errors';
31 | }
32 | }
--------------------------------------------------------------------------------
/src/structs/FPTopicStruct.php:
--------------------------------------------------------------------------------
1 | title = 'io (Input Output)';
24 | $this->icon = 'sync';
25 | $this->href = '/julius/io';
26 | }
27 | }
--------------------------------------------------------------------------------
/src/structs/OOPTopicStruct.php:
--------------------------------------------------------------------------------
1 | title = 'Unit Testing';
19 | $this->icon = 'bug_report';
20 | $this->href = '/julius/testing';
21 | }
22 | }
--------------------------------------------------------------------------------
/src/structs/TopicsStruct.php:
--------------------------------------------------------------------------------
1 | str = new StrTopicStruct();
30 | $this->arr = new ArrTopicStruct();
31 | $this->bas = new BasicTopicStruct();
32 | $this->dat = new DataTopicStruct();
33 | $this->err = new ErrTopicStruct();
34 | $this->oop = new OOPTopicStruct();
35 | $this->sec = new SecTopicStruct();
36 | $this->sql = new SQLTopicStruct();
37 | $this->web = new WebTopicStruct();
38 | $this->tes = new TestTopicStruct();
39 | $this->fp = new FPTopicStruct();
40 | $this->io = new IOTopicStruct();
41 | }
42 | }
--------------------------------------------------------------------------------
/src/structs/WebTopicStruct.php:
--------------------------------------------------------------------------------
1 | title = 'Built-in Web Features of PHP';
31 | $this->icon = 'language';
32 | $this->href = '/julius/web';
33 | }
34 | }
--------------------------------------------------------------------------------
/src/traits/LandingTrait.php:
--------------------------------------------------------------------------------
1 |
26 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
27 |
28 | When building automated data processing systems and data applications
29 | with an HTML5 based User Interface...
30 |
31 |
32 | In the example, the functions/classes/techniques used are:
33 | some_function(), SomeClass, etc.
34 |
35 |
36 |
37 | $ sample_code
38 |
39 |
40 |
41 |
42 |
43 |
The output from the above code:
44 |
45 |
46 |
$ code_output
47 |
48 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/arrays/array_intro.php:
--------------------------------------------------------------------------------
1 |
18 | Source Code for this cloud app page:
19 | HackMatch/arrays
20 |
21 |
22 |
23 |
With a lot of Power, comes a lot of Memory
24 |
25 | PHPs' arrays get used for everything. They're super easy to learn and use
26 | ... but they can COST Megabytes OR Gigabytes of memory. This is when I pass that data to
27 | a db server & invoke a SQL stored procedure to operate in sync w/PHP.
28 |
29 |
30 | However, for us Practical Computer Science type, we can use alternate data structures
31 | or clever hacks to improve the array. PHP after all, is VERY powerful, I like to think of it
32 | as the skin over the C source code muscle.
33 |
34 |
35 | To improve the runtime memory efficiency, we can use Streams, SPL Data Structures,
36 | C extensions, & generators to yield a data table and just use an array per row.
37 |
38 |
39 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/arrays/array_ops.php:
--------------------------------------------------------------------------------
1 |
40 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
41 |
42 | When building automated data processing systems and data applications
43 | with an HTML5 based User Interface...
44 |
45 |
46 | In the example, the functions/classes/techniques used are:
47 | some_function(), SomeClass, etc.
48 |
49 |
50 |
51 | $ sample_code
52 |
53 |
54 |
55 |
56 |
57 |
The output from the above code:
58 |
59 |
60 |
$ code_output
61 |
62 | ARRAY_OPS_CONTENT;
--------------------------------------------------------------------------------
/src/zce/arrays/sorting.php:
--------------------------------------------------------------------------------
1 |
37 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
38 |
39 | When building automated data processing systems and data applications
40 | with an HTML5 based User Interface...
41 |
42 |
43 | In the example, the functions/classes/techniques used are:
44 | some_function(), SomeClass, etc.
45 |
46 |
47 |
48 | $ sample_code
49 |
50 |
51 |
52 |
53 |
54 |
The output from the above code:
55 |
56 |
57 |
$ code_output
58 |
59 | SORTING_CONTENT;
--------------------------------------------------------------------------------
/src/zce/basics/basics_intro.php:
--------------------------------------------------------------------------------
1 |
24 |
25 | The basic building blocks.
26 |
27 |
28 | I've been programming since I was 18 years old. So I've learned this part over and OVER
29 | again in the excessive amount of languages there are.
30 | After 12+ years I'm digging my heals in at PHP, unless I get paid to learn a different language.
31 |
32 |
33 |
34 | All the main languages are a descendent of the C programming language
35 | so they're each pretty similar.
36 |
37 |
38 |
39 | The breakdown of my Programming Language experience:
40 |
41 | 18-22 years old: Visual Basic, C, Python, C++, & a bit of Java (but I was a C++ Evangelist back then)
42 | 23 years old: Focused more on General Education classes & my "Retail Auditor" job.
43 | 24-25 years old: C# via the Unity Game Engine. Dropped out of College Officially :'(
44 | 26-27 years old: AngularJS, JavaScript, Node.js
45 | 28-Present: PHP, SQL, Node.js, JavaScript, AngularJS and a bit of .NET C#
46 |
47 |
48 |
49 |
50 |
51 | BASICS_INTRO_CONTENT;
--------------------------------------------------------------------------------
/src/zce/basics/control_structures.php:
--------------------------------------------------------------------------------
1 |
34 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
35 |
36 | When building automated data processing systems and data applications
37 | with an HTML5 based User Interface...
38 |
39 |
40 | In the example, the functions/classes/techniques used are:
41 | some_function(), SomeClass, etc.
42 |
43 |
44 |
45 | $ sample_code
46 |
47 |
48 |
49 |
50 |
51 |
The output from the above code:
52 |
53 |
54 |
$ code_output
55 |
56 | CONTROL_STRUCTURES_CONTENT;
--------------------------------------------------------------------------------
/src/zce/basics/identifiers.php:
--------------------------------------------------------------------------------
1 |
34 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
35 |
36 | When building automated data processing systems and data applications
37 | with an HTML5 based User Interface...
38 |
39 |
40 | In the example, the functions/classes/techniques used are:
41 | some_function(), SomeClass, etc.
42 |
43 |
44 |
45 | $ sample_code
46 |
47 |
48 |
49 |
50 |
51 |
The output from the above code:
52 |
53 |
54 |
$ code_output
55 |
56 | IDENTIFIERS_CONTENT;
--------------------------------------------------------------------------------
/src/zce/data/data_intro.php:
--------------------------------------------------------------------------------
1 |
24 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
25 |
26 | When building automated data processing systems and data applications
27 | with an HTML5 based User Interface...
28 |
29 |
30 | In the example, the functions/classes/techniques used are:
31 | some_function(), SomeClass, etc.
32 |
33 |
34 |
35 | $ sample_code
36 |
37 |
38 |
39 |
40 |
41 |
The output from the above code:
42 |
43 |
44 |
$ code_output
45 |
46 | DATA_INTRO_CONTENT;
--------------------------------------------------------------------------------
/src/zce/data/data_structures.php:
--------------------------------------------------------------------------------
1 |
34 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
35 |
36 | When building automated data processing systems and data applications
37 | with an HTML5 based User Interface...
38 |
39 |
40 | In the example, the functions/classes/techniques used are:
41 | some_function(), SomeClass, etc.
42 |
43 |
44 |
45 | $ sample_code
46 |
47 |
48 |
49 |
50 |
51 |
The output from the above code:
52 |
53 |
54 |
$ code_output
55 |
56 | DATA_STRUCTURES_CONTENT;
--------------------------------------------------------------------------------
/src/zce/data/date_time.php:
--------------------------------------------------------------------------------
1 |
34 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
35 |
36 | When building automated data processing systems and data applications
37 | with an HTML5 based User Interface...
38 |
39 |
40 | In the example, the functions/classes/techniques used are:
41 | some_function(), SomeClass, etc.
42 |
43 |
44 |
45 | $ sample_code
46 |
47 |
48 |
49 |
50 |
51 |
The output from the above code:
52 |
53 |
54 |
$ code_output
55 |
56 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/data/json.php:
--------------------------------------------------------------------------------
1 |
34 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
35 |
36 | When building automated data processing systems and data applications
37 | with an HTML5 based User Interface...
38 |
39 |
40 | In the example, the functions/classes/techniques used are:
41 | some_function(), SomeClass, etc.
42 |
43 |
44 |
45 | $ sample_code
46 |
47 |
48 |
49 |
50 |
51 |
The output from the above code:
52 |
53 |
54 |
$ code_output
55 |
56 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/data/rest.php:
--------------------------------------------------------------------------------
1 |
34 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
35 |
36 | When building automated data processing systems and data applications
37 | with an HTML5 based User Interface...
38 |
39 |
40 | In the example, the functions/classes/techniques used are:
41 | some_function(), SomeClass, etc.
42 |
43 |
44 |
45 | $ sample_code
46 |
47 |
48 |
49 |
50 |
51 |
The output from the above code:
52 |
53 |
54 |
$ code_output
55 |
56 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/data/soap.php:
--------------------------------------------------------------------------------
1 |
34 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
35 |
36 | When building automated data processing systems and data applications
37 | with an HTML5 based User Interface...
38 |
39 |
40 | In the example, the functions/classes/techniques used are:
41 | some_function(), SomeClass, etc.
42 |
43 |
44 |
45 | $ sample_code
46 |
47 |
48 |
49 |
50 |
51 |
The output from the above code:
52 |
53 |
54 |
$ code_output
55 |
56 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/data/xml.php:
--------------------------------------------------------------------------------
1 |
34 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
35 |
36 | When building automated data processing systems and data applications
37 | with an HTML5 based User Interface...
38 |
39 |
40 | In the example, the functions/classes/techniques used are:
41 | some_function(), SomeClass, etc.
42 |
43 |
44 |
45 | $ sample_code
46 |
47 |
48 |
49 |
50 |
51 |
The output from the above code:
52 |
53 |
54 |
$ code_output
55 |
56 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/errors/config.php:
--------------------------------------------------------------------------------
1 |
58 | Configuring Errors
59 |
60 | PHP has excellent logging built in for when errors occur. There is no way I could have built
61 | automated systems without it...
62 |
63 |
64 | In the example, the directives I set are:
65 |
66 | error_reporting
67 | error_log
68 | display_errors
69 | display_startup_errors
70 | log_errors
71 | log_errors_max_len
72 | html_errors
73 |
74 |
75 |
76 |
77 | $config_code
78 |
79 |
80 |
81 |
82 |
83 |
There is no output since this is a config file.
84 |
85 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/errors/custom_errors.php:
--------------------------------------------------------------------------------
1 |
32 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
33 |
34 | When building automated data processing systems and data applications
35 | with an HTML5 based User Interface...
36 |
37 |
38 | In the example, the functions/classes/techniques used are:
39 | some_function(), SomeClass, etc.
40 |
41 |
42 |
43 | $ sample_code
44 |
45 |
46 |
47 |
48 |
49 |
The output from the above code:
50 |
51 |
52 |
$ code_output
53 |
54 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/errors/error_class.php:
--------------------------------------------------------------------------------
1 | 25) {
19 | return $commission * .2;
20 | }
21 | return $commission * .1;
22 | };
23 | $commission = 100 / $v;
24 | return $commissionType($v, $commission);
25 | }
26 | catch(Exception $e) {
27 | return 'There was an Exception';
28 | }
29 | catch(Error $e) {
30 | return 'PHP used the Error class instead';
31 | }
32 | }
33 |
34 | $error_class_code = <<<'error_class'
35 | /**
36 | * Created by PhpStorm.
37 | * User: Julius Alvarado
38 | * Date: 9/14/2020
39 | * Time: 7:35 PM
40 | */
41 | declare(strict_types=1);
42 | function ja_error_class($v) {
43 | try {
44 | $commissionType = function(float $v, int $commission): float {
45 | if($v > 25) {
46 | return $commission * .2;
47 | }
48 | return $commission * .1;
49 | };
50 | $commission = 100 / $v;
51 | return $commissionType($v, $commission);
52 | }
53 | catch(Exception $e) {
54 | return 'There was an Exception';
55 | }
56 | catch(Error $e) {
57 | return 'PHP used the Error class instead';
58 | }
59 | }
60 | error_class;
61 |
62 | $error_class_output = ja_error_class(0);
63 |
64 | return <<
66 | The new Error class for PHP 7
67 |
68 | Like most humans, I wasn't able to predict all possible errors successfully.
69 | So PHP helped out by providing the new Error
class
70 |
71 |
72 | In the example, the I purposely forgot to check for the classic division by 0 error.
73 |
74 |
75 |
76 | $error_class_code
77 |
78 |
79 |
80 |
81 |
82 |
The output from the above code:
83 |
84 |
85 |
$error_class_output
86 |
87 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/errors/error_functions.php:
--------------------------------------------------------------------------------
1 |
32 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
33 |
34 | When building automated data processing systems and data applications
35 | with an HTML5 based User Interface...
36 |
37 |
38 | In the example, the functions/classes/techniques used are:
39 | some_function(), SomeClass, etc.
40 |
41 |
42 |
43 | $ sample_code
44 |
45 |
46 |
47 |
48 |
49 |
The output from the above code:
50 |
51 |
52 |
$ code_output
53 |
54 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/errors/errors_intro.php:
--------------------------------------------------------------------------------
1 |
26 | Source Code for this app page:
27 | HackMatch/errors
28 |
29 |
30 |
Squashing Bugs before they become 🐜's
31 |
32 | I'll admit, on occasion I get in "JUST make it work" mode
33 | and start to use \Throwable
for everything
34 |
35 |
36 |
37 | However, a much better approach is using the Rich selection of built-in
38 | specific exceptions PHP offers.
39 |
40 |
41 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/errors/throwable.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/errors/try_catch_finally.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/functions/functions_intro.php:
--------------------------------------------------------------------------------
1 |
21 | Source Code for this app page:
22 | HackMatch/functions
23 |
24 |
25 |
26 |
Why I find functional programming to be useful:
27 |
28 | Although PHP isn't as much of a functional programming language as JavaScript,
29 | all of the practical features can still be emulated. In PHP we can use the "use"
30 | keyword to get access to outer scope which is immensely useful.
31 |
32 |
33 | FUNCTIONS_INTRO;
34 |
--------------------------------------------------------------------------------
/src/zce/functions/references.php:
--------------------------------------------------------------------------------
1 |
21 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
22 |
23 | When building automated data processing systems and data applications
24 | with an HTML5 based User Interface...
25 |
26 |
27 | In the example, the functions/classes/techniques used are:
28 | some_function(), SomeClass, etc.
29 |
30 |
31 |
32 | $ sample_code
33 |
34 |
35 |
36 |
37 |
38 |
The output from the above code:
39 |
40 |
41 |
$ code_output
42 |
43 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/functions/scope.php:
--------------------------------------------------------------------------------
1 |
21 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
22 |
23 | When building automated data processing systems and data applications
24 | with an HTML5 based User Interface...
25 |
26 |
27 | In the example, the functions/classes/techniques used are:
28 | some_function(), SomeClass, etc.
29 |
30 |
31 |
32 | $ sample_code
33 |
34 |
35 |
36 |
37 |
38 |
The output from the above code:
39 |
40 |
41 |
$ code_output
42 |
43 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/io/io_intro.php:
--------------------------------------------------------------------------------
1 |
19 | Source Code for this app page:
20 | HackMatch/io.php
21 |
22 |
23 |
24 |
Here is sample data from the primary resource
25 |
26 | job_id,job_name,qty,job_type,export_duedate,export_coordinator,invoice,postage_class,postage_amt,export_vend_name,sales_rep
27 | 64755,RTECH TIPS CO 11/25/19,39149,Self Mailer,11/26/2019 0:00,Heather Lunsford,603,Standard,6509.26,"[""Denver Redstone Production""]",Contact user not set
28 | 65705,Got Junk Nov,7136,Post Card,11/1/2019 0:00,Leslie Moores,245920,Standard,1,"[""RS W.Sac""]",Andy Cody
29 |
30 |
31 | IO_INTRO;
--------------------------------------------------------------------------------
/src/zce/oop/advanced_oop.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/oop/anonymous_objects.php:
--------------------------------------------------------------------------------
1 |
21 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
22 |
23 | When building automated data processing systems and data applications
24 | with an HTML5 based User Interface...
25 |
26 |
27 | In the example, the functions/classes/techniques used are:
28 | some_function(), SomeClass, etc.
29 |
30 |
31 |
32 | $ sample_code
33 |
34 |
35 |
36 |
37 |
38 |
The output from the above code:
39 |
40 |
41 |
$ code_output
42 |
43 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/oop/auto_loading.php:
--------------------------------------------------------------------------------
1 |
21 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
22 |
23 | When building automated data processing systems and data applications
24 | with an HTML5 based User Interface...
25 |
26 |
27 | In the example, the functions/classes/techniques used are:
28 | some_function(), SomeClass, etc.
29 |
30 |
31 |
32 | $ sample_code
33 |
34 |
35 |
36 |
37 |
38 |
The output from the above code:
39 |
40 |
41 |
$ code_output
42 |
43 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/oop/inheritance.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/oop/late_static_binding.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/oop/loop_compare.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/oop/magic_methods.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/oop/oop_intro.php:
--------------------------------------------------------------------------------
1 |
19 | Object Oriented Programming
20 |
21 | Source Code for this app page:
22 | HackMatch/io.php
23 |
24 |
25 | OOP_INTRO_ANGULAR_JS_CONTENT;
26 |
--------------------------------------------------------------------------------
/src/zce/oop/reflection.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/oop/spl.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/oop/traits.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/oop/try_catch.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/encryption_hashing.php:
--------------------------------------------------------------------------------
1 |
21 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
22 |
23 | When building automated data processing systems and data applications
24 | with an HTML5 based User Interface...
25 |
26 |
27 | In the example, the functions/classes/techniques used are:
28 | some_function(), SomeClass, etc.
29 |
30 |
31 |
32 | $ sample_code
33 |
34 |
35 |
36 |
37 |
38 |
The output from the above code:
39 |
40 |
41 |
$ code_output
42 |
43 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/file_upload_security.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/filter_escape.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/https.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/permissions.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/remote_code_injection.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/security_intro.php:
--------------------------------------------------------------------------------
1 |
27 | Source Code for this app page:
28 | HackMatch/security
29 |
30 |
31 |
32 | Working as an on-premise Data Engineer these past couple of years,
33 | I had the luxury of working within firewalls upon firewalls right in
34 | the center of our intrAnet. Our SQL Servers room was locked behind a
35 | reinforced quadra locked door with 24/7 camera's.
36 |
37 |
38 | Thanks to the Corona virus that business had to layoff tons of workers, so
39 | I'm back in the real world. And PHP is still perceived as a web language
40 | (even though I was using it for Data Analysis & Data Engineering).
41 |
42 |
43 | SECURITY_INTRO_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/session_security.php:
--------------------------------------------------------------------------------
1 |
38 | 1. Session Fixation
39 |
40 | Session Fixation attacks are pretty straight forward to defend against,
41 | check it out:
42 |
43 |
44 | In the example, I configure directives and manually check the url
45 |
46 |
47 |
48 | SAMPLE SESSION FIXATION DEFENSIVE CODE
49 |
50 |
51 |
52 |
The output from the above code:
53 |
54 |
55 |
$ code_output
56 |
57 |
58 |
59 |
60 |
61 |
62 |
2. Session Hijack
63 |
64 | When building automated data processing systems and data applications
65 | with an HTML5 based User Interface...
66 |
67 |
68 | In the example, the functions/classes/techniques used are:
69 | some_function(), SomeClass, etc.
70 |
71 |
72 |
73 |
$ sample_code
74 |
75 |
76 |
77 |
The output from the above code:
78 |
79 |
80 |
$ code_output
81 |
82 | SESSION_SECURITY_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/sql_injection.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/xsrf.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/security/xss.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/aggregates.php:
--------------------------------------------------------------------------------
1 |
22 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
23 |
24 | When building automated data processing systems and data applications
25 | with an HTML5 based User Interface...
26 |
27 |
28 | In the example, the functions/classes/techniques used are:
29 | some_function(), SomeClass, etc.
30 |
31 |
32 |
33 | $ sample_code
34 |
35 |
36 |
37 |
38 |
39 |
The output from the above code:
40 |
41 |
42 |
$ code_output
43 |
44 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/crud_ops.php:
--------------------------------------------------------------------------------
1 |
21 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
22 |
23 | When building automated data processing systems and data applications
24 | with an HTML5 based User Interface...
25 |
26 |
27 | In the example, the functions/classes/techniques used are:
28 | some_function(), SomeClass, etc.
29 |
30 |
31 |
32 | $ sample_code
33 |
34 |
35 |
36 |
37 |
38 |
The output from the above code:
39 |
40 |
41 |
$ code_output
42 |
43 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/data_definitions.php:
--------------------------------------------------------------------------------
1 |
21 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
22 |
23 | When building automated data processing systems and data applications
24 | with an HTML5 based User Interface...
25 |
26 |
27 | In the example, the functions/classes/techniques used are:
28 | some_function(), SomeClass, etc.
29 |
30 |
31 |
32 | $ sample_code
33 |
34 |
35 |
36 |
37 |
38 |
The output from the above code:
39 |
40 |
41 |
$ code_output
42 |
43 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/data_types.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/grouping.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/joins.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/keys_indexes.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/pdo_fetch_methods.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/pdo_fetch_modes.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/prepared_statements.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/sql_db_intro.php:
--------------------------------------------------------------------------------
1 |
27 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
28 |
29 | When building automated data processing systems and data applications
30 | with an HTML5 based User Interface...
31 |
32 |
33 | In the example, the functions/classes/techniques used are:
34 | some_function(), SomeClass, etc.
35 |
36 |
37 |
38 | $ sample_code
39 |
40 |
41 |
42 |
43 |
44 |
The output from the above code:
45 |
46 |
47 |
$ code_output
48 |
49 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/sql/transactions.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/strings/encodes.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/strings/heredoc_nowdoc.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/strings/phonetic.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/strings/regex_engine_advanced.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/strings/regex_engine_basics.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/strings/regex_engine_intermediate.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/strings/search_compare.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/strings/string_intro.php:
--------------------------------------------------------------------------------
1 |
25 | Strings & The Regex Engine
26 |
27 | Source Code for this app page:
28 | HackMatch/strings.php
29 |
30 |
31 |
32 |
33 | I don't know what I'd do without regex, let's take a look at matching
34 | Custom Inventory Usage the inventory team types in the "notes" field:
35 |
36 |
37 |
38 | STRING_INTRO;
39 |
40 |
41 |
--------------------------------------------------------------------------------
/src/zce/strings/transforms.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/strings/word_char_count.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/testing/testing_intro.php:
--------------------------------------------------------------------------------
1 |
27 | Short Explanation
28 |
29 | When building automated data processing systems and data applications
30 | with an HTML5 based User Interface...
31 |
32 |
33 | In the example, the functions/classes/techniques used are:
34 | some_function(), SomeClass, etc.
35 |
36 |
37 |
38 | $ sample_code
39 |
40 |
41 |
42 |
43 |
44 |
The output from the above code:
45 |
46 |
47 |
$ code_output
48 |
49 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/web/encode_decode.php:
--------------------------------------------------------------------------------
1 |
21 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
22 |
23 | When building automated data processing systems and data applications
24 | with an HTML5 based User Interface...
25 |
26 |
27 | In the example, the functions/classes/techniques used are:
28 | some_function(), SomeClass, etc.
29 |
30 |
31 |
32 | $ sample_code
33 |
34 |
35 |
36 |
37 |
38 |
The output from the above code:
39 |
40 |
41 |
$ code_output
42 |
43 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/web/file_uploads.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/web/html_forms.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/web/http_authentication.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/web/http_requests_responses.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/web/network_functions.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/web/output_buffer.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/web/sessions.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/web/super_globals.php:
--------------------------------------------------------------------------------
1 |
38 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
39 |
40 | When building automated data processing systems and data applications
41 | with an HTML5 based User Interface...
42 |
43 |
44 | In the example, the functions/classes/techniques used are:
45 | some_function(), SomeClass, etc.
46 |
47 |
48 |
49 | $ sample_code
50 |
51 |
52 |
53 |
54 |
55 |
The output from the above code:
56 |
57 |
58 |
$ code_output
59 |
60 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/src/zce/web/web_intro.php:
--------------------------------------------------------------------------------
1 |
27 | ... I'm working on this example. I'll have examples of all skills between: 9-27-2020 to 10-10-2020
28 |
29 | When building automated data processing systems and data applications
30 | with an HTML5 based User Interface...
31 |
32 |
33 | In the example, the functions/classes/techniques used are:
34 | some_function(), SomeClass, etc.
35 |
36 |
37 |
38 | $ sample_code
39 |
40 |
41 |
42 |
43 |
44 |
The output from the above code:
45 |
46 |
47 |
$ code_output
48 |
49 | ANGULAR_JS_ENGINEER_SKILL_CONTENT;
--------------------------------------------------------------------------------
/templates/eng/temp.arrays.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Examples of Arrays & Data Structures (DS)
5 |
6 | Based on my studies, practice, & work experience
7 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/templates/eng/temp.basics.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Examples of Programming Fundamentals
5 |
6 | Based on my studies, practice, & work experience
7 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/templates/eng/temp.data.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Examples of Data Types, Formats, Services, Dates and Time
5 |
6 | Based on my studies, practice, & work experience
7 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
Data Services & Data Types/Formats
27 |
28 |
29 | PHP is simple(keeping it simple, is what makes PHP so Powerful), it has 3 types of Data
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/templates/eng/temp.errors.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Examples of Error Handling
5 |
6 | Based on my studies, practice, & work experience
7 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/templates/eng/temp.functions.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Examples of Functional Programming
5 |
6 | Based on my studies, practice, & work experience
7 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/templates/eng/temp.io.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Examples of io (Input Output)
5 |
6 | Based on my studies, practice, & work experience
7 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/templates/eng/temp.oop.phtml:
--------------------------------------------------------------------------------
1 |
15 |
16 |
17 |
Examples of Object Oriented Programming
18 |
19 | Based on my studies, practice, & work experience
20 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/templates/eng/temp.security.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
Examples of Web Application Security
4 |
5 | Based on my studies, practice, & work experience
6 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/templates/eng/temp.sql.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Examples of SQL & Relational Database Management Systems
5 |
6 | Based on my studies, practice, & work experience
7 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
♥ SQL ❤ and Relational Database Management Systems
30 |
31 |
32 |
33 | Although I'm passionate about PHP, and enjoy programming in Unity C#...
34 | It's ALL about the Data, and SQL (MySQL/MariaDB & SQL Server) has emerged as my
35 | Favorite language to code in.
36 |
37 |
38 | Look at how easy it is to do a triple INNER OUTER LEFT JOIN from the sales,
39 | salesman, and products data tables:
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/templates/eng/temp.strings.phtml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
Examples of Strings & The Regex Engine
12 |
13 | Based on my studies, practice, & work experience
14 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/templates/eng/temp.testing.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Examples of Unit Testing
5 |
6 | Based on my studies, practice, & work experience
7 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
Unit Testing
30 |
31 |
32 |
33 | I've learned that writing software and building automated data processing systems
34 | with NO tests is like driving a motorcycle with NO helmet.
35 |
36 |
37 | Even though the test code can get larger than the src code, and it takes longer
38 | to deliver completed projects to company stakeholders, I always try my hardest
39 | to get at least some tests written.
40 |
41 |
42 | 1st, let's start off with some Data Providers that are edge case's to see if
43 | it breaks my software:
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/templates/eng/temp.web.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Examples of PHPs Web Features
5 |
6 | Based on my studies, practice, & work experience
7 | ( ⚠ = In-progress, 🏃♂️ = Quick Example, ✅ = Thorough Example )
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
The Built-in Web Features of PHP
30 |
31 |
32 | Here are some network functions:
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/templates/julius/temp.about-julius.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
Hello ^_^/
6 |
7 |
8 | I spent a little over 100 hours building hackmatch.io in May/June 2020.
9 | It was originally a pull request to the
10 | CodeBuddies Connect project,
11 | but wasn't merged. So I made it its' own Open Source organization
12 |
13 |
14 | Now it's just a project I plan to use for hacking tough engineering problems on, from Artificial
15 | Intelligence & Data Analysis to Big Data & Cloud Engineering, for fun and learning.
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/templates/julius/temp.build.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
About Hack Match
6 |
7 |
8 | The primary mission of Hack Match is to:
9 |
10 | Match coders with a mentor, mentee, collaborator, or
11 | pair programming partner based on common interests
12 |
13 | This can be for technical help, career help, business ventures, or friendships
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/templates/landing.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Data Application
6 |
7 |
8 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
Hack Match
47 |
Powered by PHP, SQL, and Google Cloud
48 |
49 |
50 |
Hello = htmlspecialchars($name); ?>!
51 |
52 |
53 |
54 |
55 |
56 |
Find a Match
57 |
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/templates/layout/footer.php:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
Get matched with a mentor, mentee, collaborator, or pair programming partner.
15 |
16 |
22 |
23 |
24 |
= $appName ?>
25 | © 2020
26 |
27 |
41 |
42 |
--------------------------------------------------------------------------------
/templates/layout/html-lower.php:
--------------------------------------------------------------------------------
1 |
9 |
10 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/templates/layout/html-upper-jh.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Julius, Full Stack & Data Engineer
8 |
9 |
11 |
12 |
13 |
14 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/templates/layout/html-upper.php:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 | Hack Match: find a mentor, mentee, or collaborator
15 |
16 |
18 |
19 |
20 |
21 |
22 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/templates/layout/toolbar.php:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
26 |
--------------------------------------------------------------------------------
/templates/layout/topics-expr-tree.php:
--------------------------------------------------------------------------------
1 | enc returns 'str_encodes'
34 | // so $$strStruct->enc becomes a var named '$str_encodes'
35 | /*
36 | $strStruct = array_shift($str);
37 | [
38 | $$strStruct->enc,
39 | ] = array_values($str);
40 | */
41 |
42 | }
43 | else if($arr) {
44 | $debug = 1;
45 | }
46 | else if($bas) {
47 | $debug = 1;
48 | }
49 | else if($dat) {
50 | $debug = 1;
51 | }
52 | else if($err) {
53 | $debug = 1;
54 | }
55 | else if($oop) {
56 | $debug = 1;
57 | }
58 | else if($sec) {
59 | $debug = 1;
60 | }
61 | else if($sql) {
62 | $debug = 1;
63 | }
64 | else if($web) {
65 | $debug = 1;
66 | }
67 | else if($tes) {
68 | $debug = 1;
69 | }
70 | else if($fp) {
71 | $debug = 1;
72 | /*
73 | [
74 | $fp_intro, $fp_parametric_rules, $fp_lambdas_closures,
75 | $fp_callable_class, $fp_references, $fp_scope, $fp_variadic_dynamic,
76 | ] = array_values($fp);
77 | */
78 | }
79 | else if($io) {
80 | $debug = 1;
81 | }
82 | else {
83 | $debug = 1;
84 | $data = var_export(get_defined_vars(), true);
85 | echo " \n \n [ JA_ERROR: slim3 passed a different $ data var than expected ] = \n \n", $data;
86 | //[$fp_intro, $fp_parametric_rules] = [$data, $data];
87 | }
88 |
89 |
--------------------------------------------------------------------------------
/templates/other/landing-security-practice.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Data Application
6 |
7 |
8 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
Welcome back, = $_SESSION['name'] ?>
49 |
50 |
51 |
56 |
57 |
58 |
Hack Match
59 |
Powered by PHP, SQL, and Google Cloud
60 |
61 |
62 |
Hello = htmlspecialchars($name); ?>!
63 |
64 |
65 |
66 |
67 |
68 |
Find a Match
69 |
70 |
71 |
72 |
73 |
74 |
--------------------------------------------------------------------------------
/templates/other/landing-style.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/Functional/BaseTestCase.php:
--------------------------------------------------------------------------------
1 | $requestMethod,
39 | 'REQUEST_URI' => $requestUri
40 | ]
41 | );
42 |
43 | // Set up a request object based on the environment
44 | $request = Request::createFromEnvironment($environment);
45 |
46 | // Add request data, if it exists
47 | if (isset($requestData)) {
48 | $request = $request->withParsedBody($requestData);
49 | }
50 |
51 | // Set up a response object
52 | $response = new Response();
53 |
54 | // Use the application settings
55 | $settings = require __DIR__ . '/../../src/settings.php';
56 |
57 | // Instantiate the application
58 | $app = new App($settings);
59 |
60 | // Set up dependencies
61 | require __DIR__ . '/../../src/dependencies.php';
62 |
63 | // Register middleware
64 | if ($this->withMiddleware) {
65 | require __DIR__ . '/../../src/middleware.php';
66 | }
67 |
68 | // Register routes
69 | require __DIR__ . '/../../src/routes.php';
70 |
71 | // Process the application
72 | $response = $app->process($request, $response);
73 |
74 | // Return the response
75 | return $response;
76 | }
77 | }
78 |
--------------------------------------------------------------------------------
/tests/Functional/HomepageTest.php:
--------------------------------------------------------------------------------
1 | runApp('GET', '/');
13 |
14 | $this->assertEquals(200, $response->getStatusCode());
15 | $this->assertContains('SlimFramework', (string)$response->getBody());
16 | $this->assertNotContains('Hello', (string)$response->getBody());
17 | }
18 |
19 | /**
20 | * Test that the index route with optional name argument returns a rendered greeting
21 | */
22 | public function testGetHomepageWithGreeting()
23 | {
24 | $response = $this->runApp('GET', '/name');
25 |
26 | $this->assertEquals(200, $response->getStatusCode());
27 | $this->assertContains('Hello name!', (string)$response->getBody());
28 | }
29 |
30 | /**
31 | * Test that the index route won't accept a post request
32 | */
33 | public function testPostHomepageNotAllowed()
34 | {
35 | $response = $this->runApp('POST', '/', ['test']);
36 |
37 | $this->assertEquals(405, $response->getStatusCode());
38 | $this->assertContains('Method not allowed', (string)$response->getBody());
39 | }
40 | }
--------------------------------------------------------------------------------
/tests/rs-cli.txt:
--------------------------------------------------------------------------------
1 |
2 | // copy and paste unit test cli commands
3 |
4 | $ .\vendor\bin\phpunit --bootstrap .\vendor\autoload.php --verbose .\tests\LoanOfficerDelegateTest.php --colors=always
5 |
6 | OR "w/ --testdox"
7 |
8 | $ .\vendor\bin\phpunit --bootstrap .\vendor\autoload.php --testdox tests --colors=always
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | //
--------------------------------------------------------------------------------
/ui-match/app.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by Julius Alvarado on 5/23/2020.
3 | */
4 |
5 | (function(){
6 | "use strict";
7 |
8 | // , 'material.svgAssetsCache'
9 | angular.module('hackMatchCloudApp', ['ngMaterial', 'ngMessages', 'ngMdIcons', 'ngSanitize']);
10 |
11 | let app = angular.module('hackMatchCloudApp');
12 | app.controller('MatchCtrl', ['$scope', '$mdDialog', MatchClass]);
13 |
14 | function MatchClass($scope, $mdDialog) {
15 | $scope.status = 'Wired up to AngularJS 1.7';
16 | $scope.data = {};
17 |
18 | // looking for view
19 | $scope.data.account = true;
20 | $scope.data.coding = false;
21 | $scope.data.mentor = false;
22 | $scope.data.mentee = false;
23 | $scope.data.openSource = false;
24 | $scope.data.contributors = false;
25 | $scope.other = false;
26 |
27 | $scope.s_imgPath = '/img/hack-match300.png'
28 | let r = Math.floor(Math.random() * (16 - 1)) + 1;
29 | $scope.s_avatarImg = `/img/avatars/a${r}.png`;
30 |
31 | // contact info view
32 | $scope.showHints = true;
33 |
34 | $scope.scMatchCtrl_showModal = function(ev) {
35 | $mdDialog.show({
36 | contentElement: '#ja-side-node',
37 | parent: angular.element(document.body),
38 | targetEvent: ev,
39 | clickOutsideToClose: true
40 | });
41 | };
42 |
43 | $scope.scMatchCtrl_listItem = function(ev) {
44 | console.log('Just a neat effect.');
45 | };
46 | }
47 |
48 | })();
--------------------------------------------------------------------------------
/ui-match/hi.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | ello world
6 |
7 |
8 | Hi!! World!!
9 |
10 |
--------------------------------------------------------------------------------
/ui-match/states/match/ctrl.match.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by Julius Alvarado on 5/23/2020.
3 | */
4 | "use strict";
5 |
6 | angular.module('cbConnectApp', ['ngMaterial', 'ngMessages', 'material.svgAssetsCache'])
7 | .controller('MatchCtrl', ['$scope', MatchClass]);
8 |
9 | function MatchClass($scope) {
10 | $scope.status = 'Wired up >:)';
11 | $scope.data = {};
12 | $scope.data.cb1 = true;
13 | $scope.data.cb2 = false;
14 | $scope.data.cb3 = false;
15 | $scope.data.cb4 = false;
16 | $scope.data.cb5 = false;
17 | }
--------------------------------------------------------------------------------
/ui-match/styles/demo-styles.css:
--------------------------------------------------------------------------------
1 |
2 | /* sample demo styles */
3 | .checkboxdemoBasicUsage div.flex-xs {
4 | min-height: 40px;
5 | }
6 |
7 | .checkboxdemoBasicUsage .checkboxDemo1 div {
8 | clear: both;
9 | }
10 |
11 | .checkboxdemoBasicUsage p {
12 | padding-left: 8px;
13 | }
14 |
15 | .checkboxdemoBasicUsage fieldset.standard {
16 | border-style: solid;
17 | border-width: 1px;
18 | }
19 |
20 | .checkboxdemoBasicUsage legend {
21 | color: #3F51B5;
22 | }
23 |
24 | .checkboxdemoBasicUsage legend code {
25 | color: #3F51B5;
26 | font-weight: normal;
27 | }
28 |
29 | .checkboxdemoBasicUsage .ipsum {
30 | color: saddlebrown;
31 | }
32 |
33 | .toolbardemoBasicUsage md-toolbar .md-button.md-icon-button .favorite-icon {
34 | fill: #DE3641;
35 | }
36 |
37 | .toolbardemoBasicUsage md-toolbar md-toolbar-filler {
38 | background-color: #e0e0e0;
39 | }
40 |
41 | .toolbardemoBasicUsage md-toolbar md-toolbar-filler #filler-icon {
42 | fill: #4C9EF1;
43 | }
44 |
45 | .inputdemoErrors .inputErrorsApp {
46 | min-height: 48px;
47 | }
48 |
49 | .inputdemoErrors md-input-container > p {
50 | font-size: 0.8em;
51 | text-align: left;
52 | width: 100%;
53 | }
--------------------------------------------------------------------------------