I started blogging from 2006, the first blog on Sina, then went to the Baidu space, and went to Sohu, NetEase, and news, and so on to establish a blog, but are not well developed, can not get official blog recommendations and restrictions without traffic. Up to dozens of clicks a day! Finally chose to give up, set up this independent blog. have their own domain name and space, can speak and write, enjoy the play!
But! just set up an independent blog
1, give a percentile grade, require output grade a,b,c,d,e. More than 90 points for a,80~89 divided into b,70~79 divided into c,60~69 divided into d,60 sub-division of the following E. Requirements:
(1) using the IF statement and the switch statement respectively;
(2) When entering illegal data (such as negative numbers), you should give the "input data error" information
Switch Statement implementation:
#i
code is as follows:Use MySQL; Then, delete the anonymous user. SQL is as follows:The code is as follows:Delete from user where user= '; 3. Increase the number of users that allow remote access or allow remote access for existing users. Then, after deleting the anonymous user, give root all the permissions to access any database on any host (%). The SQL statements are as follows:The code is as follows:Mysql> Grant all privileges on * * to ' root ' @ '
1, the users under Linux belong to the group, so need to create a group, divided to users. To create a command:Execute under RootGroupadd ver Create a group of ver2. Create userUseradd-m-G ver uiadm added user uiadm3. Set User passwordpasswd uiadm newline Password4, switch to the home directory, under the root user to give Uiadm authorizationchmod 775-r UiadmCreate a user under Linux, set a password for the user,
functions depending on the user's access to different pathsC. Read content from HTML, and complete the substitution of strings--JINJA2 (template language)3. The categorization of Web frameworks in Python:1. Divided by the above three functions:1. Frame comes with a,b,c--Tornado2. Frame comes with B and C, using third-party a-and Django3. Frame comes with B, using third-party A and C--and Flask2. Divide by another dimension:1. Django--and chatty (you can use it for a website)2. Other--Flask ligh
] ~]# lss-al/etc | LessTR command:converting and deleting characters Format:tr [OPTION] ... SET1 [SET2] -C or--complerment : The complement of the character set-D or-- Delete : Deletes all characters belonging to the first character set-S or-squeeze-repeats : The consecutive repeating character is represented by a single character-T or --truncate-set1 : Converts the corresponding character of the first character set to the corresponding character of the second character setExample:1. Convert th
. The Checkforcomodification () method is used to determine the fast failure mechanism, which in the Iterator.next () method must not be called until it enters the Foreach loop;4. By 2, when the ArrayList remove () method continues the Foreach loop when foreach deletes the second-to-last element, the penultimate element is skipped to exit the loop , and the Union 3 is known to delete the second-to-last element, Does not go into the judgment of a fast-failing mechanism.5. The Iterator.remove () m
Problem Description: How many occurrences of a specified number are given in an ordered array, for example: array {1,2,2,2,3,4,5} number 2 has a number of occurrences of 3.The simplest way is to iterate through the array, with the following code:#include Here I think you can use the array order to optimize the number of comparisons, I hope you discuss, the topic source of a well-known Internet company internship surface questions.The code is as follows:#include Ideas:The first two points find th
A picture of a gray or background white is very common. Landscaping can give the background of the sky part of the increase in clouds, but also the appropriate rendering color, to make a similar glow of the effect.
Original
Final effect
Photoshop Tutorials
1, open the original material, the character part of the dig out, copied to the new layer, the following figure.
2. Create a new layer below the characte
XP prompts the user for a solution that does not give users the requested logon type on this computer
Specifically as follows:
1, open the "Control Panel" in the "Management tools";
2, select "Local Security Policy" in "Administrative Tools";
3, select "Local Security Policy"-"local Policy"-"User Rights Assignment";
4. In the option box to the right of "User Rights Assignment", we double-click "Deny access to
Do you have such a picture: Obviously you are the protagonist, but not related to people and things affected beyond recognition? In crowded crowds, good photos help you solve this problem and give you a glimpse of TA.
Original image: The background is very messy, and there are many unrelated "passers-by a" around.
After processing: The complex background and passers-by a all blurred, only these two are the protagonist.
The good photo
PS How to give the portrait of the fine grinding skin tutorial
How does Photoshop rub skin? In PS we can observe the RGB 3 channels of texture, we choose to blur 2 channels to retain a channel of texture can achieve this goal, as to choose which channel to look at the picture and you want to grind the effect.
Look at the effect chart first.
Original
Before patching, please duplicate the habitual ctrl+j first layer, then car
The word sense of participation has recently been very hot, also impress the user a very effective way of expression, today, Ali's classmates from this angle to talk about how to design the Web page, using space rules, abstract rules and changing the angle of the law to give users more pleasure and integration, very material a tutorial, to rise posture bar.
Problems encountered
In the design of operational requirements, we adopt a more conventiona
PS How to give photos to the Hollywood blockbuster effect
Analysis before processing in the hands of a photo, we must first calm down to think about the advantages and disadvantages of this film, this is very important, this will determine the direction of your later and the expression of the effect.
Take this photo as an example, this picture because of indoor shooting, indoor and outdoor light than too large cause metering problems, so the window
);
}
});
}
}
}],
RenderTo:Ext.getBody ()
);
Then look at the Api,formpanel has no URL configuration, nor get the API function. Think of it as a parameter to the parent class of Formpanel ...
Later went to look at the Ext.form.basic, there is a URL configuration items.
The Formpanel in ext does not save the form data, where the data is saved by Basicform, and when submitting the form you need to get the basicform in the current Formpanel to commit.
Form submission can be done after
right to set a custom name, and then click Create to set the name for the program.
3
Set success
We just need to repeat the above process to create a shortcut name for multiple applications, and when all is established, the tool is no longer needed.
The above is about the win Start menu search function does not give force, how to enhance. In the future we have to run quickly without installation software, just to start-run
Unknowingly the author used Windows7 has been 1 years, feel it very useful but there are some very strange feelings of conflict in mind, that it still lacks some of what, so today I still maintain the Windows XP and Windows7 dual system. Often switch to use suddenly feel that the actual win XP is not so bad. At least the mother who is ignorant of the computer is very fond of Windows XP, the reason is simple and practical. The following author collated a few about Windows XP than Windows7 small p
feel that these do not meet your needs, you can write your own letter Number and then call again. Give a simple example to illustrate:
Template code:
Data and JS code:
Page output:
In the code we can notice that {{each}} is written in two ways, if you do not use $value in the {each}} code block after each (I, V) to refer to the value of the current item, and you need an ordinal number of t
seek modulo: pow (x,y,z)? (x**y)?%z
Note that the built-in POW and math.pow are not a function, which accepts only 2 parametersEnumerate also has a second parameter.
Enumerate is awesome, you can give us index and sequence values, but it has a second argument:
>>> LST = ["A", "B", "C"]
>>> list (Enumerate (LST, 1))
[(1, ' a '), (2, ' B '), (3, ' C ')]
This parameter is used to: indicate the starting value of the index20. Explicit decl
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.