- Set everything up normally and get things working in testing.
- Have the docker run something like
CMD ["./server.sh"]
at the end
import { getConfig } from '@expo/config' | |
import fs from 'fs' | |
import spawnAsync from '@expo/spawn-async' | |
import chalk from 'chalk' | |
import path from 'path' | |
const appDir = process.cwd() | |
console.log() | |
console.log(chalk.green('Sentry source maps script. Working directory:')) |
Programming the Leviton DG6HD-1BW ZigBee Dimmer Switch with ZigBee2MQTT | |
While the dimmer swith has options to program the minimum, maximum dimmer values through the paddle switch, other options such as the default light level, transition times, etc. are only available to be programmed via the ZigBee coordinator (per Leviton support). | |
For ZigBee2MQTT (Z2M): | |
Go to the device from the devices page. On the Dev Console tab for the device you can select what endpoints and clusters you want to read\write to. To read current values from the below and/or write the values to modify the behavior of the lights. | |
Endpoint 1 Cluster LevelCtl will have the following programmable attributes: | |
- onLevel: Brightness level the light will be set to by default when turned on. [Set to 254 to enable full brightness, set to 255 to enable previous level] |
const { | |
AndroidConfig, | |
WarningAggregator, | |
withAndroidManifest, | |
withAppDelegate, | |
withDangerousMod, | |
withInfoPlist, | |
withMainActivity, | |
withPlugins, | |
} = require('@expo/config-plugins') |
As a former sysadmin that once helped ride herd over around 1,000 servers, of which around 10% were Internet-facing, I've never been a fan of autoconfiguation when it comes to punching holes through the firewall. I've seen the tripwire logs, and it's sobering.
So enabling UPnP on my EdgeRouter-4 wasn't something I had on the roadmap, but when I ran into difficulty getting DLNA to work on the default VLAN, I thought it was worth looking into (never mind that, as I later learned, having UPnP turned on wasn't going make a bit of difference on my local network: another reason that mastering theory should always come before practice).
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
This is my attempt at at implementing undo (no redo for now) in Redux.
Middleware is used to implement a command pattern approach to undo / redo, where incoming actions are identified as Commands and added to a stack.
When the undo()
action is raised the middleware halts the current action instead calling the undo method of the previous Command.
In this gist I would like to describe an idea for GraphQL subscriptions. It was inspired by conversations about subscriptions in the GraphQL slack channel and different GH issues, like #89 and #411.
At the moment GraphQL allows 2 types of queries:
query
mutation
Reference implementation also adds the third type: subscription
. It does not have any semantics yet, so here I would like to propose one possible semantics interpretation and the reasoning behind it.