Skip to content

Instantly share code, notes, and snippets.

serpro / GarminConnectCourseExport
Created Apr 2, 2015
Garmin Connect course export
View GarminConnectCourseExport
<!DOCTYPE html>
<title>Garmin Connect Course Export</title>
<script type="text/javascript" src=""></script>
<script type="text/javascript">
$( document ).ready(function() {
var urlPattern = "[TYPE]/course/[ID]";
var regexp = /^.*?(\d+)$/
function checkForm()
serpro / TestPHP
Created May 31, 2013
Allow you to test PHP Code on the browser
View TestPHP
register_shutdown_function( "fatal_handler" );
function fatal_handler() {
$errfile = "unknown file";
$errstr = "shutdown";
$errno = E_CORE_ERROR;
$errline = 0;
$error = error_get_last();
View Table.js
* Copyright (c)2005-2009 Matt Kruse (
* Dual licensed under the MIT and GPL licenses.
* This basically means you can use this code however you want for
* free, but don't claim to have written it yourself!
* Donations always accepted:
* Please do not link to the .js files on from
* your site. Copy the files locally to your server instead.