This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if($argc < 2) | |
{ | |
echo PHP_EOL . "\033[44m Instructions \033[0m" . PHP_EOL; | |
?> | |
1. Head to https://your-workspace.slack.com/customize/emoji | |
2. Open developer tools network parse_ini_file | |
3. Find <?php echo "\033[34m"; ?>emojiAdmin.list<?php echo "\033[0m"; ?>, save in this directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void mainImage( out vec4 fragColor, in vec2 fragCoord ) | |
{ | |
// Normalized pixel coordinates (from 0 to 1) | |
vec2 uv = fragCoord/iResolution.xy; | |
vec2 originalUv = uv; | |
uv -= 0.5; | |
vec2 n = normalize(uv); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function($){ | |
$(document.body).on("init.wpgmza", function(event) { | |
var map = event.map; | |
var button = $("<button type='button'>Toggle KML</button>"); | |
button.on("click", function(event) { | |
map.kmlLayers.forEach(function(layer) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function($) { | |
var Parent; | |
WPGMZA.CustomOLMap = function(element, options) | |
{ | |
var self = this; | |
WPGMZA.ProMap.apply(this, arguments); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function($) { | |
if(WPGMZA.isTouchDevice()) | |
{ | |
$(window).on("init.wpgmza", function(event) { | |
var map = event.target; | |
// On touch devices, require two fingers to drag and pan | |
// NB: Temporarily removed due to inconsistent behaviour |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function ($) { | |
$(window).on("init.wpgmza", function(event) { | |
WPGMZA.ProMarker.prototype.onAdded = function (event) { | |
var m; | |
WPGMZA.Marker.prototype.onAdded.call(this, event); | |
this.updateIcon(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function($) { | |
$(window).on("load", function(event) { | |
var $ = jQuery; | |
var map_id = 2; | |
function bindClickListener(checkbox) | |
{ | |
$(checkbox).on("change input", function() { |