Skip to content

Instantly share code, notes, and snippets.

Panoglobe

The Project

A Globe visualization, displaying travel lines made from GPS coordinates on planet earth.

Think about the google data-globe but do-it-yourself. Display travel routes and link to content from another website. Because weaving a 2D-website and a 3D-context is a difficult task, for now there are just hyperlinks leading to other pages.

<table id="ga-table" class="dataTable" role="grid">
<thead>
<tr class="row-1 odd" role="row"><th class="column-1 sorting_disabled" rowspan="1" colspan="1" style="width: 80px;">Cookie Name</th><th class="column-2 sorting_disabled" rowspan="1" colspan="1" style="width: 73px;">Expiration Time</th><th class="column-3 sorting_disabled" rowspan="1" colspan="1" style="width: 223px;">Description</th><th class="column-4 sorting_disabled" rowspan="1" colspan="1" style="width: 118px;">Which MonsterInsights Users</th></tr>
</thead>
<tbody class="row-hover">
<tr class="row-2 even" role="row">
<td class="column-1">_ga</td><td class="column-2">2 years</td><td class="column-3">Used to distinguish users. Stores the ClientID, a unique and randomly generated string, so that the user can be associated on future visits, the date of first visit and version of GA cookie.</td><td class="column-4">All Users</td>
</tr><tr class="row-3 odd" role="row">
<td class="column-1">_gid</td><td class="column-2">24 hours</td><td class=
@jaygidwitz
jaygidwitz / functions.php
Created August 16, 2019 15:11 — forked from mikejolley/functions.php
WooCommerce - Redirect external products offsite (disable single listings)
<?php // Do not include this if already open!
/**
* Code goes in theme functions.php.
*/
add_action( 'template_redirect', 'redirect_external_products' );
function redirect_external_products() {
global $post;
@jaygidwitz
jaygidwitz / monsterinsights-dimensions-userrole.php
Created March 15, 2019 15:39
logged in user role custom dimension
<?php
/**
* Plugin Name: MonsterInsights User Role Dimension
* Description: Add a user role to the dimensions options in MonsterInsights.
* Version: 1.0.0
* Author: MonsterInsights Support Team
* Author URI: https://www.monsterinsights.com
*/
function monsterinsights_add_user_role_to_dimensions( $dimensions ) {
@jaygidwitz
jaygidwitz / church-suite-fix-for-MonsterInsights.php
Last active April 5, 2018 17:30
Church Suite by Webnus Fix for MonterInsights Plugin
<?php
/*
Plugin Name: MonsterInsights Fix for Church Suite Theme by Webnus
Plugin URI:
Description: Fixes conflict with Church Theme on MonsterInsights Admin pages
Version: 1.0.0
Author: MonsterInsights Support Team
Author URI: https://www.monsterinsights.com
License:
License URI:
@jaygidwitz
jaygidwitz / monsterinsights-nayma-theme.php
Last active March 22, 2018 22:01
Fixes conflict with Nayma on MonsterInsights admin pages
<?php
/*
Plugin Name: MonsterInsights Fix for Nayma Theme
Plugin URI:
Description: Fixes conflict with Nayma on MonsterInsights admin pages
Version: 1.0.0
Author: MonsterInsights Support Team
Author URI: https://www.monsterinsights.com
License:
License URI:
@jaygidwitz
jaygidwitz / monsterinsights-wp-project-manager.php
Last active March 21, 2018 16:49
Fixes conflict with WP Project Manager on MonsterInsights admin pages
<?php
/*
Plugin Name: WP Project Manager Fix for MonsterInsights
Plugin URI:
Description: Fixes conflict with WP Project Manager on MonsterInsights admin pages
Version: 1.0.0
Author: MonsterInsights Support Team
Author URI: https://www.monsterinsights.com
License:
License URI:
@jaygidwitz
jaygidwitz / monsterinsights.php
Created March 14, 2018 21:06
monsterinsights-vitrine-fix
<?php
/*
Plugin Name: Vitrine Conflict Fix for MonsterInsights
Plugin URI:
Description: Fixes conflict with Vitrine Theme on MonsterInsights admin pages
Version: 1.0.0
Author: MonsterInsights Support Team
Author URI: https://www.monsterinsights.com
License:
License URI:
@jaygidwitz
jaygidwitz / monsterinsights.php
Last active February 23, 2018 18:50 — forked from chriscct7/monsterinsights.php
Remove conflicting styles/scripts from MI pages Ken Theme by artbees
<?php
/*
Plugin Name: Ken Theme Conflict Fix for MonsterInsights
Plugin URI:
Description: Fixes conflict with Ken Theme on MonsterInsights admin pages
Version: 1.0.0
Author: MonsterInsights Support Team
Author URI: https://www.monsterinsights.com
License:
License URI:
### Keybase proof
I hereby claim:
* I am jaygidwitz on github.
* I am jaygidwitz (https://keybase.io/jaygidwitz) on keybase.
* I have a public key ASDZTnlotnjaALdO4w0mmwo6WqW4gTY3bYuUDmecQF_2DAo
To claim this, I am signing this object: