Skip to content

Instantly share code, notes, and snippets.

View lynxtdc's full-sized avatar

Paul McGrane lynxtdc

View GitHub Profile
@crofty
crofty / index.html
Last active October 22, 2021 08:24
A example of using Google Map tiles with the Leaflet mapping library - http://matchingnotes.com/using-google-map-tiles-with-leaflet
<!DOCTYPE html>
<html>
<head>
<title>Leaflet</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.3.1/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.3.1/leaflet.js"></script>
<script src="http://maps.google.com/maps/api/js?v=3.2&sensor=false"></script>
<script src="http://matchingnotes.com/javascripts/leaflet-google.js"></script>
</head>
<body>
@mattstauffer
mattstauffer / request-for-comments.md
Last active January 11, 2018 02:01
Comments for my Upgrading Laravel 4 to Laravel 5 post

Please note any missing pieces, wrong directions, or anything else in the comments. Thanks!

This is trying to catch all framework-related changes that are missing from my post RE upgrading Laravel 4 to 5.

@GhazanfarMir
GhazanfarMir / routes.php
Last active September 5, 2019 09:45
Multi site routing in Laraval 5
/*
|--------------------------------------------------------------------------
| Multi Sites Laravel Routing
|--------------------------------------------------------------------------
|
| You may setup single laravel application to serve multiple applications
| hosting on different domains and/or subdomain using the following
| routing feature provided by laravel easily. Just define routes
| as given below.
@mthomas88
mthomas88 / merge-pdf.php
Last active January 29, 2016 14:29
Quick dirty script you can use in a job if you need to merge PDF's together.
<?php
namespace PDFMerge;
use Symfony\Component\Process\Process;
use Symfony\Component\Process\Exception\ProcessFailedException;
// new empty array to fill with appendix documents.
$doc_array = [];
// add to the document array for each appendix item.
foreach($documents as $doc) {