Skip to content

Instantly share code, notes, and snippets.

View blalond's full-sized avatar

Brian LaLonde blalond

  • Servant Systems
  • Lansing, MI
View GitHub Profile
@blalond
blalond / arcgisgeocode.html
Created February 9, 2024 16:59
ArcGIS Geocoding Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ArcGIS Geocoding Example</title>
<link rel="stylesheet" href="almond.lite.min.css" />
<script>
function debounce(func, wait) {
let timeout;
@blalond
blalond / Zendesk TinyMCE custom CSS.user.js
Last active October 16, 2017 20:40
TamperMonkey UserScript to mod Zendesk's TinyMCE with custom CSS from your Zendesk Help Center
// ==UserScript==
// @name Zendesk TinyMCE custom CSS
// @namespace http://tampermonkey.net/
// @version 0.1
// @description *** Replace "servantsystems" with your "Help Center" name so this can retrieve your custom CSS ***
// @author BrianLaLonde
// @match https://*.zendesk.com/knowledge/articles/*
// @require https://code.jquery.com/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant none
@blalond
blalond / raven-config.html
Created July 26, 2016 14:16 — forked from impressiver/raven-config.html
Raven.js configuration for logging JavaScript exceptions to Sentry (https://getsentry.com/). Without the added ignore options, you'll quickly find yourself swamped with unactionable exceptions due to shoddy browser plugins and 3rd party script errors.
<!-- Raven.js Config -->
<script src="{{ JS_PATH }}/lib/raven.js" type="text/javascript"></script>
<script type="text/javascript">
// Ignore list based off: https://gist.github.com/1878283
var ravenOptions = {
// Will cause a deprecation warning, but the demise of `ignoreErrors` is still under discussion.
// See: https://github.com/getsentry/raven-js/issues/73
ignoreErrors: [
// Random plugins/extensions
'top.GLOBALS',