Skip to content

Instantly share code, notes, and snippets.

View dm-p's full-sized avatar

Daniel Marsh-Patrick dm-p

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dm-p on github.
  • I am dmp (https://keybase.io/dmp) on keybase.
  • I have a public key whose fingerprint is F29B 4AE7 9EA4 E188 76D4 510E A988 4606 112B 455F

To claim this, I am signing this object:

@dm-p
dm-p / gist:fdb352f318b11e9f902e
Last active August 29, 2015 14:13
quick_gist
This file has been truncated, but you can view the full file.
<html>
<pre style="font: 10px/5px monospace;"><span style="color: #ffffff;"></span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff;">#</span><span style="color: #ffffff
{
"dataRoles": [
{
"displayName": "Bar Grouping",
"name": "myCategory",
"kind": "Grouping"
},
{
"displayName": "Actual",
"name": "actual",
@dm-p
dm-p / powerbi-capacilities-manual-font-family-enum
Created May 16, 2020 23:38
Power BI Custom Visuals - Manual Enum for Font Family w/Helvetica (rather than inbuilt)
"fontFamily": {
"displayName": "Title Font Family",
"type": {
"enumeration": [
{
"displayName": "Arial",
"value": "Arial"
},
{
"displayName": "Arial Black",
@dm-p
dm-p / .gitignore
Created July 2, 2020 19:21
Suitable .gitignore for Power BI Custom Visual Project
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
@dm-p
dm-p / vega-lite_raincloud_plot_1.0.json
Created October 29, 2021 03:12
Deneb Raincloud Plot (Vega-Lite)
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"usermeta": {
"deneb": {
"build": "0.6.0.150",
"metaVersion": 1,
"provider": "vegaLite"
},
"interactivity": {
"tooltip": true,
@dm-p
dm-p / vl-wheat-and-wages.json
Created November 4, 2021 02:59
Vega-Lite Wheat & Wages Example
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"width": 900,
"height": 465,
"config": {
"padding": 5,
"view": {"stroke": "transparent"},
"axis": {"title": null, "domain": false, "tickCount": 5},
"axisX": {"grid": false},
"axisY": {
@dm-p
dm-p / vega-lite_us-elelction_red-and-blue-america.json
Last active November 10, 2021 02:53
Deneb/Vega-Lite: A Field Guide to Red and Blue America
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"usermeta": {
"deneb": {
"build": "0.6.0.150",
"metaVersion": 1,
"provider": "vegaLite"
},
"interactivity": {
"tooltip": true,