fully product function.Product
Number of positive integers in the interaction with N using the (N)-Euler function
μ (N)-Mobius function, about the number of quality factors in the non-Gini number
Gcd (n, k)-the most common factor, when K is fixed
Number of positive factors in D (N)-N
Sum of all positive factors of σ (N)-N
σ k (N)-factor function, the sum of K power of all positive factors of n, where K can be any plural.
1 (n)-constant function, defined as 1 (n) = 1 (full product)
ID (N)-unit f
computer system. Thus, the space of the heap is more flexible and relatively large.Fragmentation problem: For the heap, frequent new/delete is bound to cause memory space discontinuity, resulting in a large number of fragments, so that program efficiency is reduced. For the stack, there is no problem, because the stack is advanced out of the queue, they are so one by one correspondence, so that there will never be a memory block from the middle of the stack poppedAllocation method: The heap is
), (' C ', 0)]13 >>> sorted ([' Bob ', ' about ', ' zoo ', ' credits '],key=str.lower) ignoring the case sort [' about ', ' Bob ', ' credits ', ' Zoo '] > Gt;> sorted ([' Bob ', ' about ', ' zoo ', ' credits '],key=str.lower,reverse=true) reverse sort [' zoo ', ' credits ', ' Bob ', ' about ']Staticmethod ()A. STR () string constructorSUM () summationThe method of calling the parent class by a. Super ()Group () tuple constructorA. Type () displays the type to which the object belongsVARs ()The.
object, so when used, it is not necessary to write the window object name, but to use it directly. Its main purpose is to use the output to generate warning messages or prompt the user, once the user presses the "OK" button, you can continue to execute other scripts.document.write (document.lastmodified) can produce the last modified date.JavaScript itself is case-sensitive, lastmodified and LastModified, which in its view are different results. The document.lastmodified parameter was written d
second parameter in the constructor true indicates that the file is written in append formFileWriter writer =NewFileWriter (FileName,true); Writer.write (content); Writer.close (); } Catch(IOException e) {e.printstacktrace (); } } Public Static voidMain (string[] args) {String fileName= "C:/temp/newtemp.txt"; String content= "New append!"; //append files by method aAppendtofile.appendmethoda (fileName, content); Appendtofile.appendmethoda (FileName,"Append end." N); //Show file Content
/net/ipv4/ip_forward activate IP routingHostname show hostname of systemHost www.example.com lookup hostname to resolve name to IP address and viceversa (1)nslookup www.example.com lookup hostname To resolve name to IP address and viceversa (2)IP link Show Show link status of all interfacesMii-tool eth0 Show link status of ' eth0 'Ethtool eth0 Show statistics of the network card ' eth0 'Netstat-tup Show all active network connections and their PIDNETSTAT-TUPL Show all network services listening
1 filesLs-rtl #按时间倒序列出所有目录和文件 (Ll-rt similar to LS-RTL)Touch File #创建空白的文件RM-RF Directory Name # does not prompt to delete non-empty directories (-R Recursive Delete, F Force)Dos2unix Windows text to Linux textUnix2dos Linux text to Windows texteNCA FileName # View Code install Yum install-y eNCA (there are certain problems with some computers that can be used some not.) At my present level there is no way to fix it.Md5sum #查看md5值ln source file Destination file #硬链接Ln-s source file Destination f
Tags: network command line process information run write file Linux command line through command Daquan Semaphore1,2,linux Kernel: Memory management, process management, file management, device management.Where memory management such as:View the system's memory status through the command cat/proc/meminfo. View shared memory, semaphores, message queue information through IPCS. Ipcs-m can view shared memory information.Process Management: You can use PS aux to view process information.Device Manag
to sniff packets (sniffing)Dhclient eth0 enable ' eth0 ' in DHCP modeRoute-n Show routing TableRoute add-net 0/0 GW ip_gateway Configura default GatewayRoute add-net 192.168.0.0 netmask 255.255.0.0 GW 192.168.1.1 Configure static route to reach network ' 192.168.0.0/16 'Route del 0/0 GW ip_gateway remove static routeecho "1" >/proc/sys/net/ipv4/ip_forward activate IP routingHostname show hostname of systemHost www.example.com lookup hostname to resolve name to IP address and viceversa (1)nslook
/net/ipv4/ip_forward activate IP routingHostname show hostname of systemHost www.example.com lookup hostname to resolve name to IP address and viceversa (1)nslookup www.example.com lookup hostname To resolve name to IP address and viceversa (2)IP link Show Show link status of all interfacesMii-tool eth0 Show link status of ' eth0 'Ethtool eth0 Show statistics of the network card ' eth0 'Netstat-tup Show all active network connections and their PIDNETSTAT-TUPL Show all network services listening
link status of ' eth0 'Ethtool eth0 Show statistics of the network card ' eth0 'Netstat-tup Show all active network connections and their PIDNETSTAT-TUPL Show all network services listening on the system and their PIDTcpdump TCP port Show all HTTP trafficIwlist Scan Show Wireless networksIwconfig eth1 Show configuration of a wireless network cardHostname show hostnameHost www.example.com lookup hostname to resolve name to IP address and viceversanslookup www.example.com lookup hostname To resol
can add some host names and IP addresses for these host names in/etc/hosts, which is a static query that uses native computers simply.To access the DNS server for querying, you need to set the/etc/resolv.conf file.Assuming that the IP address of the DNS server is 192.168.3.2, then the contents of the/etc/resolv.conf file should be:Search test.comNameServer 192.168.3.2Installing the AMP serviceIf you start the installation with the Ubuntu Server CD, you can choose to install it, which automatica
routeecho "1" >/proc/sys/net/ipv4/ip_forward activate IP routingHostname show hostname of systemHost www.example.com lookup hostname to resolve name to IP address and viceversa (1)nslookup www.example.com lookup hostname To resolve name to IP address and viceversa (2)IP link Show Show link status of all interfacesMii-tool eth0 Show link status of ' eth0 'Ethtool eth0 Show statistics of the network card ' eth0 'Netstat-tup Show all active network connections and their PIDNETSTAT-TUPL Show all ne
being thrown.
Assertregexpmatches (text, expected_regexp[, MSG])
The test fails unless the text matches the regular expression.
Assertsequenceequal (seq1, seq2[, MSG, Seq_type])
equality assertions for ordered sequences (like lists and tuples).
Assertsetequal (Set1, set2[, MSG])
A set-specific Equality assertion.
Asserttrue (expr[, MSG])
Check the expression is true.
Asserttupleequal (Tuple1, tuple2[, MSG]
the systemDpkg--contents Package.deb shows a list of files provided by a package that has not yet been installedDpkg-s/bin/ping confirm which Deb package the given file is provided byView File ContentsCat File1 Viewing the contents of a file starting from the first byteTAC File1 To reverse view the contents of a file from the last lineMore File1 View the contents of a long fileLess file1 is similar to the ' more ' command, but it allows a reverse operation in the same way as a forward operation
FileInputStream (file)); int Tempchar;while ((Tempchar = Reader.read ()) =-1) {//For Windows, RN these two characters are together, representing a newline. But assuming that the two characters are displayed separately, the lines are changed two times. So, shield off R, or block N. Otherwise, there will be a lot more empty rows. if ((char) tempchar)! = ' R ') {System.out.print ((char) Tempchar);}} Reader.close ();} catch (Exception e) {e.printstacktrace ();} try {System.out.println ("read the co
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.