Skip to content

Instantly share code, notes, and snippets.

View malcolm-s's full-sized avatar

Malcolm Stone malcolm-s

View GitHub Profile
import Pusher from "pusher-js";
import get from "lodash/get";
Pusher.logToConsole = true;
async function usage() {
const token = get({}, "authState.token");
const chatGroupId = get({}, "chatGroup.id");
await Messenger2.connect(token);
@malcolm-s
malcolm-s / index.html
Last active October 26, 2017 16:12
unibuddy logo spinner - JS Bin// source https://jsbin.com/wowerif
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.logo {
background-color: #3d8bda;
padding: 5px;