Skip to content

Instantly share code, notes, and snippets.

@geckojason
geckojason / allowable-tags.html
Last active November 5, 2015 22:57
Allowable HTML Tags
<a>
<abbr>
<acronym>
<address>
<b>
@geckojason
geckojason / clock-style.css
Created May 5, 2015 01:14
Geckoboard - Clock Widget - Custom CSS
/* Hawai'i */
#widget-15590315 time {
color: #fff;
background-color: #8e44ad;
}
#widget-15590315 .date,
#widget-15590315 .widget-inner,
#widget-15590315 .widget-inner > header h1,
#widget-15590315 .widget-inner > header {
@geckojason
geckojason / bullet-graph-push.json
Last active November 5, 2015 22:57
Bullet graph - Push
{
"api_key": "your api key here",
"data": {
"orientation": "horizontal",
"item": {
"label": "Revenue 2014 YTD",
"sublabel": "(U.S. $ in thousands)",
"axis": {
"point": ["0", "200", "400", "600", "800", "1000"]
},
@geckojason
geckojason / bullet-graph-poll.json
Created April 30, 2015 00:17
Bullet graph - Poll
{
"orientation": "horizontal",
"item": {
"label": "Revenue 2014 YTD",
"sublabel": "(U.S. $ in thousands)",
"axis": {
"point": ["0", "200", "400", "600", "800", "1000"]
},
"range": {
"red": {
@geckojason
geckojason / filter.json
Created April 28, 2015 02:40
Keen IO - Filtering Syntax - Single Property
[
{
"property_name": "color",
"operator": "eq",
"property_value": "yellow"
}
]
@geckojason
geckojason / highchart.js
Created April 27, 2015 21:57
Highchart
{
chart: {
type: 'spline',
animation: Highcharts.svg, // don't animate in old IE
marginRight: 10,
events: {
load: function () {
// set up the updating of the chart each second
var series = this.series[0];
@geckojason
geckojason / line-legacy-poll.json
Created April 23, 2015 01:27
Line Chart (Legacy) - Poll
{
"item" : [
10, 20, 30, 5, 5, 1, 25, 15
],
"settings" : {
"axisx" : [
"02/04",
"02/05",
"02/06",
"02/07",
@geckojason
geckojason / line-legacy-push.json
Created April 23, 2015 01:27
Line Chart (Legacy) - Push
{
"api_key": "your api key goes here",
"data": {
"item" : [
10, 20, 30, 5, 5, 1, 25, 15
],
"settings" : {
"axisx" : [
"02/04",
"02/05",
@geckojason
geckojason / line-legacy-style.css
Created April 23, 2015 01:25
Line Chart (Legacy) - CSS
#widget-15646931 .widget-inner > header,
#widget-15646931 .widget-inner > footer,
#widget-15646931 .widget-inner {
background-color: whitesmoke;
}
@geckojason
geckojason / pie-push.json
Created April 23, 2015 01:11
Pie Chart - Push
{
"api_key": "your api key goes here",
"data": {
"item": [
{
"value": 100,
"label": "May",
"color": "13699c"
},
{