Skip to content

Instantly share code, notes, and snippets.

View AustinMaddox's full-sized avatar

Austin Maddox AustinMaddox

View GitHub Profile
@AustinMaddox
AustinMaddox / skills_assessment_exercise.md
Created June 3, 2021 22:05
Skills Assessment Exercise

Skills Assessment Exercise

First off, thank you for taking the time to interview with the team. We know your creativity and time are valuable and we're excited you are willing to share some of it with us.

Project

We would like you to build a small web app for finding information about all of your favorite movies using the The Movie Database API.

Minimum Feature Set

@AustinMaddox
AustinMaddox / TestCase.php
Created December 21, 2017 17:35
Force the use of only one "test-tenant" in phpunit tests
<?php
namespace Tests;
use Hyn\Tenancy\Contracts\Repositories\HostnameRepository;
use Hyn\Tenancy\Contracts\Repositories\WebsiteRepository;
use Hyn\Tenancy\Environment;
use Hyn\Tenancy\Models\Hostname;
use Hyn\Tenancy\Models\Website;
use Illuminate\Foundation\Testing\DatabaseTransactions;
@AustinMaddox
AustinMaddox / reverse_fitment_lookup_service_example.php
Last active August 29, 2015 13:57
Reverse fitment lookup service PHP example. The WPS reverse fitment web service returns vehicle data given one particular WPS part number. The output format is JSON. Below is a full example of how to do this via PHP using cURL.
<?php error_reporting(E_ALL | E_STRICT); ?>
<!DOCTYPE html>
<html>
<head>
<title>Reverse fitment example</title>
</head>
<body>
<?php
// Parameters to send the web service program.
// Example: http://www.example.com/reverse_fitment_lookup_service_example.php?DEALER=###&PASSWORD=###&ITEM=2-b9es&OUTPUT=json
@AustinMaddox
AustinMaddox / fitment_part_number_request_service_example.php
Last active December 21, 2015 21:49
Fitment part number request service PHP example.The WPS Fitment Part Number Request web service is meant to find all the parts associated to a single vehicle. Below is a full example of how to do this via PHP using cURL.
<?php error_reporting(E_ALL | E_STRICT); ?>
<!DOCTYPE html>
<html>
<head>
<title>Fitment example</title>
</head>
<body>
<?php
// Parameters to send the web service program.
// Example: http://www.example.com/fitment_part_number_request_service_example.php?DEALER=###&PASSWORD=###&FITMENT=HONDA HON8300 2012&OUTPUT=json