What to do in my case when pyenv install is not possible after upgrading to macOS Big Sur
## What I tried & the error I encountered 1. An environment where multiple versions can be installed and switched with pyenv on mac was working (python 3.6 3.8 series) 2. Upgraded to macOS Big si
I wrote a script to combine the divided ts files
# I want to combine the divided ts files Even if there are multiple divided ts files, it is difficult to see them as they are, so I want to make one mp4 file. # Tried to make it https://github.com/M
N-gram in python
# n-gram function #### **`ngram.py`** ```py def Ngram( N , lst ): returnLst = [] for i in range( len( lst ) - N + 1 ): returnLst.append( lst[ i : i + N ] ) return returnLst ``` # Execut
Let's summarize the construction of NFS server
# Service that realizes NFS # |Service name|server|client|Explanation| |---|---|---|---| |portmap|○|○|TCP RPC program number/Convert to IP port number| |nfsd|○||File system export and client requ
3D display with plotly
In the central figure of this year's New Year's card, the flow velocity of the ocean prediction model is displayed together with the 3D topography.  and examined it with Python. However, since the csv data for the 2020 season could not b
Web application development in Go language_Hands-on day 1
While hands-on with the contents of this reference book, I have summarized the parts that are lacking in understanding. https://www.oreilly.co.jp/books/9784873117522/ The sample program is provided
I want to restart CentOS 8 on time every day.
# Something went wrong, so I restarted for the time being The daily rsync (file server backup) I've been running on CentOS lately sometimes fails ... (´ ・ ω ・ `) I don't know the cause yet, but I d
How to determine if a shell script was started in bash
# How to determine if a shell script was started in bash I want to detect that it is started using `sh` like` sh ./check.sh` and terminate it with an error. ## script check.sh ``` #!/bin/bash if
[Go language] Use OpenWeatherMap and Twitter API to regularly tweet weather information from Raspberry Pi
# What i did I made an app to tweet the weather and temperature of a specific area in Go language, and made it run automatically with cron from Raspberry Pi 4. We use OpenWeatherMap and Twitter API.
Schedule a Zoom meeting in Python
happy New Year. I found it awkward to book a Zoom meeting, so I wrote a program. It's a lot of work to log in, select a time, and so on. It seems easy to do with a library called [pyzoom](https://
Using Kali Linux Gui with WSL2
wsl2 Get kali at MS Store and Check the current version with PoweShell ``` PoweShell> wsl -l -v ``` Change version from 1 to 2 ``` PoweShell> wsl --set-default-version2 ``` Or individually
I made a QR code image with CuteR
### background I wanted to put a QR code on the New Year's card. It's usually not interesting, and the logo in the middle is a little different. A command written in python called CuteR seems to be
Implement Enigma in python
# at first The sound of Enigma is cool, and I feel romance in cryptography regardless of past, present, or future. I thought that it would be a desire to make it and practice python, so I implemented
Let's execute commands regularly with cron!
# Introduction Recently, I've wanted to run batch files and Python programs on Linux on a regular basis, and I've investigated how to do that, so I'll write an article as a memorandum. I think there
Image diet app "little wings" has been released !!
 # Everyone use it! !! \ (^ O ^) / It's New Year's Eve, but
Implementation of Bulk Update with mongo-go-driver
## Overview Most RDBs have a Bulk Update feature, but MongoDB also has that feature. As you can see in the [Documentation](https://docs.mongodb.com/manual/core/bulk-write-operations/) here, you can e
Install Windows 10 from a Linux server with PXE
When installing Windows 10, It was troublesome to make a USB memory and prepare a CD drive, so I installed it using PXE. # Technology to use First, I will briefly introduce the technical elements
The microphone was not recognized on Linux's Raspberry Pi OS (formerly Raspbian).
Do you guys know PulseAudio? It is a sound server that is often used in desktop environments such as GNOME and KDE. It's quite convenient, and it's very easy to adjust the sound and select the outp
Display "Hello World" created in the local environment on the web
# Start a Docker container ``` $ docker-compose up -d ``` # Create a file for web display I referred to the following site. https://www.sejuku.net/blog/28751 # Enter the Docker container ``` $ w
BBC micro: bit (V1.5) C/C ++ programming-Mbed CLI offline compilation in Python3 virtual environment on Windows 10
The BBC micro:bit development using the Mbed CLI in a Python3 environment on Widows 10 - this target micro:bit v1.5 BBC micro: bit is a learning microcomputer board that uses nRF51822 for the MCU.
Ensemble learning summary! !! (With implementation)
# Introduction Ensemble learning is very important in machine learning. Write an article that makes it easy to understand and review the content. # What is ensemble learning? A method of creatin
Resolve `chromedriver' executable may have wrong permissions.
I encountered it the other day when I tried to operate selenium with lambda. Did you set permission? Apparently, if you use a version that does not support os, you will get this error. ### Solutio
Try using S3 object upload and download with AWS SDK for Go v2
## Overview * It's still RC version, but I tried using S3 object upload and download using AWS SDK for Go v2. https://github.com/aws/aws-sdk-go-v2 * I don't usually touch go, but I wrote it in pr
[Maybe Python] It's just the 100th article, so I'll pull out the article data, make a simple ranking, and comment [Pandas]
Hello everybody Well, it's a good time for New Year's Eve, but recently I haven't watched TV for a long time, and when I was wondering if there was any entertainment, Qiita's article was 99, so I m
Local scope and global scope
Understand the difference between local scope and global scope Here are some things to keep in mind when dealing with each variable. # What are local scope and global scope? The local scope refers
Bitcoin price monitor python script
## Overview As the price of Bitcoin soars, the skin of greed is squeezed, and it tends to reload the price chart of the site. I made a simple script to display Bitcoin at regular intervals on the com
Which crypto assets can be earned efficiently
# Introduction Bitcoin of ** crypto assets (virtual currency) ** continues to update the highest price. On December 16, 2020, Bitcoin topped $ 28,000. Now $ 30,000 is just around the corner. One
Try Return to libc due to buffer overflow
Do Return to libc due to buffer overflow described in [Binary analysis for the first time](https://amzn.to/2MlSkKp) After reading a book and understanding the atmosphere for studying, practice witho
Output to syslog with Loguru
Easy to use #### **`logt.py`** ```py from loguru import logger import logging import logging.handlers import os def main(): handler = logging.handlers.SysLogHandler(address='/dev/log') l