There's no way to <link rel=preload>
a Web Worker. This fixes that.
npm i -S gist:developit/567dde2346d785b2628224fddbf6783c
<!-- workers are now just a normal script preload: -->
<link rel=preload href=/path/to/worker.js as=script crossorigin>
You can use the OpenFaaS helm chart to generate custom YAML files for your OpenFaaS installation on ARMHF and ARM64.
Why? tiller
is not available for ARM so we cannot customize the chart that way.
So instead we ship some defaults for the community which you can then tweak as you see fit.
But what might you want to change?
httpProbe
- this is a much faster way to check functions are healthy than the default execProbe
#!/usr/bin/env bash | |
{ set +x; } 2>/dev/null | |
IFS=$'\n' | |
set "$@" $(find ~ -name ".*" ! -name ".CFUserTextEncoding" ! -type l -mindepth 1 -maxdepth 1) # dotfiles | |
set "$@" $(find ~ -name "Google *" -mindepth 1 -maxdepth 1) # Google Drive | |
set "$@" ~/git # store on github/etc :) | |
set "$@" ~/node_modules | |
set "$@" ~/Applications # install apps with brew cask |
val WIDEVINE_UUID = UUID(-0x121074568629b532L, -0x5c37d8232ae2de13L) | |
val wvDrm = try { | |
MediaDrm(WIDEVINE_UUID) | |
} catch (e: UnsupportedSchemeException) { | |
//WIDEVINE is not available | |
null | |
} | |
wvDrm!!.apply { |
#!/bin/bash | |
## zmeu (zmeu@whitehat.ro) Tue Dec 25 12:49:04 CST 2018 | |
## keepalive IRCCloud - Trial Account | |
AGENT="IRCCloud/4.5 (iPhone; en; iPhone OS 12.1.2)" | |
URL="https://www.irccloud.com/chat" | |
USER="YOUR-ACCOUNT-NAME" | |
PASS="YOUR-PASSWORD" | |
TOKENIZE=$(curl -s -A $AGENT -X POST "$URL/auth-formtoken" --header "content-length: 0"|cut -d"\"" -f8) | |
SESSION=$(curl -s -A $AGENT -d email=$USER -d password=$PASS -d token=$TOKENIZE --header "content-type: application/x-www-form-urlencoded" --header "x-auth-formtoken: $TOKENIZE" "$URL/login"|cut -d"\"" -f8) |
$ sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ca.crt
$ sudo security add-trusted-cert -d -r trustRoot -k ~/Library/Keychains/login.keychain ca.crt
Microk8s is a Canonical project to provide a kubernetes environment for local development, similar to minikube but without requiring a separate VM to manage. These instructions describe setting it up for common development use cases with Cilium and may be helpful in particular for testing BPF kernel extensions with Cilium.
Microk8s will run its own version of docker for the kubernetes runtime, so if you have an existing docker installation then this may be confusing, for instance when building images the image may be stored with one of these installations and not the other. This guide assumes you will run both docker daemon instances, and use your existing docker-ce for building Cilium while using the microk8s.docker daemon instance for the runtime of your kubernetes pods.