How to create an email user
This is a method to create an email-only user who cannot log in with ssh. I confirmed it on ubuntu 20.10. Limit users who can log in to taro and hanako #### **`/etc/ssh/sshd_config`** ```text (
Formatted display of pandas DataFrame
Sample data: Rakuten recipe category ```python from tabulate import tabulate import pandas as pd from pprint import pprint df = pd.read_csv('small_category.csv', encoding='utf-8-sig') br = '\n' pr
Native playback of DSD sound source on Linux desktop
#### Assumed reader Those who are using desktop Linux and are interested in native playback of DSD. ## What is DSD? [PCM](https://ja.wikipedia.org/wiki/%E3%83%91%E3%83%AB%E3%82%B9%E7%AC%A6%E5%8F%
I tried to touch the API of ebay
## Introduction Be enrolled in the eBay Developers Program Please refer to the guide in [here](https://www.ebay.co.jp/developer/guide). ## Try using the Finding API [Finding API](https://www.ebay.
How to use the Linux grep command
### What is the __grep command __ A command to extract lines with a specific character string (pattern) in a file One of the most commonly used Linux commands ### __Basic format __ ``` grep [Optio
[GCP] Try a sample to authenticate users with Firebase
I whipped the old body and tried a sample that uses Firebase for user authentication. I've followed the Google Application Engine sample, so it's a memo. https://cloud.google.com/appengine/docs/stand
Build an LNPP environment on Amazon Linux 2
It is a procedure to build an LNPP environment other than a LAMP environment on Amazon Linux2. ## Comparison with LAMP The following is a comparison of the LNPP environment constructed this time wi
[Python / Pandas] A bug occurs when trying to replace a DataFrame with `None` with` replace`
# What happened I had a bug (looked like) when I tried to replace `np.nan` with` None` using the `replace` method in` DataFrame` of `pandas` Environment Conducted at Google Colaboratory # Sourc
Note that Python dict returns default value if there is no key
Parameters etc. are handled by dict. I want to return the default value if there is no parameter definition (key). ```py val = None # Set default if 'filename' in config: val = config['filena
Python Math Series ⓪ Table of Contents
## About this series I am proceeding with the understanding while implementing it in python to deepen my understanding of linear algebra. If you feel like it, you may do other areas as well. ## line
Using Lambda with AWS Amplify with Go
I have a chance to use Amplify often, but I thought that I have hardly used Lambda via Amplify, so I decided to use it. And I can use Go with Lambda, but I feel like I haven't used it properly, so I
I tried using the trained model VGG16 of the deep learning library Keras
I tried to make my own model for studying deep learning, but unfortunately it didn't work. I managed to do it just by using the trained model, so I will make a note of the knowledge I learned at that
Map Creator, a service that converts latitude and history into URLs
What kind of web service is <a href="https://figreen.org/mc/" target="_blank"> Map Creator </a>? It is a service that turns any point on Google Maps into a web page. By converting the location to a
Couldn't open/etc/securetty
My Ubuntu is 20.04.1. When I access it with ssh, there is a strange log in `/var/log/auth.log`. ``` Dec 31 18:37:55 groove sudo: pam_unix(sudo:auth): Couldn't open /etc/securetty:There is no such f
I tried to make a serial communication single function module that controls the servo motor on the Petit Robo board in C language
### Introduction The WR-XX control board can control a total of 20 servo motors at the same time, but it transmits control data via serial communication. The communication mechanism itself is simple
Get stock articles of infrastructure engineer yuta with Qiita API
This is a program created at the time of the Mokumokukai held at the online salon sponsored by infrastructure engineer yuta. I made it when I was studying to get information using API in Go. <h2>
BeautifulSoup use case: read anchored links of interest from a url
Introduction I have a url of an html page that contains links to various courses. I am interested in extracting href links of courses only. Problem solution outline 1. The url is https://www.jdla.
Manim's method 4
# Overview I checked manim's method. I tried using VectorField. # Sample code ``` from manimlib.imports import * def pendulum_vector_field_func(point, mu = 0.1, g = 9.8, L = 3): theta, omega =
Slice error in python (´ ; ω ; `)
# An error has occurred! !! !! In python, I wrote a method to repel an invalid email address. ``` def isValidEmail(email): if email[0] == '@': return False elif ' ' in email:
Traveling salesman problem practice collection ③ ~ Non-random map edition ~
[Traveling Salesman Problem Practice Collection ① ~ Full Search ~](https://qiita.com/spwimdar/items/8e6136c62d0581a0cb30) [Traveling Salesman Problem Practice Collection (2) ~ Nearest Neighbor Searc
Using Python with SPSS Modeler extension node (2) Model creation using Spark MLlib
# 0. Introduction SPSS Modeler provides various functions that are generally used in analysis, but I think there are cases where you want to use R and Python functions as well. You can run R and Pyt
[Python] What to do if you get a ModuleNotFoundError when importing pandas using Jupyter Notebook in Anaconda
Environmental memo ⭐️Mac Book Pro(macOS Catalina) ⭐️Anaconda 4.9.2 ⭐️Python 3.8.5 ⭐️Jupyter Note book 6.1.6 ⭐️Pandas 1.1.5 Use Jupyter Notebook with Anaconda. When you run Pandas <b><font color="
Examination of grammar proofreading and sentence comparison model for insight considering the similarity of style and style
# Trigger ・ I wanted a "grammar proofing tool that considers a specific style and style" instead of a general-purpose grammar proofing tool. (Proofreading tools for regulatory application documents,
Github Interesting Repository ⓪ Table of Contents
## About this series I made a [regular notification function](https://qiita.com/Hiroaki-K4/items/61b357fa69c90fd9bbfd) for information from the trend repository on github, and this is a series that i
How to scrape websites created with SPA
I used to use the requests module as a method of scraping with Python, but this can be used for sites that return HTML generated on the server side, but since I can only get the response before execu
Django search
# Search in Django #### **`find.py`** ```py variable=Model name.objects.filter(Filter contents) ``` ## Filter contents ### Character search #### **`samle.py`** ```py variable=Model name.objects
Aim to improve prediction accuracy with Kaggle / MNIST (1. Create CNN according to the tutorial)
# wrap up --Create a CNN as per the TensorFlow CNN Tutorial (https://www.tensorflow.org/tutorials/images/cnn?hl=ja) --The prediction accuracy is 0.98792, which easily exceeds 0.98375 as a result of
Clash of Clans and image analysis (3)
# Thing you want to do This is a continuation of the previous image analysis. Last time: [Clash of Clans and image analysis (2)] (https://qiita.com/__Bert__/items/fc0fd330a0c80ef0a9ae) Until the l
[AtCoder explanation] Control the A, B, C problems of ABC187 with Python!
** A, B, C problems ** of ** AtCoder Beginner Contest 187 ** will be explained as carefully as possible with ** Python3 **. I am aiming to explain a solution that satisfies the following three poin
Create a Mac app using py2app and Python3! !!
# At the beginning This time there is a python program created in [previous article](https://qiita.com/lot-uni/items/8a9c439eed0a69c6eed8), but due to wind rumors, it is easy to make a Python applica