Skip to content

Instantly share code, notes, and snippets.

View daugaard47's full-sized avatar

Chris daugaard47

View GitHub Profile
@daugaard47
daugaard47 / meta-tags.md
Created June 11, 2019 02:29 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@daugaard47
daugaard47 / index.php
Last active February 27, 2019 14:45 — forked from morvy/index.php
Laragon.org enhanced "homepage"
<?php
if (!empty($_GET['q'])) {
switch ($_GET['q']) {
case 'info':
phpinfo();
exit;
break;
}
}
?>
@daugaard47
daugaard47 / 01_Laravel 5 Simple ACL manager_Readme.md
Last active December 17, 2018 02:21 — forked from amochohan/01_Laravel 5 Simple ACL manager_Readme.md
Laravel 5 Simple ACL - Protect routes by an account / role type

#Laravel 5 Simple ACL manager

Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.

If the user has a 'Root' role, then they can perform any actions.

Installation

Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php