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
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
server { | |
# HTTPS configuration | |
listen 443 ssl http2; # managed by Certbot |
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
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 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 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 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 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" | |
) |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"encoding/json" | |
"github.com/flimzy/kivik" | |
_ "github.com/flimzy/kivik/driver/couchdb" // The CouchDB driver | |
"os" |
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
public gist |
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
Two branches diverged in a hairy func, | |
And sorry I could not setjmp both | |
And be one core, long I spun | |
And looked down one stack as deep I could | |
To where it bent in the memory bus | |
Then took the other, as just as fast, | |
And having perhaps the better metal, | |
Because it was cachey and wanted warmth, | |
Though as for that the executing there |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder