Skip to content

Instantly share code, notes, and snippets.

'use strict';
/**
* An asynchronous bootstrap function that runs before
* your application gets started.
*
* This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic.
*/
const _ = require('lodash');
'use strict';
/**
* Auth.js controller
*
* @description: A set of functions called "actions" for managing `Auth`.
*/
/* eslint-disable no-useless-escape */
const crypto = require('crypto');
'use strict';
/**
* Module dependencies.
*/
// Public node modules.
const _ = require('lodash');
const request = require('request');
@afonsobspinto
afonsobspinto / unemployment.py
Created October 22, 2020 11:22
unemployment heatmap colorbar span
from math import pi
import pandas as pd
from bokeh.io import show
from bokeh.models import BasicTicker, ColorBar, LinearColorMapper, PrintfTickFormatter, Span
from bokeh.plotting import figure
from bokeh.sampledata.unemployment1948 import data
import numpy as np
@afonsobspinto
afonsobspinto / unemployment.py
Created October 22, 2020 10:48
unemployment heatmap
from math import pi
import pandas as pd
from bokeh.io import show
from bokeh.models import BasicTicker, ColorBar, LinearColorMapper, PrintfTickFormatter
from bokeh.plotting import figure
from bokeh.sampledata.unemployment1948 import data
import numpy as np