[Linux Mint 20] Remote desktop connection / connection
I set up two PCs, Windows 10 Pro and Linux Mint, to connect to each other by remote desktop. ## Mint "from" remote desktop First, when connecting to a remote desktop from Mint to Windows. ### Ins
Main configuration files introduced in the LPIC202 exam (personal memo)
|service|setting file|Explanation| |:-----------|-----------------------------------|---------------------------------------------| | BIND |/etc/named.conf |Main configura
AtCoder writer I wrote a script to aggregate the contests for each writer
# Overview For AtCoder issues, we created a scraping script for the AtCoder announcement site to aggregate which writers created which contest issues. # background The problem of AtCoder is differen
Updated "Introduction to Python Web Application Homebrew for Slow 3rd Year Web Engineers"
# Updated the book [Chapter "Parallel Requests"](https://zenn.dev/bigen1925/books/introduction-to-web-application-with-python/viewer/threading) has been updated. If you want to read more, please
Here's a brief summary of how to get started with Django
### Here's a brief summary of how to get started with Django I've made dozens of products with Django so far, The procedure for actually starting development is almost the same, so I've summarized i
A story that went missing when I specified a path starting with a tilde (~) in python open
```python path = '~/.config/remind_task/tasks.yml' dir_name = os.path.dirname(path) os.makedirs(dir_name, exist_ok=True) #Dig if the upper directory does not exist with open(path, mode="w") as f:
Machine learning
# ** What is machine learning? ** > Computer programs are said to measure task T with performance index P and, if its performance is improved by experience E, learn from experience E with respect to
Go naming rules that other language programmers should at least care about
# Overview As the title suggests, we have summarized the naming rules that beginners from other languages should at least care about. # Target audience It is intended for those who understand the
When I try to import pandas on macOS I get the error No module named'_bz2'
# environment --macOS Big Sur version 11.0.1 --Install python with pyenv # problem When I casually tried to import pandas with python, ```python import pandas as pd ``` I got the following erro
[Python] Import the module one level higher
mydir └ parent.py └ child.py How to import parent.py from child.py in a folder structure such as #### **`child.py`** ```py import sys import pathlib #Get the absolute path of the next highe
What to do if you get a Call with too many input arguments error at DoAndReturn in a golang test
``` m.EXPECT().SomeMethod(name string, number int).DoAndReturn(func() error { //Various processing return nil }) ``` This gives a `panic: reflect: Call with too many input arguments` error So
Adjusting LightGBM parameters with Optuna
* I confirmed that it works with Colab. # reference https://tech.preferred.jp/ja/blog/hyperparameter-tuning-with-optuna-integration-lightgbm-tuner/ # Install Optuna ``` pip install optuna ``` # Pa
[Python] I personally summarized the basic grammar.
I will summarize Python to deepen my understanding. I will update it from time to time. References ☆ Daigo Kunimoto / Akiyoshi Sudo "Introduction to Python for a refreshing understanding" ## flo
Make a CSV formatting tool with Python Pandas PyInstaller
## review ### Installation of Python and Pandas [Days 1 and 2 of creating operation log formatting tool](https://qiita.com/e99h2121/items/f998b0cab3dbe0e3ec40) ### CSV sort [Day 3 of creating opera
November 2020 data analysis test passing experience
# Introduction Since I started data analysis when I changed jobs in October 2020, I wanted to learn systematically, so I worked on the ** Python3 Engineer Certification Data Analysis Exam **. It wa
[Work efficiency] How to change file names in Python
## Introduction Do you want to rename a large number of text files and image files at once? This time, I will explain such "how to change the file name at once". ## table of contents 1. [Preparatio
How to read the CBC (Pulp, python-mip) solver log
I tried to summarize how to read the log of the CBC (COIN-OR Brand-and-Cut) solver that can be operated freely from Pulp [^ 1] and python-mip [^ 2]. (I have compiled it as a personal memo, so please
[Under investigation] Logistic regression @ scikit-learn's Penalty and Solver's deep relationship
When using the `LogisticRegression` module of scikit-learn, I do not understand the correspondence between Penalty and Solver [Official document](https://scikit-learn.org/stable/modules/generated/skl
Voice analysis with python
FFT The program shown below is the program created by the experiment #### **`FFT.py`** ```python F = np.fft.fft(Y) Amp = np.abs(F/(frames/2)) freq = np.fft.fftfreq(frames, 1/Fs) plt.plot(freq[1:in
A set of script files that do wordcloud in Python3
# Resource allocation composition #### **`Terminal`** ```bash $ tree ├── const.py └── word_cloud.py 1 directory, 2 files ``` ## (Constant definition script) #### For the word list of * stop_word
[Django] How to redirect unlogged-in users to the login page
## environment Python(3.6.2) Django(2.1.7) ## Implementation method First, import the following modules into view.py of each app #### **`view.py`** ```python from django.contrib.auth.mixins impor
About http.Handle () and http.NewServeMux (). Handle ()
Suppose you have the following code: Isn't it the same thing that both are doing? As a result of my investigation. ``` http.Handle("/any/", anyHandler) http.ListenAndServe(":8080", nil) mux := htt
Edit files directly on Linux with Visual Studio Code Remote SSH
# Edit files directly on Linux with Visual Studio Code Remote SSH Here, we will edit the file on Linux with Visual Studio Code that runs on Windows. Here we use ubuntu 20.04.1. I think there are
"Trash classification by image!" App creation diary day6 ~ Correction of directory structure ~
# Introduction "Classify garbage by image!" Today on the 6th day of the application creation diary, we will correct the directory structure. It's light because I was busy today. <br> Article list <
[python] Script that (should) update pwsh
# Motivation Updating [PowerShell](http://aka.ms/powershell) on Windows is a manual process, but it has become dull. Semi-automated. # Constitution If you run pshupdate.py, which is the main body o
A note that connects to Lambda via AWS API Gateway (HTTP API) to process POST data
Don't forget to hurry. * POST parameters are in `event ['body']`. * Base64 encoded if `isBase64Encoded` is enabled in the API Gateway settings If you pass the JSON encoded version when throwing
"Classify garbage by image!" App creation diary day5 ~ Prepare front end with Bootstrap 2 ~
# Introduction "Classify garbage by image!" Today on the 5th day of the application creation diary, I would like to use Bootstrap to prepare the front end. <br> Article list <br> -["Trash classif
This is a sample of function application in dataframe.
# test data ``` import pandas as pd df=pd.DataFrame({"A":[1,2,3],"B":[10,20,30]}) print(df.to_markdown()) ``` | | A | B | |---:|----:|----:| | 0 | 1 | 10 | | 1 | 2 | 20 | | 2 |
Day 4 of creating an operation log shaping tool
[Days 1 and 2 of creating operation log formatting tool](https://qiita.com/e99h2121/items/f998b0cab3dbe0e3ec40) [Day 3 of creating operation log formatting tool](https://qiita.com/e99h2121/items/b73
Data analysis using xarray
# Data analysis using xarray Previous article + [Multidimensional data analysis library xarray2](https://qiita.com/fujiisoup/items/ffd04f44bfeb876a6623) + [Multidimensional data analysis library