A Dashing widget to show Slack user presence on a dashboard.
Add the following to your dashing Gemfile
gem 'slack-api'
{ | |
"feed_id":"0x018bfe88407000400000000000000000", | |
"url":"https://api.real-time-reserves.verinumus.io/v1/chainlink/proof-of-reserves/TrueUSD", | |
"consumer_address":"0x68B1D87F95878fE05B998F19b66F4baba5De1aed" | |
} |
y///PykFAqoHAICs5x5yMLrt8CSgCjYOAADufg/va/xDnOw/HPBsQBOa7EYbDuIgoNIAgy7pLvBgegAAqPbzAKiqqqqqbx9gLALbZGeWv32+hX+ef74FRRRbUESxBUUUW1BEsQVFFFtQRLEFRRRbUESxBUUUW1BEsQVFFFtQRLEFRRRbUESxBUUUW1BEsQVFFNse9Sqs6tERhj0NYWU9CvdEaeh4TL2G3VvuU7+O84T6dJJh3ymElfU03BeloeMZ9Rt2f3lAgzqLZ2tA5zAcOBdhZT0PHojS0PF8DRr2YHlIw7qAF2pIFzEcuhhhZb0EHorS0PFSDRv2cHlEo7qMl2tEVzAcuRJhZb0KHonS0PFqjRr2aHlM47qG12pM1zEcux5hZb0BHovS0PFGjRv2eHlCk7qJN2tCtzCcuBVhZb0NnojS0PF2TRr2ZHlK07qDd2pKdzGcuhthZb0HnorS0PFeTRv2dHlGs7qP92tGDzCceRBhZX0InonS0PFhzRr2bHlO83qEj2pOjzGcexxhZX0CnovS0PFJzRv2fHlBi3qKT2tBzzBceBZhZX0OXojS0PF5LRr2YnlJy3qBL2pJLzFcehlhZX0FXorS0PFVLRv2cnlFq3qNr2tFbzBceRNhZX0LXonS0PFtrRr2anlN63qH72pN7zFcex9hZf0AXovS0PFDrRv2enlDm/qIH2tDnzDc+BRhZf0M3ojS0PFzbRr2ZnlL2/qCX2pLXzHc+hphZf0G3orS0PFbbRv2dnlHu/qO32tHPzDc+RFhZf0J3onS0PFn7Rr2bnlP+/qFv2pPvzHc+x1hZf0D3ovS0PFP7Rv2fvlAh/qLf+tA/zA8+BdhZf0PPojS0PF/HRr2YfnXAgIAx2wZOiQEGGiQwYYYapjhRhhplNHGGGuc8SaYaJLJpphqmulmmGmW2eaYa575FlhokcWWWGqZ5VZYaZXV1lhrnfU22GiTzbbYapvtdthpl9322Guf/Q446JDDjjjqmONOOOkUpzrN6c5wprOc |
const ethers = require('ethers'); | |
const LitSDK = require('lit-js-sdk/build/index.node.js'); | |
const lit = new LitSDK.LitNodeClient(); | |
await lit.connect(); | |
const chain = 'mumbai'; | |
const saveAuthSig = { | |
sig: "0x<signature1>", |
$0=10 (step pulse, usec) | |
$1=255 (step idle delay, msec) | |
$2=0 (step port invert mask:00000000) | |
$3=3 (dir port invert mask:00000011) | |
$4=0 (step enable invert, bool) | |
$5=1 (limit pins invert, bool) | |
$6=0 (probe pin invert, bool) | |
$10=3 (status report mask:00000011) | |
$11=0.020 (junction deviation, mm) |
#include <Arduino.h> | |
#include <Adafruit_NeoMatrix.h> | |
#define BOARD_WIDTH 10 | |
#define BOARD_HEIGHT 20 | |
#define ROWS_PER_GROUP 4 | |
#define NEO_PIN 7 |
// This #include statement was automatically added by the Particle IDE. | |
#include "AccelStepperSpark/AccelStepperSpark.h" | |
#define STEP_FACTOR 8 | |
bool forward = true; | |
// Define a stepper and the pins it will use | |
AccelStepper stepper(AccelStepper::DRIVER, A1, A2); |
// This example uses an Arduino/Genuino Zero together with | |
// a WiFi101 Shield or a MKR1000 to connect to shiftr.io. | |
// | |
// IMPORTANT: This example uses the new WiFi101 library. | |
// | |
// You can check on your device after a successful | |
// connection here: https://shiftr.io/try. | |
// | |
// by Gilberto Conti | |
// https://github.com/256dpi/arduino-mqtt |
require 'aws-sdk' | |
CONFIG = { | |
# nil to load from env | |
:aws_access_key => nil, | |
:aws_secret_access_key => nil, | |
:aws_region => nil, | |
# in seconds |