I hereby claim:
- I am mjpitz on github.
- I am mjpitz (https://keybase.io/mjpitz) on keybase.
- I have a public key ASAZhypY8jMENYr7mgIk7AijguSzbO9acsBYDamMX4cNSgo
To claim this, I am signing this object:
package uplink | |
import ( | |
"context" | |
"crypto/aes" | |
"crypto/sha256" | |
"encoding/json" | |
"net/http" | |
"github.com/zeebo/errs" |
package main_test | |
func Test(t testing.T) { | |
testplanet.Test( | |
storagenodetp.Configure(...), | |
satellitetp.Configure(...), | |
)(func() {}) | |
} |
I hereby claim:
To claim this, I am signing this object:
// The guide online generally works, but has values that do not correspond to the primary active satellites. | |
// https://github.com/storj-thirdparty/uplink-nodejs/blob/7fb4a9ab35b04c7338d503d6d3d76d9264c53867/docs/tutorial.md | |
const http = require('http'); | |
// Step 2 / 3 | |
const storj = require("uplink-nodejs"); | |
const uplink = new storj.Uplink(); | |
// Step 1 |
Scripts for https://script.google.com/home/start
Create the project:
imageDownloader
)package io_test | |
import ( | |
"bytes" | |
"encoding/binary" | |
"encoding/hex" | |
"encoding/json" | |
"testing" | |
"time" |
FROM ubuntu:21.04 AS builder | |
WORKDIR /scratch | |
RUN apt-get update -y && apt-get install -y ca-certificates git build-essential libtool cmake libbsd-dev peg | |
ARG REDISRAFT_VERSION="4bbf5af1" | |
RUN git clone https://github.com/RedisLabs/redisraft.git redisraft && \ | |
cd redisraft && \ | |
git checkout ${REDISRAFT_VERSION} && \ |
As an exercise, I started to design and implement a database in some of my free time. As I started working through some of the details, there were a few things that I knew I wanted to work with and a few things I wanted to evaluate. Since I'm looking at more of a CP system, my mind immediately jumped to Raft. But which implemenation to use? And what storage mechanism? Since I had more familiarity with Hashicorps implemenation, I started there.
The first thing I wanted to do was consider the performance characteristics of the underlying data stores. One of the nice features of the hashicorp implementation is it allows callers to plugin in different stores for logs, stable, and snapshots. There's a whole slew of community implementations.
Three files:
schema.gql
contains the type definitions I inserted into dgraph.seed.rdf
contains the set definition used to populate the database with associated information.query.gql
contains the dql query I'm trying to execute based on the examples...When I run the query I get no results back. I've tried this at all sorts of different parts of the simple tree. Can't get any information anywhere. Can see data stored in the system just can't access it.
kubeconfig="${KUBECONFIG}" | |
if [[ -z "${kubeconfig}" ]]; then | |
kubeconfig="$(mktemp):$(ls -1 ${HOME}/.kube/*.yaml | tr $'\n' ':')${HOME}/.kube/config" | |
fi | |
export KUBECONFIG="${kubeconfig}" | |
function zsh_kube_prompt() { | |
zsh_kube_context=$(kubectl config current-context) | |
zsh_kube_authinfo=$(kubectl config get-contexts "${zsh_kube_context}" --no-headers | awk '{print $4}') | |
zsh_kube_ns=$(kubectl config get-contexts "${zsh_kube_context}" --no-headers | awk '{print $5}') |