Skip to content

Instantly share code, notes, and snippets.

View CamKem's full-sized avatar
🔥
Building....

Cam Kemshal-Bell CamKem

🔥
Building....
View GitHub Profile
@CamKem
CamKem / Filters.php
Last active July 28, 2023 15:34
Abstract Filters Class
<?php
namespace App\Filters;
abstract class Filters
{
/**
* The protected request and query objects.
* @var object
//This is just the gist where I store all the images I use for markup.
@CamKem
CamKem / Register.vue
Last active April 10, 2023 13:00
Breeze / Jetstream Registration with live username check.
<script setup>
import {Link, useForm} from '@inertiajs/vue3';
import InputError from '@/Components/InputError.vue';
import InputLabel from '@/Components/InputLabel.vue';
import PrimaryButton from '@/Components/PrimaryButton.vue';
import TextInput from '@/Components/TextInput.vue';
import AppHead from "@/Layouts/AppHead.vue";
import {reactive, ref, toRefs} from "vue";
import axios from "axios";
import debounce from "lodash/debounce";
@CamKem
CamKem / Player.php
Created March 25, 2023 10:40
Player Class for Tennis Match Kata
<?php
namespace Tests\Feature\Katas;
class Player
{
public int $points = 0;
public string $name;
@CamKem
CamKem / TennisMatchTest.php
Last active March 25, 2023 10:39
Test: Tennis Match Kata
<?php
namespace Tests\Feature\Katas;
use Tests\Feature\Katas\TennisMatch;
use PHPUnit\Framework\TestCase;
class TennisMatchTest extends TestCase
{
@CamKem
CamKem / TennisMatch.php
Last active March 25, 2023 10:39
Class: Tennis Match Kata
<?php
namespace Tests\Feature\Katas;
use PhpParser\Node\Expr\Cast\Object_;
class TennisMatch
{
protected Player $playerOne;