jwesonga

Nairobi, Kenya

I enjoy writing code

1d
asked How do you create a Golang and Redis docker container on Google's Managed VM?
2d
comment Golang: Preview of managed VM app returns error
Found out what the "problem" is, for some weird reason I have to run "eval "$(boot2docker shellinit)" in the terminal before running "gcloud preview app run <path>" If I open a new terminal I have to repeat the process again. I didn't think this was the case since I added the environment variables to my ~/.bash_profile, is this the intended behavior?
2d
comment Golang: Preview of managed VM app returns error
I ran "sudo docker -d" and got "This is a client-only binary - running the Docker daemon is not supported"
Apr
13
awarded Popular Question
Apr
11
comment Golang: Preview of managed VM app returns error
@VoncC since the container isn't actually running (related to the error above) I can't get the container ID, or may be I'm doing it wrong. I tried: "docker ps" and got: FATA[0032] An error occurred trying to connect: Get 192.168.59.104:2376/v1.17/containers/json: dial tcp 192.168.59.104:2376: i/o timeout
Apr
11
comment Golang: Preview of managed VM app returns error
How do I check that within the docker container? Just as an aside I'm on OSX
Apr
11
comment Golang: Preview of managed VM app returns error
Tried your solution and it doesn't work..
Apr
11
asked Golang: Preview of managed VM app returns error
Apr
7
accepted Golang: AppEngine throws operation not permitted error on Get call
Apr
6
revised Golang: AppEngine throws operation not permitted error on Get call
edited tags
Apr
6
asked Golang: AppEngine throws operation not permitted error on Get call
Apr
6
asked Golang: Different AppEngine packages
Apr
5
comment Golang: range through slice and generate HTML table
tvblah, thanks for the answer, do you know if there's a way to pass multiple variables to the template? The 2nd solution below only allows me to pass the slice, what if i have other variables I'd like to pass to the template, how would I go about doing that?
Apr
5
accepted Golang: range through slice and generate HTML table
Apr
5
asked Golang: range through slice and generate HTML table
Apr
2
asked Golang: reflect.DeepEqual returns false
Mar
13
awarded Notable Question
Mar
12
comment Golang: template inheritance loads empty page
I'm now getting this error: he runtime process gave a bad HTTP response: '' 2015/03/12 04:28:30 template: PAGE: "PAGE" is an incomplete or empty template; defined templates are: "base", "base.html", "CONTENT", "index.html"
Mar
12
asked Golang: template inheritance loads empty page
Mar
1
comment Golang: Testing API using httptest returns 404
sberry - yes the query string was the problem..thanks for the tip :-)
1 2 3 4 5