Skip to content

Instantly share code, notes, and snippets.

@hoangnh228
hoangnh228 / gmap-multi-markers-by-postcode.html
Created September 1, 2016 04:51
multiple marker with Google Maps API V3 using postcode geocode
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Map</title>
<style>
html, body, #map {
height: 600px;
width: 100%;
@hoangnh228
hoangnh228 / 01_Laravel 5 Simple ACL manager_Readme.md
Created October 1, 2015 16:50 — 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