Insights:
Relevant tech:
- Amazon SWF
- Uber Cadence
- Temporal
- Netflix Conductor
- MSFT DurableTask
// Scalar stuff | |
var Scalar = {}; | |
(function () { | |
"use strict"; | |
Scalar.mulFunc = function (first, second) { | |
return first * second; | |
}; |
import "net/http/httptrace" | |
func (cl *httpClient) makeTrace(kvs []*kvpb.KV) *httptrace.ClientTrace { | |
start := cl.timeNow() | |
var ( | |
startDial = start | |
startDNS = start | |
startConnect = start | |
startTLS = start |
import java.util.Iterator; | |
import java.util.NoSuchElementException; | |
import junit.framework.TestCase; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Test; | |
/** |
Insights:
Relevant tech:
$ git push heroku master | |
! Heroku has temporarily disabled this feature, please try again shortly. | |
! See http://status.heroku.com for current Heroku platform status. | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. |
const magnitudes = [ | |
{magnitude: 1_0000_0000, suffix: "억"}, | |
{magnitude: 1_0000, suffix: "만"}, | |
// {magnitude: 1000, suffix: "천"}, // this works too | |
]; | |
const krFormat = (num: number): string => { | |
const m = magnitudes.find((m) => num >= m.magnitude); | |
if (!m) { | |
return `${num}` |
local namespace="" | |
local secret="" | |
local data_key="" | |
local filename="" | |
kubectl get secret -n ${namespace} ${secret} -o json \ | |
| jq --arg datakey ${data_key} --argjson value <(base64 -w 0 < ${filename} | jq -R -s '.') '.data[$datakey] = $value' \ | |
| kubectl apply -f - |
# Clear the cookies | |
$ rm cookies.txt | |
# Create a user | |
$ curl -v -b cookies.txt -c cookies.txt -X POST 127.0.0.1:8080/api/v0.1/employees -d '{"employeeId":666, "password":"hello"}' | |
HTTP/1.1 201 Created | |
# Try querying without auth | |
$ curl -v -b cookies.txt -c cookies.txt -X GET 127.0.0.1:8080/api/v0.1/employees | |
HTTP/1.1 401 Unauthorized |
Error: Error waiting for Load Balancer (cockroach-lb.stage) to become active: Error issuing read request in LoadbalancerStateRefreshFunc to DigitalOcean for Load Balancer 'e1bf1559-2ded-41bd-88d4-d1e7066bd6e1': GET https://api.digitalocean.com/v2/load_balancers/e1bf1559-2ded-41bd-88d4-d1e7066bd6e1: 504 <!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]--> | |
<head> | |
<title>api.digitalocean.com | 504: Gateway time-out</title> | |
<meta charset="UTF-8" /> |
==> Checking that code complies with gofmt requirements... | |
TF_ACC=1 go test "./kubernetes" -v -test.run TestAccKubernetesPod_with_projected_volume -timeout 120m | |
=== RUN TestAccKubernetesPod_with_projected_volume | |
TestAccKubernetesPod_with_projected_volume: testing.go:654: Step 0 error: After applying this step, the plan was not empty: | |
DIFF: | |
UPDATE: kubernetes_pod.test | |
spec.0.container.0.command.#: "" => "0" | |
spec.0.container.0.env.#: "0" => "0" |