Conditioning Docker container-host relationships
# Introduction Docker is a technology that makes it easy to build an environment that has been introduced by many IT development companies. A container created with Docker has a relationship with th
[Python] Tuple version of prefecture pull-down
# Tuple version I made a Model in Django and defined it because it was needed in the choices of the prefecture. If you have a chance to use it, please use it (laughs) Tuple #### **`prefectures.py`
django update
# Django update 2.2 -> 3.1 At the command prompt pip install Django -U -Version confirmation 1 python -m django --version -Version confirmation 2 Python import djang
What to do if you get an "unknown service" error from your gRPC server
Recently popular gRPC. Data can be serialized by the schema language Protocol Buffers. As it can communicate faster than json communication which was mainstream so far, Increasingly, it is being a
Procedure when building Ubuntu as a virtual environment with Vagrant + Virtualbox for LPIC Level 1.
# While changing now LPIC looks interesting, so why not take it! So for the time being [Book 3rd Edition Thorough Strategy Series where you can learn the basics of LPIC in a week](https://amzn.to/
Time series analysis 2 Stationary, ARMA / ARIMA model
[Aidemy](https://aidemy.net/) 2020/10/29 # Introduction Hello, it is Yope! I am a liberal arts student, but I was interested in the possibilities of AI, so I went to the AI-specialized school "Aidemy
[Go] Execution / build / package test
## Prerequisite environment ・ MacOS ・ Goenv 2.0.0beta11 ・ Go version go1.15.2 darwin / amd64 ## Execution method This time we will run the classic Hello World. For the time being, create a fil
Is go-template Turing complete? I made a brainf * ck processing system
TL;DR -** Implement brainfuck \ * ck processing system only with standard go-template function / syntax **! -** Use kubectl as brainfuck \ * ck interpreter ** (Powerword) --Brainfuck \ * ck code
Benchmark for C, Java and Python with prime factorization
After practicing Python, I created a program that calculates prime factorization with simple logic. By the way, I created it in C language and Java and tried to compete for processing speed, so I wil
Introducing Django ~ Anaconda + Pycharm ~
# Installation of Anaconda Please download from the following https://www.anaconda.com/products/individual After installing Anaconda, you will reach this screen. ![スクリーンショット 2020-10-18 22.52.52
How to auto-submit Microsoft Forms using python (Mac version)
### Introduction Recently, due to the influence of `Are`, I had to submit Microsoft Forms early every morning in my situation. Thinking of it as "cumbersome", I decided to implement Forms auto-answer
Get date and time in specified format
<h2> Preface </ h2> There are many occasions when you need the date and time when dealing with data or when retrieving logs, but a memo to get the text in the format you want from datetime. <h2> E
Implement a date setter in Tkinter
The source code is as follows. ```python import tkinter as tk from tkinter import ttk import datetime import calendar year_list = ['2020', '2021'] month_list = [str(date).zfill(2) for date in range
Linux memorandum [links]
--[Rm, rmdir] Command to delete a directory on Linux https://uxmilk.jp/8318
Organize the flow from granting permissions to python users to make migrations and migrating
It is necessary to record to sql in order to create a branch for each person to move their hands from cloning with git hub, but this time I also described the flow to that recording and the troublesh
A personal memo of Pandas related operations that can be used in practice
# 0. Introduction Recently, I studied Pandas by solving [Data Science 100 Knock (Structured Data Processing)](https://github.com/The-Japan-DataScientist-Society/100knocks-preprocess). First of all,
AtCoder Beginner Contest 180
[A - box](https://atcoder.jp/contests/abc180/tasks/abc180_a) #### **`C++`** ```c++ #include<iostream> #include<vector> #include<algorithm> #include<iomanip> #include<utility> #include<iomanip> #inc
What to do if you try to push to git hub and get "fatal: The current branch develop / feature / discussion has no upstream branch."
# I got scolded ``` $ git push ``` When I tried to upload the code to git hub with `fatal: The current branch develop/feature/discussion has no upstream branch.` I was angry. It seems that "githu
Miyashita's example of analytical mechanics, solved exercises and moved with animation
Miyashita I am solving an exercise in analytical mechanics. If you find any mistakes, please let us know. # Chapter 1  # Impressions of this tim
Install pyenv on MacBook Air and switch python to use
## Preface Continuing from the above, I may not be accustomed to markdown, macOS, and CUI operations yet. There may be etiquette violations, but I would appreciate it if you could comment with warm
Time series analysis 1 Basics
[Aidemy](https://aidemy.net/) 2020/10/ # Introduction Hello, it is Yope! I am a liberal arts student, but I was interested in the possibilities of AI, so I went to the AI-specialized school "Aidemy"
Video frame interpolation by deep learning Part1 [Python]
I am dealing with ** video frame interpolation by deep learning ** at the university, and I will output the implementation I am trying in the process. I will continue to post the continuation of the
Python basics ③
Basic knowledge of Python ③. This is my study memo. Please do not excessive expectations. function - -A function is a block of programs that summarizes a certain process. -How to make a funct
python starts with ()
Check if it starts with the argument string object.startswith(string) ``` object = 'AIUEO' string1 = 'Ah' string2 = 'Iue' >>> print(object.startswith(string1)) True >>> print(object.startswith(stri
go language learning miscellaneous notes 1
I was studying Go language a while ago, and when I have a memorandum, I will write a memo at that time. # package go is composed of units called packages, and imports and exports are performed in u
[Django] Correct the plural form of the model name on the management screen
# Django model name Django generally defines (?) Model names in the singular form. Therefore, the plural "s" is automatically added and displayed on the management site. However, the category mode
Create a batch of images and inflate with ImageDataGenerator
# Introduction For image segmentation using deep learning --Creating a small image batch from a large image --Data augmentation by ImageDataGenerator to hold. The environment uses python3.7 and
python url setting include function
# What does include actually do in the URL settings? You can use include () to retrieve your PATH setting, but what are you actually doing? (reference) <a href = "https://docs.djangoproject.com/ja
Implementation of a complete nutrition McDonald's diet by linear programming-What will happen to the nutritional balance if we live on McDonald's alone? ~
# Background and overview I love McDonald's. But junk food, bad for your health, I see more stories like that than before. So if you really keep eating McDonald's, Is it bad for your health?