[Linux] Create a self-signed certificate with Docker and apache
## Introduction Note how to create a self-signed certificate with Docker Apache ### Environmental information * OS:Redhat 7.7 * Docker:19.03.6-ce * docker-compose:1.27.4 * apache:2.4.46 ## Docker e
I tried to make a mechanism of exclusive control with Go
# Overview This is my first and second post as an engineer. I had the opportunity to write an exclusive control mechanism in Go, so I will record it. This time, we will create an exclusive control
Install Minecraft on Arch Linux
I referred to this page. [Minecraft](https://wiki.archlinux.jp/index.php/Minecraft#Java_Edition_.E3.82.B5.E3.83.BC.E3.83.90.E3.83.BC) 1) Client installation ```bash yay minecraft-launcher ``` St
Unsupervised learning of mnist with autoencoder and clustering and evaluating latent variables
# Unsupervised learning of mnist with autoencoder and clustering and evaluating the final stage ```python #Import required libraries from keras.datasets import mnist import numpy as np import pandas
Frequently used ps command options
# Frequently used ps command options |option|Explanation| | ---- | ---- | | a |View processes for users other than yourself| | u |Show username and start time| | x |Show daemon process|
[UE4] Build DedicatedServer on Windows and Linux
I want to build a DedicatedServer on Linux! So, make a note of what I tried variously # This article + Check with UE4.25 + Use AWS EC2 + Requires C ++ build environment # Check the operation in
I analyzed the voting results of the Osaka Metropolis Plan for each ward
# Introduction I currently live in Osaka, and I watched the city plan vote the day before yesterday while biting on TV. Looking at the progress, I thought that the difference in the results for eac
Let's make an A to B conversion web application with Flask! From scratch ...
# At first An article that struggled to understand Flask. I would be very happy if you could comment if you have any advice such as that it is wrong here and that it should be interpreted like this
A simple sample of pivot_table.
# test data ``` data=[ {"date":"1/2" , "Full name":"Yamada" ,"dessert" : "Apple" ,"Side dishes" :"Gyoza" }, {"date":"1/3" , "Full name":"Yamada" ,"dessert" : "Apple" ,"Side dishes" :"Gyoza" },
[Pytorch] torch.zeros vs torch.zeros_like
I'm curious about the difference between torch.zeros and torch.zeros_like, so I'll write it. # How to use torch.zeros Returns a tensor with a value of 0. ``` >>> torch.zeros(3, 2) tensor([[0., 0.],
Build python environment with pyenv on EC2 (ubuntu)
# table of contents 1. Environmental check 2. Check the procedure ## 1. Environmental check - os:ubuntu(18.04.5) --ec2 instance type: t2.micro ## 2. Check the procedure ### 2.1 Dependency instal
[Statistical test 2nd grade] Discrete probability distribution
## Introduction Various probability distributions appear in the second grade of the statistical test. This time, I briefly summarized the discrete probability distributions. Also, in Python, actually
Read a file containing garbled lines in Python
In the log file of the Web application that has not been tested in detail, some lines may be garbled (such as the error message output by the application). If you try to read the log file with Pyth
AOJ Introduction to Programming Topic # 7, Topic # 8
# Topic # 7 [ITP1_7_A](https://onlinejudge.u-aizu.ac.jp/courses/lesson/2/ITP1/7/ITP1_7_A) ### Grades #### **`Python`** ```python def PointCheck(m, f, r): if m==-1 and f==-1 and r==-1: r
Import libraries that cannot be pip installed with PyCharm
# Execution environment - Ubuntu 18.04 - Python 2.7 - PyCharm Community 2020.2 # Background I introduced weiliu89's [ssd-caffe]("https://github.com/weiliu89/caffe/tree/ssd") on Ubuntu, but I couldn'
Unsupervised learning of mnist with variational auto encoder, clustering and evaluating latent variables
# Unsupervised learning of mnist with variational auto encoder, clustering and evaluating the final stage ```python from __future__ import absolute_import from __future__ import division from __futur
Building an Anaconda environment for Python with pyenv
Use Homebrew. 1, install pyenv #### **`Terminal.`** ``` $ brew install pyenv $ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile $exec $SHELL -l ``` 2, Install Python (Anaconda) I will use P
Tips for running Go with docker
docker image ### Reference of patterns using go mod ```dockerfile #build image FROM golang:1.13 AS builder WORKDIR /go/src ##Download dependent libraries(I want to use the cache, so I'll do this f
Text extraction with AWS Textract (Python3.6)
# Introduction I tried text extraction from an image with AWS Textract # Development environment - Windows 10 - Anaconda - Python 3.6 - OpenCV 4.4.0 - awscli v2 # Introduction 1. 1. install awscli
Summary of what was used in 100 Pandas knocks (# 1 ~ # 32)
## Introduction I am studying ** machine learning ** at university. For review, I tried ** Pandas 100 knocks **. The function you used? I would like to summarize. ## Pandas 100 knocks Click here
I was in trouble because the behavior of docker container did not change
# Introduction Even if I changed the code, the behavior of the application in the container did not change, which was a problem. This is a memo about how to deal with it. (It is not the system that t
Machine learning with python (1) Overall classification
I will write down what I learned as a memorandum. # (1) Relationship between AI, machine learning, and deep learning AI is an abbreviation for Artificial Intelligence, which enables processing o
OCR from PDF in Python
# 1. 1. Introduction I wrote the code to OCR from PDF in Python, imitating the wonderful ancestors. And use. What I'm doing is converting the PDF to jpg with poppler and then transcribing it into a
Operate smartlife power supply with python (de-IFTTT)
# IFTTT finally charged It seems that it will be charged from 2020/11/1. I've used it on webhooks so far, but it doesn't work. There is no choice but to develop alternatives. When I looked it up, i
I want to understand systemd roughly
# environment OS: Manjaro 19.1 (certainly) # systemd conceptual systemd is the first daemon process started on a Linux system (PID: 1). Starts other processes and becomes the ancestor process of
Get the image of "Suzu Hirose" by Google image search.
## Introduction This time, I tried scraping the image of "Suzu Hirose" using Google's image search function. I think that you will need some image data when you perform image processing yourself. I
Put logger in the open source pip package and analyze the operation
# Overview --To check the operation of the pip package whose source is open to the public, create a package with logger and install it locally. # Target of this time - django-allauth 0.44.0 # Pr
I tried to let AI judge the right wife of the bride who is divided into five equal parts
# Introduction  It is no exaggeration to say that the quality of roma
Create a REST API using the model learned in Lobe and TensorFlow Serving.
In the article below, I explained how to learn with Lobe and how to export the learned model and use it from Python. [I tried "Lobe," which makes it easy to train machine learning models published
Date notation regular expression
I thought about regular expressions that are conscious of Japanese date and time notation and American date and time notation. There may be a bug, but a memorandum. It's a little unreasonable for th