; fromCollectionsImportCounter>>> Counter (a[1]) Counter ({')': 6186,'@': 6157,'(': 6154,']': 6152,'#': 6115,'_': 6112,'[': 6108,'}': 6105,'%': 6104,'!': 6080,'+': 6066,'$': 6046,'{': 6046,'': 6043,'*': 6034,'^': 6030,'\ n': 1221,'-': 4,'a': 1,'T': 1,'I': 1,'L': 1,'': 1,'y': 1,'>': 1,'u': 1,'e': 1,'Q': 1})It's kind of interesting.Because the HTML is too large, I open it directly with Urlopen () and then take the regular expression out of that part (of course, in order to show the superiority of
Http://kodango.com/useful-documents-about-shell$$ the shell itself PID (ProcessID)$! PID of the Shell's last running background process$? The return value of the last command that was run to check whether the previous command executed successfully.$* all parameter lists, as a whole.[email protected] all parameter lists. Alone as a whole.$# the number of arguments added to the shell.The file name of the Shell itself."Shell Learning Notes" $#,[email pro
"Rescue Installed System": Enter the Repair mode
"Boot from local Drive": Exit installation from hard disk boot
"Memory Tetst": Storage media detection
6, waiting quietly. 7. Select Skip8, Cnetos system start the installation interface, click Next9. Select Simplified Chinese and click Next10, Keyboard: Select the American keyboard, click Next11. Select a basic storage device12. Select Yes to ignore all data13, the default is not changed14, the default is not changed15, set the
BrieflyWe create a database and then generate the data model, add the ADO Entity Data Model, there are two ways commonly used, one is Dbfirst, one is codefirst, for simplicity, we use Dbfirst. A basic friend can use Codefirst, which has no effect on the project.Project preparationThe tools we use are: VS + SQL Server + IIS7.5I hope that we have a preliminary understanding of ASP. NET MVC, the theoretical things we do not do too much explanation, some
package, it indicates that it has already been installed.L Use the rpm-e oracleasm-support-2.1.8-1.el6.x86_64 oracleasmlib-2.0.4-1.el6.x86_64 command to uninstall Asmlib software, where "2.1.8-1. El6.x86_64 "is the version number of the Asmlib software.650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; border-bottom:0px; border-left:0px; Display:inline "border=" 0 "alt=" image "
Ubuntu on VMware is recommended for building a file system larger than 2 TB, ubuntu2tb
1
. The partition where Ubuntu is located, that is, the/dev/sda disk (if you want to see it intuitively, search for gparted In the Ubuntu application market. The most popular one is that after the installation, click the super/win key and search for gparted. You can check it out.) You must install it on the SSD hard disk.
the maximum recommended memory Here I adjust to 2048MB to install (My computer's memory is 8G, considering to use the virtual machine to do the calculation on the increase), click "Next";Pop-up dialog box, this step is to select the virtual machine installed after the Windows Xp system network configuration, for the convenience of everyone, we recommend the second item "Use Network address translation (NAT)", click "Next";Pop-up dialog, this step is to choose which type of SCSI controller, choo
require‘.. /common.inc.php ';/** Product number + year after 2 digits + month + day + order number * @param [int] $prodcutId Product number * @param [int] $tradeItemid order number * @return [string] Returns the generated order number
(Hdu step 3.1.2) the bone board is paved with squares (simple recursion: calculate the number of solutions to overlay 2 * n grids with a 2*1 bone board), hdu3.1.2
Make an advertisement for yourself before writing a question ~.. Sorry, I hope you can support my CSDN video courses at the following address:
Http://edu.csdn.net/course/detail/209
Question:
(1) method to determine whether a number is the multiplication of 2: For the integer num, if (Num (num-1) = 0, then this number is the multiplication of 2.
The procedure is as follows:
Public class test {Public static void main (string [] ARGs ){System. Out. println (issqur
Compile a function. When n is an even number, call the function to calculate 1/2 + 1/4 +... + 1/n. When n is an odd number, call the function 1/1 + 1/3 +... + 1/n ., Even number
First, write a function whose n is an even number:
Def peven (n): s = 0.0 for I in range (
It is not very difficult to see an algorithm question on the Internet. There are also solutions for searching, but there are usually several layers of for loops. I tried to write it down.
/*** Give you a set of strings such as {5, 2, 3, 2, 4, 5,}, so that you can output the maximum number of occurrences and the maximum numbe
Idea: If we were to fill 0 in front of the number , we would find that the N-bit all 10 binary number is actually N from 0 to 9 of the full array. That is to say, we arrange each digit of the number from 0 to 9, and we get all the
Use an expression to determine whether a number X is 2 ^ N (2, 4, 8, 16 ,...), Unavailable loop statement
Answer :! (X (X-1 ))
Analysis: The numbers 2 ^ N (100, 1000) are converted to binary Values 10, 10000, and.
If the result of X-1 and X is 0, x is
whether a bit is a single bit of 2 groups. */intFindbit1 (intN) {//Find out low start first 1 bit, other clear 0 returnn~ (N-1);//N-n can also}voidFindtwo (intA[],intN) {intANS1 =0, Ans2 =0;intFlag = FindOne (A, n);//All XOR, result =a^b other becomes 0;Flag = FINDBIT1 (
1#include 2 using namespacestd;3 4 intMain ()5 {6 Longnum;7 8 while(Cin >>num) {9 if(num = =1){Tencout Endl; One Continue; A } - - for(inti =2; I i) { the if(num%i = =0){ -num = num/i; -cout " "; -i--;//When a prime number is encount
describes a Web Service and its functions, parameters, and return values . It is a standard format that can be understood by both the WebService client and server side. Because it is XML-based, WSDL is both machine readable and human readable, which is a great benefit. Some of the latest development tools can generate WSDL documents based on your Web service, import WSDL documents, and generate proxy class code that calls the appropriate webservice.T
Suggestions for Ubuntu over 2 TB file systems on VMware
1. the partition where Ubuntu is located, that is, the/dev/sda disk (if you want to see it intuitively, search for gparted In the Ubuntu application market. The most popular one is that after the installation, click the super/win key and search for gparted. You can check it out.) You must install it on the SSD hard disk. Because this is much faster, an
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.