Dashing widget to display first two coming-up Google Calendar events.
Basically, you do not need more than two events on your dashboard, but it can be easily extended to the neighboring cells and show, say, 4 events instead of 2.
Dashing widget to display first two coming-up Google Calendar events.
Basically, you do not need more than two events on your dashboard, but it can be easily extended to the neighboring cells and show, say, 4 events instead of 2.
A simple widget that's capable of displaying time for multiple locations around the world. In our company(neo), we use it to display time in different offices.
// generated on http://momentjs.com/timezone/data/ | |
// Selected timezones: Asia > All, America > All, Europe > All | |
moment.tz.add({ | |
"zones": { | |
"America/Adak": [ | |
"12:13:21 - LMT 1867_9_18 12:13:21", | |
"-11:46:38 - LMT 1900_7_20_12 -11:46:38", | |
"-11 - NST 1942 -11", | |
"-11 US N%sT 1946 -11", |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
var cradle = require('cradle'); | |
var crypto = require('crypto'); | |
cradle.setup({ | |
host: 'foo.cloudant.com', | |
port: 80, | |
cache: false, | |
timeout: 5000 | |
}) |
import ReactDOM from 'react-dom'; | |
import React, { useState, useCallback, useEffect } from 'react'; | |
import { useQuery } from '@apollo/client'; | |
import { gql } from '@apollo/client'; | |
const CASE_FIELDS = ` | |
id | |
referralDate | |
caseNumber |