Tutorial and tips for GitHub Actions workflows
Table of Contents:
The CD that came with the device listed RTL8671B, but it's not on Realtek's website. Instead the manual points you to:
https://www.mytechkey.com/pages/driver
4.Bluetooth 5.0 Dongle
Driver Link:
https://www.dropbox.com/s/gwo9lz777i82f70/BT5.0%20Driver.zip?dl=0
Ever wanted to put your Rapsberry Pi cluster to great use? Our team is working remotely, so we started to play Minecraft. I decided I would host the Minecraft server on my Raspberry Pi cluster. This gist will guide you through the steps I took to get a k3s cluster up with k3sup and later installed Minecraft as well as metrics exporter and Prometheus Operator
Quoniam Possumus - Because we can
| import Amplify from '@aws-amplify/core' | |
| import config from './aws-exports' | |
| Amplify.configure(config) | |
| import React, { useState, useEffect } from 'react' | |
| import { Text, View, TextInput, Button } from 'react-native' | |
| import { DataStore } from '@aws-amplify/datastore' | |
| import { Message} from './src/models' | |
| const initialState = { color: 'black', title: '' } |
| const canvasToBlobUrl = (() => { | |
| const canvasToBlobURL = (canvas, type='image/webp', option=0.1) => { | |
| const promise = new Promise(async (resolve) => { | |
| await rAF(); | |
| const blob = await canvasToBlob(canvas); | |
| resolve(URL.createObjectURL(blob, type, option)); | |
| }); | |
| return promise; | |
| } |
| #!/bin/bash | |
| cat << EOF > email.eml | |
| From: "${MAIL_FROM_NAME}" <${MAIL_FROM_ADDRESS}> | |
| To: "${MAIL_TO_NAME}" <${MAIL_TO_ADDRESS}> | |
| Reply-To: "${MAIL_TO_NAME}" <${MAIL_TO_ADDRESS}> | |
| Subject: ${MAIL_SUBJECT} | |
| Content-Type: text/html; charset="utf-8" | |
| Content-Transfer-Encoding: quoted-printable |
This gist has moved to the faasd repo
https://github.com/openfaas/faasd/blob/master/docs/MULTIPASS.md
| const templatized = (template, vars = {}) => { | |
| const handler = new Function('vars', [ | |
| 'const tagged = ( ' + Object.keys(vars).join(', ') + ' ) =>', | |
| '`' + template + '`', | |
| 'return tagged(...Object.values(vars))' | |
| ].join('\n')) | |
| return handler(vars) | |
| } |
| var kb = require("ble_hid_keyboard"); | |
| var services = { | |
| 0x180a: { | |
| 0x2a50: { | |
| value: [ | |
| 0x01, /* Use USB Vendor IDs */ | |
| 0xac, 0x05, /* Apple */ | |
| 0x5a, 0x02, /* Internal Keyboard */ | |
| 0x00, 0x00 |
