Skip to content

Instantly share code, notes, and snippets.

@davidagee
davidagee / config-alert-emails-default.html
Created June 5, 2020 23:33
Imply Pivot default alert email template
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{{title}}</title>
<style>
html {
font-family: sans-serif;
}
@davidagee
davidagee / Druid basic-auth setup.md
Last active April 2, 2024 09:54
Setting up basic-auth roles and permissions in Druid

Setting up basic auth users & permissions in Druid

Configuring Druid for basic-auth

Note: This gist does not cover enabling TLS for Druid. Remember that basic-auth is useless without TLS. The purpose of this guide is to set up users, roles and permissions for testing.

  • Add the basic-auth extension to Druid in the common.runtime.properties file, e.g. in conf-quickstart/druid/_common/common.runtime.properties:
druid.extensions.loadList=["druid-basic-security", "druid-histogram", "druid-datasketches", "druid-kafka-indexing-service", "imply-utility-belt"]

Keybase proof

I hereby claim:

  • I am davidagee on github.
  • I am davidgee (https://keybase.io/davidgee) on keybase.
  • I have a public key whose fingerprint is D7EB 36D6 948A 7500 3474 462A 95E5 15E7 DB54 92CD

To claim this, I am signing this object:

@davidagee
davidagee / type.scss
Created November 28, 2012 06:58 — forked from mirisuzanne/type.scss
Using modular scale with vertical rhythms
// Using the Modular Scale plugin along with Compass Vertical Rhythms module.
// The goal is to use MS to give us the values,
// and use VR to apply those values to our typography.
// ---------------------------------------------------------------------------
// Defaults
$base-size: 24px;
$ratio: major-third() fifth();
@davidagee
davidagee / site_categories.html
Created November 16, 2012 22:51
Octopress Site Category List
<section>
<h2>Browse by Category</h2>
<ul id="category_list">
{% for category in site.categories %}
<li><a href='/{{ site.category_dir }}/{{ category[0] | downcase }}' rel='tag'>{{ category[0] }}</a></li>
{% endfor %}
</ul>
</section>