Skip to content

Instantly share code, notes, and snippets.

View ericgla's full-sized avatar

Eric Glanz ericgla

  • Fluent Bits LLC
  • Denver CO USA
View GitHub Profile
import * as React from 'react'
import { Popover, PopperModifiers, Classes, Position, IPopoverProps } from '@blueprintjs/core'
export interface IOffset {
left: number
top: number
}
const POPPER_MODIFIERS: PopperModifiers = {
preventOverflow: { boundariesElement: 'viewport' }
@ericgla
ericgla / xiaomi-button.groovy
Last active March 30, 2022 00:30
Xiaomi Zigbee Button - model WXKG01LM
/**
* Xiaomi Zigbee Button - model WXKG01LM
* Device Handler for SmartThings - Firmware version 25.20 and newer ONLY
* Version 1.3
*
* NOTE: Do NOT use this device handler on any SmartThings hub running Firmware 24.x and older
* Instead use the xiaomi-button-old-firmware device handler
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Orleans;
using System.Threading;
namespace GrainCollection
{

Keybase proof

I hereby claim:

  • I am ericgla on github.
  • I am ericgla (https://keybase.io/ericgla) on keybase.
  • I have a public key ASDMQA0MI91siG6N57nezxgMikx85d-deZMUAgyoSwIJzQo

To claim this, I am signing this object: