This file contains 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
thatcher@blue1:~/Develop/tmp$ git clone git@github.com:dhrp/rectangle.im.git | |
Cloning into 'rectangle.im'... | |
remote: Counting objects: 65, done. | |
remote: Compressing objects: 100% (47/47), done. | |
remote: Total 65 (delta 14), reused 62 (delta 11) | |
Receiving objects: 100% (65/65), 24.72 KiB, done. | |
Resolving deltas: 100% (14/14), done. | |
thatcher@blue1:~/Develop/tmp$ docker build git://github.com:dhrp/rectangle.im.git | |
2013/11/15 20:56:16 Error: Error trying to use git: exit status 128 (fatal: unable to connect to github.com: | |
github.com: Servname not supported for ai_socktype |
This file contains 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
#!/bin/sh | |
# Usage: $0 <inputfile.ext | |
# | |
# Program takes input from standard in, saves it | |
# and then lets PSSPred run with that inputfile | |
TMP_FILE=/tmp/input.txt | |
# Clean up the temp file |
This file contains 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
+----------------------------------------------------------+------------------------ | |
| Variable_name | Value | | |
+----------------------------------------------------------+------------------------ | |
| auto_increment_increment | 7 |
This file contains 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
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: count-to-600 | |
spec: | |
parallelism: 3 | |
completions: 6 | |
activeDeadlineSeconds: 100 | |
template: | |
metadata: |
This file contains 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
core@p1 ~ $ docker logs rancher_server |more | |
CATTLE_AGENT_PACKAGE_HOST_API_URL=/usr/share/cattle/artifacts/host-api.tar.gz | |
CATTLE_AGENT_PACKAGE_PYTHON_AGENT_URL=/usr/share/cattle/artifacts/go-agent.tar.gz | |
CATTLE_API_UI_URL=//releases.rancher.com/api-ui/1.0.8 | |
CATTLE_CATTLE_VERSION=v0.181.13 | |
CATTLE_CLUSTER_ADVERTISE_ADDRESS=10.80.94.1 | |
CATTLE_DB_CATTLE_DATABASE=mysql | |
CATTLE_DB_CATTLE_MYSQL_HOST=gcp-europe-west1-cpu.2.dblayer.com | |
CATTLE_DB_CATTLE_MYSQL_NAME=rancher_packet | |
CATTLE_DB_CATTLE_MYSQL_PORT=15554 |
This file contains 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
findex: 14 Dst: 172.17.0.0/16 Src: 172.17.0.2 Gw: <nil> Flags: [] Table: 254} {Ifindex: 14 Dst: fe80::/64 Src: <nil> Gw: <nil> Flags: [] Table: 254}] {[] [] []}} false virtual}]" source=virtcontainers | |
Jan 03 22:36:43 c1.packet.nlze.nl cc-runtime[2819]: time="2018-01-03T22:36:43Z" level=warning msg="unsupported route" destination="fe80::/64" source=virtcontainers subsystem=hyper unsupported-route-type=ipv6 | |
Jan 03 22:36:43 c1.packet.nlze.nl cc-runtime[2819]: time="2018-01-03T22:36:43Z" level=info msg="device details" container-id=cd368647d825506b58988a3d272e161ebfebee30ee1f2a10b8bd5c174175f903 device-major=0 device-minor=43 mount-point=/var/lib/docker/overlay2/2ae3c52795a42a65f116e57ef326538fc745b438a92f4e964cb43e8b992eff5d/merged pod-id=cd368647d825506b58988a3d272e161ebfebee30ee1f2a10b8bd5c174175f903 source=virtcontainers subsystem=container | |
Jan 03 22:36:43 c1.packet.nlze.nl cc-runtime[2819]: time="2018-01-03T22:36:43Z" level=info msg="Attaching block device" device=/dev/loop0 source=virtcontainers subsystem= |
This file contains 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
func main() { | |
keyPair, certPool := certificates.GetCert() | |
grpcServer := makeGRPCServer(certPool) | |
restMux, err := getRestMux(certPool) | |
if err != nil { | |
log.Panic(err) | |
} | |
// register root Http multiplexer (mux) |
This file contains 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
// grpcHandlerFunc returns an http.Handler that delegates to grpcServer on incoming gRPC | |
// connections or otherHandler otherwise. Copied from cockroachdb. | |
func grpcHandlerFunc(grpcServer *grpc.Server, otherHandler http.Handler) http.Handler { | |
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
if r.ProtoMajor == 2 && strings.Contains(r.Header.Get("Content-Type"), "application/grpc") { | |
grpcServer.ServeHTTP(w, r) | |
} else { | |
otherHandler.ServeHTTP(w, r) | |
} | |
}) |
This file contains 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
{ | |
"handler": "Microsoft.Compute.MultiVm", | |
"version": "0.0.1-preview", | |
"parameters": { | |
"basics": [ | |
{ | |
"name": "adminUsername", | |
"type": "Microsoft.Compute.UserNameTextBox", | |
"label": "VM username", | |
"toolTip": "Administrative username for the virtual machines.", |
This file contains 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
version: "3" | |
services: | |
geth: | |
container_name: configurator_api | |
image: dhrp/aws_gethdaemon:source | |
command: | |
- "--nodiscover" | |
- "--peer-table-name" | |
- "eth-auto-EthereumCommonStack-YUOAW65KR29A-EthereumECSStack-G0RBZQHB26EZ-DynamoPeerTable-XSXJRR6DAIOV" |