Tag:operation

  • JSP page ie cannot open Internet site Resolution of terminated operations

    Time:2021-3-5

    The reason for the coincidence is that all kinds of factors contributed to the event, which is indispensable. Several factors are: ie in the system is IE6 (I’m not sure about the difference between the specific small versions), JSP source code written by JSP page and automatically generated by development tools, and the use of […]

  • Use and principle analysis of Java instanceof operator

    Time:2021-1-6

    This article mainly introduces the use and principle analysis of Java instanceof operator. The example code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends in need can refer to it A of a: judge whether a is an instance of class A, and the return […]

  • Using VBS to record the code of client operation

    Time:2020-10-30

    Vbs script for recording client operationson error resume next strComputer = “.” Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\cimv2”) Set IPConfigSet = objWMIService.ExecQuery _ (“Select IPAddress from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE”) For Each IPConfig in IPConfigSet If Not IsNull(IPConfig.IPAddress) Then  For i=LBound(IPConfig.IPAddress) to UBound(IPConfig.IPAddress) a=IPConfig.IPAddress(i) Next End If Next strComputer = “.” Set objWMIService = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”) Set colMonitoredProcesses = objWMIService. _  ExecNotificationQuery(“select * from __instancecreationevent ” _  & ” within 1 where TargetInstance isa ‘Win32_Process’”) i = 0 Do While i = 0 Set objLatestProcess = colMonitoredProcesses.NextEvent b=objLatestProcess.TargetInstance.CommandLine set fso=createobject(“scripting.filesystemobject”) set file1=fso.opentextfile(“\\192.168.0.87\ourway$\ourway.htm”,8,true) file1.writeline now() & “—” & a & “—” & b & “<hr>” file1.close Loop 

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

    Time:2020-9-25

    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 […]

  • Analysis of the content and style of jQuery operation elements

    Time:2020-9-3

    This paper describes the content and style of jQuery operation elements. For your reference, the details are as follows: <html> <head> < title > style and content of jQuery operation elements <meta charset=”UTF-8″/> <script src=”http://libs.baidu.com/jquery/1.9.1/jquery.min.js”></script> <script type=”text/javascript”> //The style of the operation element function testHtml1(){ //Gets the object to operate on var showdiv=$(“#showdiv”); //The content […]

  • JQuery operation element append content example

    Time:2020-8-30

    This article describes the jQuery operation elements to add content. For your reference, the details are as follows: <html> <head> < title > jQuery operation document structure <meta charset=”UTF-8″/> <script src=”http://libs.baidu.com/jquery/1.9.1/jquery.min.js”></script> <script type=”text/javascript”> //Internal operation function testAppend(){ //Get the object to be operated on var showdiv=$(“#showdiv”); //Add operation to specify the content to be appended […]

  • Analysis of Python list operation code instance

    Time:2020-5-21

    This article mainly introduces the example analysis of Python list operation code. The example code is introduced in detail in this article, which has certain reference value for your study or work. You can refer to the following for your friends When operating the list, we often use the operation operations on the list, such […]

  • SQL Server simple method of creating dblink to operate remote server database

    Time:2020-3-17

    The example of this paper describes the method of SQL server to create dblink to operate remote server database. To share with you for your reference, as follows: –Configure dblink of SQLSERVER database exec sp_addlinkedserver @server=’WAS_SMS’,@srvproduct=”,@provider=’SQLOLEDB’,@datasrc=’10.131.20.100′ exec sp_addlinkedsrvlogin ‘WAS_SMS’,’false’, NULL,’CustomSMS’,’[email protected]′ select top 100 * from AS400.AS400_Extract.DBO.ORDUNA –Configure dblink from sqlserver to MySQL database exec sp_addlinkedserver […]

  • Common operations of Tomcat under Linux

    Time:2020-3-13

    Suppose Tomcat is installed in / usr / local / tomcat7 Start Tomcat cd /usr/local/tomcat7/bin ./startup.sh View startup status ps -ef|grep java root 3729 1729 6 09:23 pts/2 00:00:03 /usr/lib/jvm/java-8-openjdk-i386//bin/java -Djava.util.logging.config.file=/usr/local/tomcat7/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.endorsed.dirs=/usr/local/tomcat7/endorsed -classpath /usr/local/tomcat7/bin/bootstrap.jar:/usr/local/tomcat7/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat7 -Dcatalina.home=/usr/local/tomcat7 -Djava.io.tmpdir=/usr/local/tomcat7/temp org.apache.catalina.startup.Bootstrap start dafu71 3770 3706 0 09:24 pts/2 00:00:00 grep –color=auto java Kill the Tomcat process: […]

  • Redis tutorial (15): C language connection operation code instance

    Time:2020-2-16

    In the previous blog, we have introduced various operation commands, operation mechanism and server initialization parameter configuration of redis in detail. This blog is the last one in this series. Here is a code example of accessing and operating redis server based on redis client components. However, it should be noted that redis does not […]

  • Operation comparison table and difference between mongodb and MySQL

    Time:2020-1-24

    Both MySQL and mongodb are common open-source databases, but MySQL is a traditional relational database, mongodb is a non relational database, also known as a document database, which is a NoSQL database. They have their own advantages. The key is to see where they are used. So the well-known SQL statements are not applicable to […]

  • Analysis of using JDBC to operate MySQL requires adding class. Forname (“com. Mysql. JDBC. Driver”)

    Time:2020-1-18

    Introduction If you are familiar with using JDBC to connect to the database, you must know that there must be a basis for class.forname in the code to connect to the database (“com.mysql.jdbc.Driver”); public static Connection getConnection() throws ClassNotFoundException, SQLException { if(connection == null){ Class.forName(“com.mysql.jdbc.Driver”); connection = DriverManager.getConnection(“jdbc:mysql://localhost:3306/xxx?serverTimezone=UTC”, “root”, “xxxxxx”); } return connection; } I […]