Create a basic GitLab CI config:
$ cat .gitlab-ci.yml
image: node
before_script:
- npm installDownload the pre-patched powerline symbols font file.
$ wget -c https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf
| // Firebase Batch Functions Deploy (Alisson Enz) | |
| // This script helps firebase users deploy their functions when they have more than 60 functions and | |
| // it's not allowed to deploy all using `firebase deploy --only functions` due deployment quota. | |
| // This script will get your functions export from index.js and deploy in batches of 30 and wait 30 seconds. | |
| // This script will NOT delete your function when removed from index.js. | |
| // Instructions | |
| // 0. This instructions suppose that you already have firebase-tools installed and is logged to your account; | |
| // 1. Install `shelljs` (npm install -g shelljs); |
| { | |
| "name": "to-be-added", | |
| "version": "0.0.0", | |
| "sideEffects": false, | |
| "exports": { | |
| ".": { | |
| "import": "./dist-esm/bundle.min.mjs", | |
| "require": "./dist-cjs/bundle.min.cjs" | |
| }, | |
| "./server": "./server/index.js" |
We've flip-flopped on prop table handling for React components written in Typescript. This document attempts to be a final reference for anybody who's been trying to follow along.
TLDR:
SB6 uses react-docgen-typescript by default. We hope to use react-docgen in SB7. The whole experience led to zero-config in SB6, so it's now a one-line change main.js to switch between the two.
| #!/usr/bin/env bash | |
| ################################################################ | |
| # Auto-Copy Script for unRAID Unassigned Devices Plugin | |
| # Original script: https://gitlab.com/snippets/1737763 | |
| ################################################################ | |
| PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin | |
| # Available variables: | |
| # |
| blueprint: | |
| name: Low battery level detection & notification for all battery sensors | |
| description: Regularly test all sensors with 'battery' device-class for crossing | |
| a certain battery level threshold and if so execute an action. | |
| domain: automation | |
| input: | |
| threshold: | |
| name: Battery warning level threshold | |
| description: Battery sensors below threshold are assumed to be low-battery (as | |
| well as binary battery sensors with value 'on'). |
If you have any issues with macOS, or need anything related to it check this documentation
Install Xcode Command Line tools :