go tag

327 questions


1 answers
94 views
0
Remove dynamically assigned ports from docker inspect

When I dynamically mapped 80 ports in a container, I tried to get the port mapped to the host OS only by using the docker inspect command, but no matter how hard I tried, it didn't work.I was hoping t...

2 years ago

1 answers
177 views
0
Django2 Database Settings (ENGINE VALUE) and Heroku Administration Screen Login

I am creating a blog project in Django 2.0.The database was changed from the default SClite3 to PostgreSQL and deployed to Heroku.As I can no longer log in from the management screen on the Heroku sit...

2 years ago

1 answers
113 views
0
Django Tutorial 2: Error in "Try Playing with API"

I'm a Python beginner.I am proceeding with Django's tutorial, but when I call pols in IDLE, I get the following error:>>from polls.models import Question, Choice  Traceback (most recent call las...

2 years ago

1 answers
85 views
0
I want to select with gorm and return a specific value of json.

import( github.com/jinzhu/gorm _github.com/mattn/go-sqlite3)typeUnivNormalTimeTable structure { Id int`json: id` Hour int `json: hour` Minute int`json: minute` DayOfTheWeek string `json: day_of_the_we...

2 years ago

2 answers
180 views
0
Efficient parallel calculation method for GPU calculation

I will explain the current situation a little and then write a question.For the past month or so, I've been using the GPU (GeForce 1080) and running it on python with Keras (Tensorflow backend).(I use...

2 years ago

1 answers
112 views
0
About Django Narrowing Search

I would like to implement a narrow search on the side menu of https://www.gumtree.com.au using Django.For example, if you click Jobs on the global menu on this site, the side menu displays a subcatego...

2 years ago

1 answers
101 views
0
Understanding How to Import non-standard pkg in the go Language

There is a problem importing non-standard packages such as github.I would like to ask you a question for your help.Let me explain a little bit from the background.Currently, I am writing the main code...

go
2 years ago

1 answers
146 views
0
About obtaining entities from Datastore after deployment to Golang GCP

I'm sorry to ask this question for a beginner who just started studying Go, but if anyone knows it, please let me know.What I want to do now is to get the entities stored in the GCP datastore, mold th...

2 years ago

1 answers
99 views
0
Go cannot decode images downloaded from the Internet

I downloaded an image in Go language and created a code to convert it into an Image structure to handle it, but I couldn't because of the error below. func getImage(url string) (image.Image, [] byte, ...

go
2 years ago

1 answers
104 views
0
How to Specify Environment Variables When Using Itamae Execute Resources

To install the jobber to Ubuntu using Itamae to replace the cron written in goexecute'export GOPATH=$HOME/.go;go get github.com/dshearer/jobber' do not_if'test-e~/.go/src/github.com/dshearer/jobber'en...

2 years ago
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.