Skip to content

Instantly share code, notes, and snippets.

{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"description": "",
"width": 840,
"height": 500,
"padding": 5,
"title": {
"text": {
"signal": "['COVID-19 Cases by England Region',utcFormat(timestamp*1000, '%e %B %Y')]"
@simonhearne
simonhearne / History|-126d4b70|entries.json
Last active June 15, 2022 19:09
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/simon/Projects/developer.chrome.com/site/en/docs/crux/bigquery/index.md","entries":[{"id":"9hlb.md","timestamp":1650560233468},{"id":"a2v7.md","source":"undoRedo.source","timestamp":1650571622365},{"id":"mRqT.md","timestamp":1650571664132},{"id":"B4Hp.md","timestamp":1651588654315}]}
const HEADERS = [
"content-security-policy-report-only",
"content-security-policy",
"feature-policy",
"nel",
"report-to",
"accept-ch",
"referrer-policy",
"strict-transport-security",
"link"
@simonhearne
simonhearne / mPulse_postman.json
Created February 20, 2020 14:46
A Postman collection for interacting with mPulse APIs
{
"info": {
"_postman_id": "7eaf462d-6713-446d-9872-0c5ecef206d8",
"name": "mPulse",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Annotations",
"item": [
{
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 6,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
{
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 5,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
#!/usr/bin/env python
import datetime
import speedtest
from influxdb import InfluxDBClient
# influx configuration - edit these
ifuser = "grafana"
ifpass = "<yourpassword>"
ifdb = "home"
#!/usr/bin/env python
import datetime
import psutil
from influxdb import InfluxDBClient
# influx configuration - edit these
ifuser = "grafana"
ifpass = "<yourpassword>"
ifdb = "home"
Continent_Name Continent_Code Country_Name Two_Letter_Country_Code Three_Letter_Country_Code Country_Number
Asia AS Afghanistan, Islamic Republic of AF AFG 4
Europe EU Albania, Republic of AL ALB 8
Antarctica AN Antarctica (the territory South of 60 deg S) AQ ATA 10
Africa AF Algeria, People's Democratic Republic of DZ DZA 12
Oceania OC American Samoa AS ASM 16
Europe EU Andorra, Principality of AD AND 20
Africa AF Angola, Republic of AO AGO 24
North America NA Antigua and Barbuda AG ATG 28
Europe EU Azerbaijan, Republic of AZ AZE 31
name code
Afghanistan AF
Åland Islands AX
Albania AL
Algeria DZ
American Samoa AS
AndorrA AD
Angola AO
Anguilla AI
Antarctica AQ