HardyHu
  • Home
  • Archives
  • Categories
  • Tags
  • About

How to Copy a File with Java

0. Forewordhttps://www.journaldev.com/861/java-copy-file 1. Several commonly used methods1.1 Java Copy File – Stream12345678910111213141516private static void copyFileUsingStream(File source, File des
2022-07-28
#Java

Implement Hamming Code in Python

ForewordHamming codes can detect one-bit and two-bit errors, or correct one-bit errors without detection of uncorrected errors.The code is from the video below,Bilibili: https://www.bilibili.com/video
2022-07-27
#Python #Hamming

Close the nginx service under windows

1. Start Nginx1start nginx 2. Stop Nginx1nginx -s stop 3. Reload Nginx Config1nginx -s reload 4. Force Close1taskkill /f /t /im nginx.exe
2022-07-24
#Nginx

Use requirements.txt

1. Generate requirements.txt Use pip freeze Applicable to the case of a single virtual environment. It will add all the dependencies in the environment. 1pip freeze > requirements.txt Use pipreq
2022-06-08
#Python

English Grammer for postgraduate entrance exmination catalog

1. Simple Sentence 1.1 Core Composition of Simple Sentence 1.1.1 Core composition of simple sentence 1.1.2 Core changes in simple sentence 1.2 Extension of Simple Sentence 1.2.1 Expansion of the par
2022-05-24

Common tools for papers

Tools NoteExpress Endnote The best reference management tool. Latex A document preparation system. Origin Origin is the data analysis and graphing software. Visio Flowchart Maker and Diagrammin
2022-05-23

Basic image classification

Official Documentationhttps://www.tensorflow.org/tutorials/keras/classification Import packageThis guide trains a neural network model to classify images of clothing, like sneakers and shirts. It’s ok
2022-04-28
#Tensorflow

Text data analysis

1234567891011121314151617181920212223242526272829303132333435363738394041import pandas as pdfrom nltk import FreqDistimport jiebafrom matplotlib import pyplot as pltfrom wordcloud import WordCloudfile
2022-03-28
#jieba #nltk

Time series data analysis

1. Basic operation of time series123456789101112131415import pandas as pdprint(pd.to_datetime('20180828'))print()# Pass in multiple datetime stringsdate_index = pd.to_datetime(['2018082
2022-03-27
#pandas

Drawing advanced charts using Matplotlib

1. Drawing a contour map12345678910111213141516171819202122232425262728import numpy as npimport matplotlib.pyplot as pltdef calcu_elevation(x1, y1): h = (1 - x1 / 2 + x1 ** 5 + y1 ** 3) * np.exp(-x
2022-03-27
#Matplotlib
1…1415161718…22

Search

Hexo Fluid
总访问量 次 总访客数 人
浙ICP备2025160052号