Skip to content

Instantly share code, notes, and snippets.

View iamtomc's full-sized avatar
💭
Available

Tom Collins iamtomc

💭
Available
View GitHub Profile
@iamtomc
iamtomc / Resume.php
Created July 13, 2024 22:10 — forked from Saurabh7636/Resume.php
A custom page in filamentPHP
<?php
namespace App\Filament\Pages;
use App\Enums\PageType;
use App\Models\User;
use Filament\Facades\Filament;
use Filament\Forms\Components\Actions\Action;
use Filament\Forms\Components\DatePicker;
use Filament\Forms\Components\Repeater;
@iamtomc
iamtomc / The Ultimate Windows Development Environment.md
Created February 18, 2023 22:09
How to set up the ultimate Windows development environment
@iamtomc
iamtomc / alt-v-model.html
Last active February 16, 2022 11:44 — forked from ErikCH/index.html
V-model Alternatives and better form validation
<body>
<div id="app">
<div class="nes-container with-title is-centered">
<p class="title">Vue Form Test</p>
<form @submit.prevent="submit">
<div class="nes-field">
<label for="name_field">Character Name</label>
<input placeholder="Enter name here" type="text"
name="name"
id="name_field" class="nes-input" />
@iamtomc
iamtomc / 2018_10_26_154819_create_settings_table.php
Last active November 3, 2020 20:28
Laravel News Portal Gist
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSettingsTable extends Migration
{
/**
* Run the migrations.
@iamtomc
iamtomc / 2020_10_22_012347_create_slides_table
Last active October 31, 2020 13:11
Slides for Laracom Ecommerce
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateSlidesTable extends Migration
{
/**
* Run the migrations.
@iamtomc
iamtomc / intro.md
Created August 18, 2019 00:44 — forked from derhuerst/intro.md
Installing Git on Linux, Mac OS X and Windows
@iamtomc
iamtomc / laravel-ums.markdown
Created July 13, 2019 18:40 — forked from anchetaWern/laravel-ums.markdown
Building a User Management System in Laravel

There's no shortage of good resources for learning laravel. So instead of the usual introductory tutorial were just gonna learn Laravel by building a project from scratch and that's gonna be a User Management System.

I don't know if my definition of a User Management System is correct but here's my idea of what's it's capable of doing:

  • Register Roles
  • Register Users
  • Update Users
@iamtomc
iamtomc / e-commerce.md
Created July 8, 2019 20:33 — forked from hjr3/e-commerce.md
Examples of RESTful API calls for E-commerce platforms

Examples of RESTful API calls for E-commerce platforms

These examples are type 3 RESTful API requests and responses. The JSON-HAL specification is used to implement HATEOAS.

Some of the examples are based on my work as architect of the RESTful API at http://www.hautelook.com. All proprietary information has been removed.

Relevant links

@iamtomc
iamtomc / index.html
Created July 8, 2019 02:17
Responsive sticky header navigation
<link href='https://fonts.googleapis.com/css?family=Montserrat|Cardo' rel='stylesheet' type='text/css'>
<link href='style.css' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.js"></script>
<header class="main_h">
<div class="row">
<a class="logo" href="#">P/F</a>
@iamtomc
iamtomc / index.pug
Last active July 7, 2019 23:01
Material Design Expanding Overlay
html
body
// Demo stuff
main
h1
a(href='http://ettrics.com/') Ettrics
p
| A Material Design inspired expanding overlay for showcasing a variety of content.
p
a(href='https://twitter.com/ettrics/', target='_blank')