<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html"> | |
<link rel="import" href="../paper-slider/paper-slider.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> |
$ target/debug/powerset
powerset:
Input: [1, 2, 3, 4, 5]
Output: ["", "1", "2", "12", "3", "13", "23", "123", "4", "14", "24", "124", "34", "134", "234", "1234", "5", "15", "25", "125", "35", "135", "235", "1235", "45", "145", "245", "1245", "345", "1345", "2345", "12345"]
Has odd count of 16
The purpose of this gist
is to share an example of how you can watch
the pod lifecycle from within (or outside of) a kubernetes cluster.
This allows me to launch a Service whenever a pod is created and delete
the service whenever the pod is deleted.
My specific use case is creating an Ambassador Emissary Ingress Service in response to the creation of an Agones GameServer. I have need to host web games that benefit from using edge load balancers that off load
This example assumes you have Minikube installed with a docker repo server on it hosted at port 5000. See this gist for more details on that.
This example will launch a pod with 3 containers that will send the request to the correct container based on the path.
There are many files so open this gist up for all the information.
./run.sh
I often use Firebase to store data for small projects. I've been using wasm-bindgen
to build web tools for a while now (both in production and for personal use). Until now, I have not tried Yew to build a web app. If Yew works well with Firebase, I thought I might give it a shot for the next single page app (SPA) I build.
- Create basic Yew page
- Add Firebase JS SDK
SurrealDB is a sexy new database server. It has a SQL-style query language, real-time queries with highly-efficient related data retrieval, advanced security permissions for multi-tenant access, and support for performant analytical workloads. SurrealDB is aiming to be a DBaaS and already supports many languages and protocols, something like Firebase plus many more features and capabilities. I've been wanting a tool like this for a log time now. I'm ready to dig in!
Today, I want to look at the graph search capabilities.
Let's start the server in a container.