Control CPU usage of processes (groups) (using cgroups)

The full code is below. [Bash program that controls the CPU usage of processes (groups) by cgroup --sun610.web.fc2.com](https://sun610.web.fc2.com/program/c0004.html) The point is --Can support

Introduced Mac (M1) TensorFlow (recommended for those who have installed python by themselves)

This article itself I wrote it about a month ago From there, I stumbled on Keras and Pillow after this and avoided it. I will post the URL of the article # Overview Started introducing Tensorfl

Tweet in Chama Slack Bot ~ How to make a Slack Bot using AWS Lambda ~

# Introduction ## I want this person to read The story is related to hololive, but what I'm doing is as follows, so it may be useful (I hope it helps). ・ Create a Slack Bot using AWS Lambda -Acqui

Summarize the findings of reading Go's HTTP implementation ~ Implement FIFO in 5 ways ~

# Introduction I will continue to write in connection with Go's HTTP implementation. Today is about FIFO implementation. Click here for details (https://qiita.com/behiron/items/78d023be96058224e583#

Reuse the behavior of the @property method by using a descriptor [16/100]

# Introduction The other day I learned about 100 Days Of Code, which was popular on Twitter for a while. The purpose of this article is to keep a record and output how much I, as a beginner, can gro

[Python] font family and font with matplotlib

# answer plt.rcParams['font.family'] = 'Times New Roman' plt.rcParams['font.size'] = 14 Now you can change the font family to times new roman and the font size to 14px. By doing this, you can u

Get tweets containing keywords using Python Tweepy

I want to get tweets that include the #Weekend Hackathon keyword when creating a weekend hackathon website. Get it using Python's tweepy module. ## Get Consumer API keys and Access token & access t

Build a blockchain with Python ① Create a class

This time, I took a course on building a blockchain with Python at Udemy, so I would like to share the contents. In this course, you can understand the concept of blockchain by actually moving your

Try to make BOT by linking spreadsheet and Slack with python 2/2 (python + gspread + slackbot)

## Introduction In [Previous article](https://qiita.com/KScookie/items/580d000d1eda58bfa8b4), I implemented it to the point that if you send a word pre-registered in a spreadsheet on Slack to BOT, th

LaTeX, Python tips in master's thesis

Make a note of the small story that the author (Physical Physics M2) used to write the master's thesis as a template. LaTeX The environment is pLaTeX, `\ documentclass [a4paper, 10pt] {jsarticle}`

[PHP] Obtain the source IP address when POST is sent from an IoT device [ESP32]

# Introduction This is for those who are trying to identify IoT devices using IP addresses and those who want to obtain the IP address of the device on the server side. # environment --IoT device (

Try touching the micro: bit with VS Code + Python

This is a memo of writing a micro: bit program in VS Code and Python. The feature of micro: bit is that it can be created in a visual programming environment, and it is doubtful if anyone wants to w

Mathematics is a graph of common tests.

# Execution environment - Mac OS Catanalina --Version 10.15.6 --Language: Python - Spyder # Trigger I wanted to touch familiar things using graphs and Python. # Actually try ## Mathematics II / M

How to remove end-of-line code (CR) [^ M]

Carriage Returns \r ^M How to remove ## Only one file ``` sed -i 's/\r$//g' <filename> ``` ## All files under the current directory ``` sed -i 's/\r$//g' $(find . -type f) ``` ## reference https:

Try implementing extension method in python

# What is an extension method? -From [Extension Method (C # Programming Guide)](https://docs.microsoft.com/ja-jp/dotnet/csharp/programming-guide/classes-and-structs/extension-methods) > Extension

A simple Python HTTP server that supports Range Requests

You can start a simple HTTP server included with Python with the following command. ```console $ python -m http.server 8080 ``` However, this HTTP server does not support Range Requests. It was in

The story of Linux that I want to teach myself half a year ago

# Overview Recently I started studying for LPIC Level 1. This time, I wrote on the theme that I wish I knew this half a year ago (4 months after joining the company). ## Is Linux an OS? Linux is o

Statistical hypothesis test of A/B test and required number of data

# Overview Describe how to statistically hypothesize the effects of A/B testing for your own review. It also shows a method for calculating the number of data required for A/B testing. To facilitat

Python + chatwork + google extension = How to make an easy and funny chat BOT

# Premise The following can be prepared + ChatWork related <br> + Chatwork Webhook + Chatwork channel + Python related <br> + Install http.server, socketserver, json, requests, ChatBot + ngro

Find out how to buy high-ranked Timo items with a good win rate-Part 1 API to use

League of Legends games have many characters and items, which makes it difficult for beginners to get involved. You can find out which characters have a good winning percentage and how to buy items

[HTB: Mirai] Write-Up + memorandum

# Introduction This is the first post. I will summarize what I learned as a hobby for learning. This time is WriteUp of Retired Machine [Mirai] of HackTheBox. ## Self-introduction It's Kashiwaba.

Is Cutmix valid for table data as well?

## at first Supervised learning usually requires a sufficient amount of labeled data to achieve high accuracy. However, manual annotation requires a great deal of time and effort. One way to solve t

Linux command [File operation]

# Introduction It will be a memo for learning. *[]···Any <> ・ ・ ・ Absolutely # Text and binary files ## text file A text file is a `file in which a character string is written`. * In the text

Performance comparison of Parquet, Vaex, Dask, etc. in HDF5 with multiple files

The other day, I did [A simple performance comparison of Pandas, Dask, and Vaex in CSV, Parquet, and HDF5 in a single file](https://qiita.com/simonritchie/items/a1a18a36de3c658cf816). However, sinc

[Python] Pre-processing tricks

# Sample data creation ### Create a DataFrame from iris data ```py import pandas as pd from sklearn.datasets import load_iris iris = load_iris() df = pd.DataFrame(iris.data, columns=iris.feature_

I want to write a triple loop and conditional branch in one line in python

# Introduction A memorandum of knowledge that I encountered while implementing [Takashi-kun problem](https://qiita.com/canonno/items/29eb369d32c030fea367). I learned that it is necessary to write mu

Until Windows Subsystem for Linux (WSL) is installed in Windows and fish is installed

# environment Windows 10 version 1909 # Insert WSL Right click on the start button Press "Apps and Features (F)" Press Programs and Features ![image.png](https://qiita-image-store.s3.ap-northeas

[Memo] I implemented a multi-product transportation problem (new mathematical optimization)

* Articles sent by data scientists from the manufacturing industry * This time, I bought a book of [New Mathematical Optimization](https://www.amazon.co.jp/%E3%81%82%E3%81%9F%E3%82%89%E3%81%97%E3%81

A story about creating a web application that automatically generates Minecraft sound block performances

# What is {Title}? https://mc-note-functioner.herokuapp.com/ "Data pack that allows you to play music in Micra with a single command" It is a web application to make. # What sets it apart from note

I tried to summarize Cpaw Level 3 Write Up in an easy-to-understand manner

Hello. I haven't been able to do CTF since I got a job, so I solved all the remaining Cpaw CTF problems that I couldn't do recently. This time I will summarize a simple WriteUp for those problems.