Skip to content

Instantly share code, notes, and snippets.

View Shuyinsama's full-sized avatar
:octocat:
Working on a big personal project!

Patrick van Zadel Shuyinsama

:octocat:
Working on a big personal project!
View GitHub Profile
import {Api} from '@/utils/api/Api';
import {EnterpriseCommand} from '@/interfaces/enterprise/EnterpriseCommand';
import {PageDecorator} from '@/interfaces/generic/PageDecorator';
import {EnterpriseOverviewDecorator} from '@/interfaces/enterprise/EnterpriseOverviewDecorator';
class EnterpriseApi {
public static readonly RM_ENTERPRISE = `${Api.RM_BASE_API}/enterprise`;
/**
@Shuyinsama
Shuyinsama / Backend.php
Created October 2, 2017 11:24
Breadcrumbs Laravel Boilerplate
<?php
Breadcrumbs::register('admin.dashboard', function ($breadcrumbs) {
$breadcrumbs->push(trans('strings.backend.dashboard.title'), route('admin.dashboard'));
});
require __DIR__.'/Search.php';
require __DIR__.'/Access.php';
require __DIR__.'/LogViewer.php';
require __DIR__.'/Underground.php';
@Shuyinsama
Shuyinsama / wdcc-entries.php
Created December 15, 2015 22:58
Adds a custom WDCC Post Type and it's respective taxonomies and the wdcc-setup and wdcc-entries for Meta Boxes.
<?php
// =============================================================================
// FUNCTIONS/GLOBAL/ADMIN/META/ENTRIES.PHP
// -----------------------------------------------------------------------------
// Registers the meta boxes for pages, posts, and portfolio items.
// =============================================================================
// =============================================================================
// TABLE OF CONTENTS