• Common methods of adding, deleting, modifying and checking HTML DOM with JavaScript


    This paper describes the common methods of adding, deleting, modifying and querying HTML DOM by JavaScript. For your reference, the details are as follows: First of all, JS can modify all elements and attributes in HTML. It can also change CSS style, and can listen to all events and respond. This note mainly records how […]

  • Examples of adding, deleting, modifying and querying PHP variables and strings


    This paper describes the PHP variable and string add, delete, modify and query operations. For your reference, the details are as follows: Use of variables <?php //Tell the browser what type of document to parse with what encoding method, to prevent Chinese garbled header(“Content-type: text/html; charset=utf-8”); //Examples of integers //Declaration integers $var=123; //Output one or […]

  • Collection of methods to recover deleted files under CentOS system


    Background note: today, my colleague is updating the website with FTP. The content is to rename the original folder for backup, and then upload the file. After the upload is completed, the test website can visit and delete the backup (brain cramp). As a result, it is found that the most important image folder in […]

  • Using vbs script to delete files or folders other than specified


    Option Explicit Description‘Netcom – black fire production, for the needs of friends.‘profile“ Listfile.ini ”The format is as follows:‘what to delete (file | directory) = folder to delete = exclude 1; exclude 2; exclude 3‘the configuration file can have multiple lines to operate on multiple directories.‘the behavior comment line starting with ‘/’ in the configuration file.‘when multiple […]

  • Use VBS to report some types of disk space and delete files


    Option Explicit dim ServerPath,onlyone,notfinddel,WorkPath,arrWorwpath,strWorkPath,fso,wsh,WshNetwork,cName,exectime,fnum,donum,totalsize,t1,t2,tm fnum=0 donum=0 totalsize=0 Workpath = “F: \ | D: \ | C: Download \”‘set the path to be scanned (absolute path), and use “|” to separate multiple pathsServerpath = “\ \ server / log $\”‘set the shared folder (writable share) on the server to store the deletion logOnlyone = “yes” sets whether to […]

  • VBS code for deleting registry key


    WScript.Echo “Enabling Kerberos Logging…” const HKEY_LOCAL_MACHINE = &H80000002 strComputer = “.” Set oReg=GetObject(“winmgmts:{impersonationLevel=impersonate}!\\” &_  strComputer & “\root\default:StdRegProv”) strKeyPath = “SOFTWARE\999” strDWORDValueName = “DWORD Value Name” strExpandedStringValueName = “Expanded String Value Name” strMultiStringValueName = “Multi String Value Name” strStringValueName = “String Value Name” strValueName = “strValueName” oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,strDWORDValueName oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,strExpandedStringValueName oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,strMultiStringValueName oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,StringValueName oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName WScript.Echo “-=[Complete!]=-”

  • Details of adding, deleting, modifying and checking data implemented by Ajax [Java background]


    This paper describes the Ajax implementation of data addition, deletion, modification and query operations. For your reference, the details are as follows: Home page: index.html <!DOCTYPE html> <html> <head> <meta charset=”UTF-8″> <title></title> <script src=”http://libs.baidu.com/jquery/2.1.4/jquery.min.js”></script> </head> <body> No.: < input type = “text” value = / > < br > Name: < input type = “text” […]

  • Tp5.1 framework database common operation details [add, delete, update, query]


    This paper describes the common operations of tp5.1 framework database. For your reference, the details are as follows: Tp5.1 — database add operation useDb ClassinsertMethods submit data to the database $data = [‘foo’ => ‘bar’, ‘bar’ => ‘foo’]; Db::name(‘user’)->insert($data); insertMethod returns the number of successfully added data. Normally, it returns 1 Or usedataMethod coordinationinsertuse. $data […]

  • Java list uses traversal to analyze three methods of deletion operation


    This article mainly introduces three methods of Java list using traversal to delete operation. The article introduces in detail through the example code, which has a certain reference learning value for everyone’s study or work, and friends in need can refer to it How to traverse the list conveniently in Java 1. For loop: Common […]

  • Details of Python operating MySQL database instance [installation, connection, addition, deletion, modification, query, etc.]


    This paper describes how Python operates MySQL database. For your reference, the details are as follows: 1. Installation There are many libraries to connect to MySQL database through python. Here we use the official MySQL connector / Python library. Its official website is: https://dev.mysql.com/doc/connector-python/en/ 。 Install through the PIP command: pip install mysql-connector-python The latest […]

  • How to delete expired descriptive files in Xcode


    1. Use terminal First open the terminal cd ~/Library/MobileDevice/Provisioning\ Profiles/ Delete all rm *.mobileprovision 2. Find the folder directly – simple and crude First show in finder, then COM + Shi + G, then ~ / library / mobiledevice / provisioning profiles to find the corresponding deletion yangdeMacBook-Pro:Provisioning Profiles yangliugrep“developcommon”∗Binaryfile7e741239−9a18−4468−b8b8−4fe03e529c78.mobileprovisionmatchesyangdeMacBook−Pro:ProvisioningProfilesyangliu rm 7e741239-9a18-4468-b8b8-4fe03e529c78.mobileprovision yangdeMacBook-Pro:Provisioning Profiles yangliugrep“developcommon”∗yangdeMacBook−Pro:ProvisioningProfilesyangliu […]

  • Delete data is restored by SCN number (recommended)


    Problem Description: use SCN number to recover the deleted data 1. Query the SCN value flashback from the system and the SCN value of the current log. Because this is a test, the created table is at the back, so the SCN value is greater than the two SCN values below, so it is useless […]