Skip to content

Instantly share code, notes, and snippets.

View vinceyoumans's full-sized avatar

vincent youmans vinceyoumans

View GitHub Profile
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/Users/vyoumans/anaconda2/lib/python2.7/copy.py", line 52, in <module>
import weakref
File "/Users/vyoumans/anaconda2/lib/python2.7/weakref.py", line 14, in <module>
from _weakref import (
ImportError: cannot import name _remove_dead_weakref
Error connecting to the service protocol: HttpException: , uri = http://127.0.0.1:8102/ws
{"a":[{"b":{"title":"NACS-100","INDEX":"A01B01C01D01","DEAD_END":"","Q01 - Ischemic Symptoms":"Asymptomatic (No ischemic symptoms)","Q02 - Anti-ischemic Medical Therapy:":"No Therapy","Q03 - Non-invasive Test Results:":"No non-invasive testing performed","Q04 - PRIOR CABG":"No Previous CABG","Q01":"A01","Q02":"B01","Q03":"C01","Q04":"D01","E01 PRIMARY":"","E01 CABG":"","E01 PCI":"","E02 PRIMARY":"20-Asymptomatic","E02 CABG":"","E02 PCI":"","E03 PRIMARY":"","E03 CABG":"","E03 PCI":"","E04 PRIMARY":"","E04 CABG":"","E04 PCI":"","E05 PRIMARY":"","E05 CABG ":"","E05 PCI":"","E05a PRIMARY":"","E05a CABG":"","E05a PCI":"","E05b PRIMARY":"22-Asymptomatic","E05b CABG":"","E05b PCI":"","E05c PRIMARY":"23-Asymptomatic","E05c CABG":"","E05c PCI":"","E06 PRIMARY":"","E06 CABG":"","E06 PCI":"","E06a PRIMARY":"48-Asymptomatic","E06a CABG":"","E06a PCI":"","E06b PRIMARY":"","E06b CABG":"","E06b PCI":"","E06c PRIMARY":"","E06c CABG":"","E06c PCI":"","E07 PRIMARY":"49-Asymptomatic","E07 CABG":"","E07 PCI":"","E07a PRIMARY":""
docker run --name vyamex01 c7e6ae8e14bb
So everything is compiling.
BUT... when I do a
docker run --name amex01c 8c0ac9dab807
Can not get a response from a web page.
I changed the go code to just respond to /
Also, the go code runs out side of a container.
go run main.go works fine.
So I suspect I need to open up a port to make this work?
version: '3.6'
services:
postgre:
image: postgres:11.1-alpine
ports:
- "5432"
environment:
POSTGRES_USER: 'user'
POSTGRES_PASSWORD: 'password'
POSTGRESS_DB: 'db_amex01'
@vinceyoumans
vinceyoumans / Dockerfile
Created December 11, 2018 21:27
for the golang compile to a docker container
############################
# STEP 1 build executable binary
############################
FROM golang:alpine AS builder
# Install git.
# Git is required for fetching the dependencies.
RUN apk update && apk add --no-cache git
COPY . $GOPATH/src/dock/v01
WORKDIR $GOPATH/src/dock/v01
# Fetch dependencies.
@vinceyoumans
vinceyoumans / error.txt
Created February 24, 2020 12:32
Error message from Arduino compile for SeeedStudio package
this is an error message from using
any sugestion on how to resolve?
Arduino: 1.8.7 (Mac OS X), Board: "Seeeduino Stalker V3"
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/vincentyoumans/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/vincentyoumans/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/vincentyoumans/Documents/Arduino/libraries -fqbn=Seeeduino:Seeeduino_Stalker:stalker -ide-version=10807 -build-path /var/folders/z2/4tjgj0hx69n2wvxs_43cc0km0000gn/T/arduino_build_636544 -warnings=all -build-cache /var/folders/z2/4tjgj0hx69n2wvxs_43cc0km0000gn/T/arduino_cache_414025 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/vincentyoumans/Library/Arduino15/packages/Seeeduino/tools/a