Load and execute command from yml in python

I wrote a program to read the command from the yml file, so I will post it. yml file ``` cmd1: command: ls -l type: ls cmd2: command: ls -a type: ls ``` python cod

I investigated Fluentd's http output

In this post, I will tell you about the results of my research on Fluend's http output plugin. ## What is Fluentd's http output plugin? Fluentd allows you to set an output plugin to send logs to v

Scraping weather forecast with python

# Weather forecast scraping ## Introduction I needed a weather forecast for my own IoT system. I used BeautifulSoup to get the time and probability of precipitation in Kusatsu from tenki.jp. ##

Let's make jupyter lab easy to use

# Make jupyter lab easier to use I will describe what I am doing now. In some cases, it may be added. ## Set the number of indent spaces to 4 Settings > Text Editor Indentation > ☑️Spaces: 4 ## Alw

Create CRUD apps with Go with Mysql, GORM, Echo, Clean Architecture

# Introduction In this article, it is `Clean Architecture`. Use `Mysql` for DB, ʻEcho` for framework, and` GORM` for ORMapper. We will create an API with `CR (U) D function`. ### What to make

Start the webcam to take a still image and save it locally

# Thing you want to do --Launch the webcam attached to your PC --Taking a still image --Save locally # environment - MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports) - python 3.7.0 - opencv 3.

Fisheye lens correction

# Fisheye lens correction ## Introduction Since the drone used in the research is a fisheye lens, it became necessary to correct the acquired image. From reference [1], the general correction see

I made a program to look up words on the window (previous development)

(Amateur writes like that.) Hi, I ’m Nagamasa Yamada. I tried the last one on Window It ’s a program with a great feeling of force. Please ** look with warm eyes ** I will write with the ** pre

State space model using Pystan -Deleste event attack format 2001 rank border-

## Overview * I learned how to analyze a state-space model using Stan in a book, so I practiced it with actual data. * This time I tried to move it with the following model for the time being * Lo

[Anaconda3] Summary of frequently used commands

# Introduction This is a summary of frequently used Anaconda3 commands. # Switching virtual environment ``` $ conda activate <name> #activation $ conda deactivate #Invalidation ``` # View a li

Getting Started with Python Genetic Algorithms

――I will write about the genetic algorithm as a study of the basic and simple parts. ――In order to deepen your understanding, we will actually write the code of the genetic algorithm in Python and m

[AtCoder explanation] Control the A, B, C, D problems of ABC181 with Python!

** A, B, C, D problems ** of ** AtCoder Beginner Contest 181 ** will be explained as carefully as possible with ** Python3 **. I am aiming to explain a solution that satisfies the following three p

Change node settings in supernodes with SPSS Modeler Python scripts

## Supernodes and python scripts I often use supernodes to organize (make it easier to see) long streams in SPSS Modeler, but I don't know how to handle nodes in supernodes when changing node setting

Python programming: I tried to get company information (crawling) from Yahoo Finance in the US using BeautifulSoup4

# Introduction This is a continuation of the previous article ([Python programming: I tried to get (crawling) news articles using Selenium and BeautifulSoup4](https://qiita.com/Blaster36/items/62694

Write tests in GO language + gin

## Introduction Please see [sourcegraph.com/github](https://sourcegraph.com/github.com/gin-gonic/gin@8f3047814e86442c8efbd91ef7007905d47cf6c9/-/blob/context_test.go#L517) for the time being. This art

Program to determine leap year from the Christian era [Python]

In this article A program to determine if it is a leap year from the Christian era I will write. ## What is a leap year? A leap year (leap year, intercalary year) is a leap year. On the other han

When you forget your admin screen username / password in Django

When I opened Django for the first time in a while, I forgot my superuser username and password, so This is a memorandum of how to check by hitting the command. Launch a python command. ####

I tried to interpolate Mask R-CNN with Optical Flow

# Overview Mask R-CNN is a model for object detection and instance segmentation. Since segmentation can be done on a pixel-by-pixel basis, it is possible to mask only a specific person. However, re

I want to say that there is data preprocessing ~

Hello, this is sunfish. Do you have a favorite YouTuber, everyone? Are you worried about the increase in the number of registrants? If so, let's take a look at the data. ## data 52 channels in t

[Go] Deliver private content with CloudFront signed URL

Issue a signed URL in Golang. ```golang import sign "github.com/aws/aws-sdk-go/service/cloudfront/sign" func main() { type CFConfig struct { KeyID string Domain string KeyPath string } //

Linux (command memory)

## What to do this time I am in charge of designing and building the entire infrastructure at the site, but since I came to touch Linux It's been a long time and I've almost forgotten the command, s

(python) Deep Learning Library Chainer Basics Basics

Hello! It's cool! !! This article is for beginners to deep learning. This time, I will explain the basic part of Chainer, a deep learning library for python. I will write about how to build a fu

Text extraction (Read API) with Azure Computer Vision API (Python3.6)

# Introduction I tried to extract text from the image # Development environment - Windows 10 - Anaconda - Python 3.6 - OpenCV 4.4.0 - Azure Computer Vision API --Computer Vision Client Library (if

AtCoder Beginner Contest 181 Participation Report

# AtCoder Beginner Contest 181 Participation Report [ABC181A - Heavy Rotation](https://atcoder.jp/contests/abc181/tasks/abc181_a) Break through in 1 minute. Just write. ```python N = int(input())

[aws] Send and receive sqs messages

## Overview Since I had the opportunity to use SQS in my business, I will summarize the operation check method that I did at that time. ## What is SQS SQS (Amazon Simple Queue Service) is a messa

Laplacian Filter experiment

<h1> Overview </ h1> I wanted to detect edges (actually, it's just a color difference rather than an edge), and I was wondering which Laplacian Filter in 4 or 8 directions was better, so I experimen

Data set for machine learning

What This is an article that visualizes a dataset for implementing the Perceptron model, which is a rudimentary model of machine learning. Content ### Dataset visualization with Numpy Pandas Matpl

Install pyenv on mac

# Install pyenv (Mac) pyenv is a tool that uses multiple versions of python properly. I think it will be convenient later to install python using pyenv. pyenv is a tool that uses multiple versions

Speaking Japanese with OpenJtalk (reading a text file)

I modified this program to read a text file aloud. [Japanese utterances on OpenJtalk](https://qiita.com/ekzemplaro/items/8b6169de6ea8510edecd) program #### **`kusamakura01.py`** ```py #! /usr/b

What's new in python3.9 Merge dictionaries

# What's new in python3.9 Merge dictionaries ## Overview Python 3.9 was released on October 05, 2020. One of the new features this time is the dict merge operator. This merge operator makes it easier