-
Go to Launch CoreOS on AWS and find the HVM AMI you want to use, eg:
ami-d878c3b0 -
Go to AWS control panel under EC2 instances
-
Launch a new instance
-
Under "Community AMIs", search for
ami-d878c3b0
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
| // otel.ts | |
| import { trace, type Tracer } from "@opentelemetry/api"; | |
| import { | |
| BasicTracerProvider, | |
| BatchSpanProcessor, | |
| } from "@opentelemetry/sdk-trace-base"; | |
| import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http"; | |
| import { getLogfireApiKey, getLogfireEnabled } from "./secure-storage"; | |
| import { log } from "./logger"; |
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
| map $http_upgrade $connection_upgrade { | |
| default upgrade; | |
| '' close; | |
| } | |
| server { | |
| # HTTPS configuration | |
| listen 443 ssl http2; # managed by Certbot |
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
| New in Docker Hub: Personal Access Tokens. Learn more > | |
| ✕ | |
| Explore | |
| Repositories | |
| Organizations | |
| Repositories | |
| tleyden5iwx / open-ocr-preprocessor | |
| Builds | |
| Using 0 of 1 private repositories. Get more | |
| SUCCESS |
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
| Building in Docker Cloud's infrastructure... | |
| Cloning into '.'... | |
| Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts. | |
| Reset branch 'master' | |
| Your branch is up-to-date with 'origin/master'. | |
| KernelVersion: 4.4.0-1060-aws | |
| Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018-08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.10.2'}}] | |
| Arch: amd64 | |
| BuildTime: 2018-08-30T18:42:30.000000000+00:00 | |
| ApiVersion: 1.37 |
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
| package main | |
| import ( | |
| "log" | |
| "sync" | |
| "github.com/bitly/go-nsq" | |
| ) | |
| func consumer() { |
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
| # cat /etc/init.d/couchbase-server | |
| #!/bin/sh | |
| # | |
| # Startup / shutdown script for the couchbase server | |
| # | |
| # Copyright (c) 2011, Couchbase, Inc. | |
| # All rights reserved | |
| # | |
| # | |
| ### BEGIN INIT INFO |
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
| # VM for running Couchbase Server in a private network | |
| # | |
| # After starting: | |
| # | |
| # - vagrant ssh to get into the vm | |
| # - wget http://latestbuilds.service.couchbase.com/builds/releases/5.0.1/couchbase-server-enterprise-5.0.1-centos7.x86_64.rpm (or from downloads page) | |
| # - run "ip addr" to get eth1 ip address | |
| # - on host machine, go to ip-address:8091 to setup Couchbase Server |
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
| { | |
| "interface":":4984", | |
| "log": ["*", "BLIP", "BLIP+", "BLIP++"], | |
| "databases": { | |
| "todo": { | |
| "server": "walrus:", | |
| "users": { | |
| "user1": {"password": "pass", "admin_channels": ["user1"]}, | |
| "user2": {"password": "pass", "admin_channels": ["user2"]}, | |
| "mod": {"password": "pass", "admin_roles": ["moderator"]}, |
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
| package main | |
| import ( | |
| "fmt" | |
| "go/ast" | |
| "go/parser" | |
| "go/token" | |
| "log" | |
| "strings" | |
| ) |
NewerOlder