Skip to content

Instantly share code, notes, and snippets.

View dcmoore-gd's full-sized avatar

Dan Moore dcmoore-gd

View GitHub Profile
@dcmoore-gd
dcmoore-gd / fastly_f_s_up_names.md
Last active April 9, 2020 13:06
Fastly Backend Name Mangling

Fastly mangles names of backends by prefixing with F_ unless the name consists only of uppercase alpha characters for example ALLCAPS.

All of these example backend names ended up getting F_'d up:

  • ALL_CAPS_WITH_UNDERSCORES
  • ALMOSTALLCAPs
  • Initcap
  • nocaps
  • F_STARTS_WITH_F_UNDERSCORE
@dcmoore-gd
dcmoore-gd / keybase.md
Created July 16, 2018 15:25
keybase.md

Keybase proof

I hereby claim:

  • I am dcmoore-gd on github.
  • I am dcmoore (https://keybase.io/dcmoore) on keybase.
  • I have a public key ASAbPEr-D0nTiuu6ebJi7H7vr6-Mr5QQJSVczC2ciVQXmwo

To claim this, I am signing this object:

@dcmoore-gd
dcmoore-gd / kayak.html
Created February 4, 2013 20:16
Demo of how to use the Kayak search API, including their undocumented autocompletion service.
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Custom Kayak Widget Demo</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript">
// called whenever a keyup event happens on relevant input. triggers autocomplete update when appropriate.
function smartyPants(e) {
<!DOCTYPE html>
<html>
<head>
<title>TEST</title>
<script type="text/javascript" src="https://raw.github.com/aFarkas/webshim/master/tests/dist/jquery.js"></script>
<script type="text/javascript" src="https://raw.github.com/aFarkas/webshim/master/src/extras/modernizr-custom.js"></script>
<!-- Master and 1.9.3 show the error -->
<!-- <script type="text/javascript" src="https://raw.github.com/aFarkas/webshim/master/src/polyfiller.js"></script> -->