Tag:file name

  • C# (VII) Fundamentals – Basic I / O operation


    C# This essay is for personal review and consolidation of knowledge. It is mostly summarized and understood from the book. If there are mistakes, please correct them   I / O operations are mainly aimed at creating and modifying computer files, including creating files, reading and writing files and deleting files.   1. Write documents […]

  • Android layout reuse


    Wechat screenshot When writing an interface similar to the above figure, there will be a large section of repeated code in the layout. <!– activity_me.xml –> <?xml version=”1.0″ encoding=”utf-8″?> <androidx.appcompat.widget.LinearLayoutCompat xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:tools=”http://schemas.android.com/tools” xmlns:app=”http://schemas.android.com/apk/res-auto” …… > <!– The following paragraph will be repeated many times — > <androidx.constraintlayout.widget.ConstraintLayout android:layout_width=”match_parent” android:layout_height=”wrap_content” android:paddingTop=”16dp” android:paddingBottom=”16dp”> <ImageView android:id=”@+id/imageView2″ android:layout_width=”32dp” android:layout_height=”32dp” […]

  • File class, construction method, creation, deletion, judgment acquisition, recursion, case: recursive factorial


    1、 File class public class File extends Object implemments Comparable<File> 1.1 construction method Operation:Output: 1.2 create Operation: f.createNewFile(); Be careful to throw exceptions If the file does not exist, create the file and return true; If the file exists, the file is not created and false is returned f.mkdir(); If the directory does not exist, […]

  • Detailed steps for developing composer package


    Develop a general file upload package for composer, publish it to packgist, and test it in laravel. 1、 GitHub creates a nameuploadfileNew warehouse and clone to local. $ git clone [email protected]:guanguans/uploadfile.git $ cd uploadfile 2、 Initialize project, buildcomposer.jsonfile 2.1 steps [email protected] MINGW64 /i/phpstudy/WWW/uploadfile $ composer init Welcome to the Composer config generator This command will […]

  • Mybatisplus latest code generator (3.5.1 +) tutorial (2) — detailed analysis of output file name


    brief introduction Mybatisplus latest code generator (3.5.1 +) tutorial (1) — detailed analysis of output path In the previous article, we have learned about the type of the output file of the code generator (New) and the configuration method of its output path. In this article, let’s continue to understand how to modify the output […]

  • Implementation of PHP plug-in system (3): implementation of detector


    Series of articles: Implementation of PHP plug-in system (I): why implement plug-in system Implementation of PHP plug-in system (II): obtain all plug-in information Implementation of PHP plug-in system (3): implementation of detector Implementation of PHP plug-in system (IV): implementation of registration action Implementation of PHP plug-in system (V): trigger plug-in Implementation of PHP plug-in system […]

  • Vbs script error: the solution of file name or class name not found in operation


    I had nothing to do yesterday afternoon, so I turned out the previous script and tried to run it, but there was an error as shown in the figure. So: Regsvr32 VBScript dll。 Rerun the script. I didn’t expect it to be the same. It’s normal to put it on another computer. Strange, I haven’t […]

  • 2. Basic DOS commands


    How to open CMD window Start + system + command prompt Press Win + R and enter CMD to open the console (recommended) Under any folder, hold down the shift key + right-click to open the command line window here Add CMD path in front of the address bar of the resource manager Run as […]

  • Be reasonable. I didn’t understand git until now


    Initialize project git init image-1.png As shown in the figure, ingitSpaceA file will be generated under the file directory.gitHidden folder. This directory stores subdirectories and files related to the local library. We don’t delete or modify this folder. Usually, ingitAfter installation, you need to set up signatures to distinguish the identities of different developers. You […]

  • NPM package management – N switch node version


    To view the current node version: node -v Global installation: npm install -g n List of installed versions: n ls Switch version: N list all versions, press enter to select the required version Execute with the specified version: N use x.x.x [file name] Delete the specified version: n rm x.x.x Download the latest version: n […]

  • Vulnhub actual combat – grotesque 3 target 👻


    Vulnhub actual combat – grotesque 3 target Target address:http://www.vulnhub.com/entry/grotesque-301,723/ 1. Target description 2. Host detection and port scanning After we successfully import the target in VMware, we conduct host detection in Kali nmap -sn Get the host IP, and then scan the port nmap -sS -p- -v We found that ports 80 and […]

  • This paper introduces two commonly used linux commands


    1)yum list |grep installPackage nameThis command is often used to find out if there is a problem on the sourceinstallBag.2) Find Directory – name destination file nameThis command is used to find the path of a file.