Skip to content

Instantly share code, notes, and snippets.

View fhulufhelo's full-sized avatar

Fhulufhelo Mokhomi fhulufhelo

  • South Africa, Johannesburg
View GitHub Profile
@fhulufhelo
fhulufhelo / package.json
Created October 20, 2018 14:51 — forked from mburakerman/package.json
Webpack 4 config.js (SCSS to CSS and Babel) 👌 The Simplest Usage 👌
{
"name": "webpack-sass",
"version": "1.0.0",
"scripts": {
"start": "webpack-dev-server --open --mode development",
"build": "webpack -p"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
@fhulufhelo
fhulufhelo / .gitignore
Created November 15, 2018 12:14 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
<?php
namespace App\Http\Controllers;
class UsersController extends Controller
{
/**
* Store a newly created resource in storage.
<?php
class RegisterBuyer
{
}
class RegisterSeller
{
class RegisterBuyer extends RegisterUser
{
abstract handle();
}
class RegisterSeller extends RegisterUser
{
abstract handle();
}
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
class UsersController extends Controller
{
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Mail;
use App\Mail\WelcomeSeller;
use App\Mail\WelcomeBuyer;
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\User;
use Illuminate\Support\Facades\Mail;
use App\RegisterUser\Seller;
use App\RegisterUser\Admin;
use App\RegisterUser\Buyer;
<?php
namespace App\RegisterUser;
use App\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Http\Request;
abstract class Registering
{
<?php
namespace App\RegisterUser;
use App\Mail\WelcomeSeller;
use Illuminate\Support\Facades\Mail;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
class RegisterSeller extends Registering
{