[Linux] How to disable the automatic update of the /etc/resolv.conf file (AmazonLinux2)
## Introduction A note on how to disable automatic updates of the /etc/resolv.conf file ### Environmental information * OS:Amazon Linux 2 ## Disable automatic updates of the /etc/resolv.conf file #
The escape symbol of'(Single quote) may be displayed as it is in Python's interactive mode.
* Python is written by someone who is not familiar with it, so please take a look at it in half the story ... If you enter the following in python interactive mode, I heard that the \ before the'i
About the basic type of Go
## Basic type ### Logical value type The logical value is represented by bool type. As shown below, the value is ** true ** if true and ** false ** if false. You can also define it with type inferenc
Set up a local server with Go-File download-
at first === Make a request from the Android app and download the file on the local server where you set up the Web Server with Go environment === PC Windows10 Android Studio 4.0 Kotlin 1.3.72 An
Create a video player with PySimpleGUI + OpenCV 2 Add ROI setting and save function (DIVX, MJPG, GIF)
# Introduction In addition to the previous article, I will add the region of interest (ROI) that I choose to operate. In addition, we will add a function to save the image with the frame and ROI cut
Realize DB connection pool with golang
# at first I ended up talking about connection pools using GCP. The error "Maximum number of connections has exceeded 100" occurs. It is a solution that I found by investigating why the number of c
FFT & trend removal using Numpy
# Introduction In Python, I would like to introduce how to use Numpy to perform FFT (Fast Fourier Transform) on time series data and how to remove trends in time series data. FFT is a calculation met
Multi-line size specification reading with python
## Read multiple lines with python I tried to read the file in multiple lines with python, so I will leave it as a memorandum. <Result> The size is specified by the number of characters, and if yo
Get a reference model using Django Serializer
# To put it simply, Serializer! Converts the model object to JSON! Well then This time when getting the Book object Get the Author referenced by ForeignKey including the object !!!!!!!!!!!! # de
[Python] One-liner Stalin sort with 50 characters
# Introduction ### What is Stalin Sort? A sort algorithm that realizes the amount of calculation of $ O (n) $ by ** purging (removing) elements that are not in ascending order (descending order)? It
[Python] I made a function that can also use regular expressions that replace character strings all at once.
# Introduction When replacing a character string with multiple patterns, it tends to be redundant code like ↓. ```python #For example # " <-> ' # abc...z -> * # ABC...Z -> AA, BB, CC, ...,ZZ #If you
Environment construction, Build -Go edition-
# About Go The Go language (Golang) is rapidly gaining popularity as a statically typed programming language. ## 1. Installation https://golang.org/dl Use the go command. If it is installed succ
Pass text to Django genericview
It's a small improvement, but the shift information wasn't displayed on the page to create the desired shift. The reason is that when I used genericview, I didn't know how to pass information other
Back up from QNAP to Linux with rsync
## Introduction The other day, I backed up the internal server, so I will briefly explain the meaning as a memorandum. The content is as in the title. The goal is to synchronize the QNAP NAS used
Django Tutorial (Blog App Creation) ⑦ --Front End Complete
Last time, in [Django Tutorial (Blog App Creation) ⑥ --Article Details / Edit / Delete Function](https://qiita.com/tmasuyama/items/32a1ea8fe5c2f1018112), we created the details, edit, and delete scre
[Go language] Create a TUI app with Elm Architecture Create a slightly rich ToDo app with bubble tea
# Foreword In this article, we will create a ToDo app using a framework called [bubbletea](https://github.com/charmbracelet/bubbletea) that allows you to create a TUI app in Elm Architecture like.
Merge Apache access logs
# Merge multiple log files into one Sort and merge log files by date when date is the 4th element ``` $ sort -nmbsk4 log1.log log2.log > marge.log ``` Details of each option are as follows. |opt
Transcribe WAV files with Cloud Speech API
# Purpose ** How to transcribe WAV file voice with Google Cloud Speech-to-Text API **. [Article on how to transcribe FLAC file](https://qiita.com/knyrc/items/ 7aab521edfc9bfb06625) was used as a refe
Anti-real virtual sample generation: "DiCE"
## Introduction Interpretation of ML (Machine Learning) models is an important issue in the field of business. By developing an ML model with high estimation accuracy and evaluating the "corresponde
I tried it with Wolfram Alpha and google, referring to "[Fundamental Information Technology Engineer Examination] I wrote an algorithm for determining leap years in Python."
(Original post) [Fundamental Information Technology Engineer Examination] I wrote an algorithm for determining leap years in Python. https://qiita.com/kuro_take/items/525c5e31268f22c08fcf ## Wolfr
Heppoko develops web service in a week # 2 Domain search
 # Domain search Domain search is a service that pro
[Translation] NumPy Official Tutorial "NumPy: the absolute basics for beginners"
Introduced by the translator This article is a translation of "NumPy: the absolute basics for beginners" in the official NumPy v.1.19 Documentation. This document was released after the development
I tried to build a super-resolution method / ESPCN
# Overview This time, I have created an ESPCN (efficient sub-pixel convolutional neural network), which is one of the super-resolution methods, so I will post it as a summary. Click here for the ori
[Rails 6] Embed Google Map in the app and add a marker to the entered address. [Confirmation of details]
The Google Map API should be easy to implement, but I'm addicted to many swamps, so I'll pay close attention to it. # environment Rails 6.0.0 Ruby 2.6.5 EC2 Amazon Linux2 Nginx mariaDB Capistrano #
[Linux] tar.gz compression / decompression command
## Introduction When I touched the Linux environment for the first time in a while, I forgot the compression / decompression command, so make a note of it. ## Compression command ```bash tar acvf [c
How to make WTForms TextArea correspond to file drop
# Background When I implemented a project in Flask, In the public key registration form (Text Area) that led to "Copy & Paste", There was an end user who dropped a file. I thought that there were
Rubik's Cube Robot Software Updated 7. Key Operations
# What is this article? I am currently developing a robot that solves a 2x2x2 Rubik's cube. This is a collection of commentary articles on the robot program. ![soltvvo3.jpg](https://qiita-image-stor
Start Caddy with docker without putting Caddy in CentOS8
<a href="https://caddyserver.com/" target="_blank"><a href="https://ebios10.up.seesaa.net/image/2020-10-21_170336.png " target="_blank"><img border="0" alt="2020-10-21_170336.png " src="https://ebios1
Understand how to use django-filter
# What is django-filter? You can write your search criteria in short code !!! When I learned this, I thought it was revolutionary. [django-filter official documentation](https://django-filter.read
When a Windows fatal exception: access violation occurs on the tensorboard
Most tensorboards don't work for some reason! The solution in that case seems to be to reinstall tensorflow and tensorboard, but it still didn't work, so it's a memorandum. Excerpt from [Official