[Linux] Installation of nvm

How to install Node.js version manager nvm for Linux GitHub Please refer to the official method below to proceed. [Installing and Updating](https://github.com/nvm-sh/nvm#installing-and-updating)

Test of uniqueness in paired comparison method

# Test of uniqueness in paired comparison method I would like to use Python3 etc. to test the uniqueness of the paired comparison method, but even if I start such statistics, I can't even read the i

Get Twitter Trends

```python import urllib from requests_oauthlib import OAuth1 import requests import sys def main(): #API private key CK = 'your key' #Consumer key CKS = 'your key' #Consumer secret

ML environment construction with Miniconda

# Preface As a memorandum, the procedure for building a machine learning environment with Miniconda is summarized. * When I upgraded to the latest OS "macOS Big Sur", it was so heavy that I left it

pyenv + virtualenv + Anaconda

I was able to install and use it from the article of my predecessor, but after a few months I didn't know how to restore the environment, so it's a memorandum. > [Summary of how to create a Python

Using Python with SPSS Modeler extension nodes ① Setup and visualization

# 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] Introduction to CNN with Pytorch MNIST

# Introduction I was looking for various sites to implement MNIST learning using CNN with `Pytorch`, but I could not find a site that explained` CNN` + `MNIST`, so it was a good idea for the first pe

It became possible to take screenshots by starting the smartphone (Android terminal) application with Python using Appium on Windows 10 and automating the screen transition operation.

## Introduction The starting point for me to do this is that our development members work from 5 am on weekdays and the rate of work on Saturdays and Sundays is increasing, which has become a proble

How to convert SVG to PDF and PNG [Python]

# Introduction I wanted to convert SVG to PNG, so I tried [`CairoSVG`](https://cairosvg.org/), but I found that [`svglib`](https://pypi.org/project/svglib/) is easier to convert, so I will introduce

Get and visualize google search trends

```python from pytrends.request import TrendReq import plotly.graph_objects as go import pandas as pd pytrend = TrendReq(hl='ja-jp',tz=540) kw_list = ['Nike','Adidas','ASICS','Hummel'] pytrend.bu

Script to organize LDOS and PDOS from VASP output file DOSCAR

# Intro Good work. This is Hashimoto. VASP can output LDOS and PDOS. LDOS (Local Density Of States) is the density of states of electrons belonging to a certain atom, and PDOS is the density of st

Let's make dice with tkinter

# At the beginning Suddenly I decided to make my own original application with python, so I tried using tkinter. However, I had a hard time understanding what to do when the button was pressed, so I

Introduction of Go's RDB access library (go-pg/pg)

# Introduction What are you using Go's RDB access library? I will introduce the [go-pg/pg](https://pg.uptrace.dev/) I found this time because it was messed up by myself. This is the first Japanese

Effective Python Learning Memorandum Day 1 [1/100]

## Introduction The other day I learned about 100 Days Of Code, which was popular on Twitter for a while. In this article, as a beginner, I'm writing to keep a record of how much I can grow through 1

Rabbit Challenge 4Day

# Section1 Reinforcement learning ## What is reinforcement learning? A field of machine learning that aims to create agents who can choose actions in the environment so that rewards can be maximized

Python Competitive Programming Site Summary

AtCoder It is one of the largest competitive programming sites in Japan. You can participate in real-time online contests and challenge more than 3000 past questions at any time. It's a good idea

Vim Command Memorandum ~ Beginners will be able to do what they want! ~

* If you know the contents of this article, you will be able to ** basic operations and Vim-like things **. * For example ... [Fast cursor movement](#1-カーソル移動), [Intuitive deletion of the range you

[Python, ObsPy] I wrote a beach ball with Matplotlib + ObsPy

[GMT](https://www.generic-mapping-tools.org/) seems to be a common tool for drawing the epicenter ball (beachball) that represents the focal mechanism of an earthquake, but [Python](https://www.pytho

Wagtail Recommendation (4) Let's pass the context to the template

# Introduction Even in Wagtail, context information is passed to the template when rendering the page. With the simple usage we've seen so far, you didn't have to be aware of it, but it might be use

Create playlists of bright songs only with Spotify Web API

# Overview Do you guys use Spotify? Spotify song data contains information about what the song has. In this article, I will try to create a playlist of only the songs that are judged to be "Major"

OpenLDAP construction memo

[0 installation](# 0-install) [1 Check settings](# 1-Check settings) [2 Add basic schema](#2-基本的なスキーマの追加) [2.1 How to add](# 21-How to add) [2.2 Confirmation method](# 22-Confirmation method) [

AtCoder Beginner Contest 187 Participation Report

# AtCoder Beginner Contest 187 Participation Report [ABC187A - Large Digits](https://atcoder.jp/contests/abc187/tasks/abc187_a) Break through in 2 minutes. Just write. ```python def S(n): ret

Notes on using code formatter in Python

Writing Python properly tends to break the coding style (especially the width grows), so I decided to introduce a code formatter and code checker. I think there are a lot of articles like this, but

Upgrade from Ubuntu 20.04 LTS (Focal Fossa) to Ubuntu 20.10 (Groovy Gorilla)

## Overview --Upgrade from Ubuntu 20.04 LTS (Focal Fossa) to Ubuntu 20.10 (Groovy Gorilla) --Perform the upgrade while connected by ssh from the outside ## Check the version before upgrade Confi

[Implementation example] Read the file line by line with Cython (Python) from the last line

When I looked it up, there weren't many unexpected cases. If the file size is small enough for the memory, you can read all + reverse with read, but since you want to prepare for a huge file, repeat

Try to download Youtube videos using Pytube

The method of downloading songs (or videos) from NCS (NoCopyrightSounds) and AudioLibrary was troublesome (unless it was Python), so I will write it as a memorandum. Not for people who can find it

[Python] Create an infrastructure diagram in 3 minutes using diagrams

# Introduction ![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/656158/e9ff7817-a2ef-326f-0134-ba9ad2fd53e7.png) > <small> Quoted from the official diagrams </small> The ab

Summary of mathematical scope and learning resources required for machine learning and data science

In creating it, "[Book for understanding mathematics for artificial intelligence programming](https://amzn.to/38damqt)", "[Chainer Tutorial](https://tutorials.chainer.org/ja/tutorial.html)", "[[Kikag

How to authenticate with Django Part 2

Part 1 [Try making user authentication with Djnago. Part 1](https://qiita.com/shibafu/items/1715d1e96db37ef19264) # Create an authentication backend First, (I wrote it several times) A review

Wagtail Recommendations (3) Understand and use the tree structure of pages

# Introduction On the Wagtail management site, a new page instance is created by ADD CHILD PAGE on an existing page. For example, remember that last time we created one instance of the `TopPage` cla