minikube start
helm repo add incubator http://storage.googleapis.com/kubernetes-charts-incubator
helm install -n istio incubator/istio
kubectl apply -f <(istioctl kube-inject -f samples/apps/bookinfo/bookinfo.yaml)
git clone https://github.com/diegopacheco/rancher-istio.git
cd rancher-istio/
kubectl get services istio-ingress -o wide
export POD_NAME=$(kubectl get pods --namespace default -l "component=istio-istio-grafana" -o jsonpath="{.items[0].metadata.name}")
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew cask reinstall vagrant | |
| # this might take a long time | |
| vagrant plugin update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Use envFrom to load Secrets and ConfigMaps into environment variables | |
| apiVersion: apps/v1beta2 | |
| kind: Deployment | |
| metadata: | |
| name: mans-not-hot | |
| labels: | |
| app: mans-not-hot | |
| spec: | |
| replicas: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| In JavaScript, objects can be used to serve various purposes. | |
| To maximise our usage of the type system, we should assign different types to our objects depending | |
| on the desired purpose. | |
| In this blog post I will clarify two common purposes for objects known as records and dictionaries | |
| (aka maps), and how they can both be used with regards to the type system. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env stack | |
| -- stack --resolver lts-12.18 script | |
| import Control.Concurrent (threadDelay) | |
| import Control.Concurrent.Async (replicateConcurrently_) | |
| import Control.Monad (unless) | |
| import Data.IORef | |
| import System.Random (randomIO) | |
| main :: IO () | |
| main = do |
git clone git@github.com:Robertof/nixos-docker-sd-image-builder.gitcd nixos-docker-sd-image-builder
- modify
/config/rpi4/default.nixto increase size of boot partition- this step is optional but I ran out of space in /boot pretty quickly with the default setting since I'm still learning and rebuilding a lot. Let's leave some room for trial & error.
sdImage.firmwareSize = 1024;
- modify
/config/sd-image.nix ./rpi3becomes./rpi4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import axios, { AxiosError, AxiosResponse } from 'axios'; | |
| import token from './somewhere'; | |
| interface Todo { | |
| id: string; | |
| title: string; | |
| } | |
| interface User { | |
| id: string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # private key | |
| openssl ecparam -genkey -name secp521r1 -noout -out es512-private.pem | |
| # public key | |
| openssl ec -in ecdsa-p521-private.pem -pubout -out es512-public.pem |
This report was sponsored by an anonymous donor. I'd like to thank them for the generous contribution to the industry, the PSF, and to me.
The purpose of the report is to:
- Assess the current state of SLPDB and SLP indexing in the industry.
- Explore the costs of improving the indexer or creating a new one.
The SLPDB indexer gave rise to a prolific token economy on the Bitcoin Cash blockchain. eCash, a fork of Bitcoin Cash, also makes use of SLP tokens as well. Both ecosystems require a robust indexer in order to sustain their token economies.
OlderNewer