Skip to content

Instantly share code, notes, and snippets.

View aesqe's full-sized avatar
🐿️
I fix stuff

Bruno Babic aesqe

🐿️
I fix stuff
View GitHub Profile
@aesqe
aesqe / index.html
Created May 22, 2016 10:39
Load GL when possible or fallback to raster tiles when browser does not support webgl
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A simple map</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<!-- Load Mapbox.js -->
<script src='https://api.mapbox.com/mapbox.js/v2.4.0/mapbox.js'></script>
<link href='https://api.mapbox.com/mapbox.js/v2.4.0/mapbox.css' rel='stylesheet' />
@aesqe
aesqe / typekit.editor.php
Created May 4, 2017 14:09 — forked from mikemanger/typekit.editor.php
Add a TypeKit font to the TinyMCE editor in WordPress.
add_filter( 'mce_external_plugins', 'my_theme_mce_external_plugins' );
function my_theme_mce_external_plugins( $plugin_array ) {
$plugin_array['typekit'] = get_template_directory_uri() . '/typekit.tinymce.js';
return $plugin_array;
}