Code style guidelines for contributors code submission Style Guide (1)
Link: http://source.android.com/source/code-style.html
This code style guide, which I saw when I checked the android document by accident, simply translated it. I learned a little more, but I can also exercise my skills in English, if your translation is inappropriate, please correct it;
The following rules are not selective recommendations, but must be strictly followed. All Andro
IOS Human Interface Guidelines)
Beautiful Life of the sun and fire god (http://blog.csdn.net/opengl_es)
This article follows the "signature-non-commercial use-consistency" creation public agreement
Reprinted please keep this sentence: Sun huoshen's beautiful life-this blog focuses on Agile development and mobile and IOT device research: iOS, Android, Html5, Arduino, pcDuino, otherwise, this blog post is rejected or reprinted. Thank you for your cooper
How to improve the efficiency of web pages (Part 1)-14 guidelines for improving the efficiency of web pages
* Make fewer HTTP requests
* Use a content delivery network
* Add an Expires header
* Gzip Components
* Put CSS at the top
* Move scripts to the bottom
* Avoid CSS expressions
* Make JavaScript and CSS external
* Reduce DNS lookups
* Minify Javascript
* Avoid redirects
* Remove duplicate scripts
* Configure etags
* Make Ajax cachea
. NET Framework developerRefer to the followingArticleName namespaces, classes, objects, methods, attributes, and parameters:1) Guidelines for names
Http://msdn2.microsoft.com/en-us/library/ms229002 (vs.80). aspx
2) msdn2005 Simplified Chinese version:MS-help: // Ms. VSCC. v80/ms. msdn. v80/ms. netdevfx. v1_chs/dv_fxdesignguide/html/fc076d66-9b5f-42d3-aa65-61d970c794a3.htm
Content
Case sensitivity
Describe d
What is the most basic thing about a website?
What is the most basic thing about a website?-- Content? SEO (Search Engine Optimization )? UE (User Experience )? None! Yes speed!Websites with rich content are meaningless if they are too slow to be accessible. Seo is a good website, and it is useless if the search spider cannot catch it. ue is designed to be a user-friendly website, it is also empty talk if the user cannot even see it.Therefore, the efficiency of web pages is definitely the most n
Developing applications for Windows Phone 8 (2014/6/18) From Developing Applications (XAML)From ############################################Overview of the Panorama controls for Windows PhoneFrom Control List (XAML)From MSDN Development Guidelines for WP and Windows
JavaScript guidelines this section describes other important things that need to be understood when JavaScript is used for encoding.
JavaScript is case sensitive.
A function named "myfunction" and a function named "myFunction" are two different functions. Similarly, variables "myVar" and variables "myvar" are different.
JavaScript is case sensitive-so when you create or use variables, objects, and functions, pay attention to the case sensitivity
chart wisely6, use the title to highlight the focus7, in the appropriate to add text descriptionpriorities and programme of Action1. Better understanding and positioning of customers2. Improve Business Process optimization3, improve people's health and happiness level4. Enhance security and reduce fraud5, encourage the improvement of enterprise and employee performance6. Conditions for improving the workplace and other infrastructureConclusion1. Don't focus on data from the start. If you do, yo
thing is dont make me thinkThen the original design of the problem is: the overall tone is too refined, go in after not a clear look at the current set of Internet access, and then through the three tab switch to see the respective presentation, the display is not clear and clearLater modified design: Come in directly can see the current set of content, and the introduction of a variety of Internet access at a glance, although the re-set the way to the Internet need to click a step more than th
[email protected], copy to Keydir folder, modify gitosis.conf file, commit and push to Git server.Get content that was previously pushed in Ubuntu, such asOpen the corresponding folder, there is already in Ubuntu under the new file ReadmeCreate a new file under Windows Experiment.txtAdd, submit, and then push to a git server locallyUse the git pull command to get the latest update on the GIT server (this is the current version)Similarly, you can also get the latest version of the Teamwork Wareh
[email protected], copy to Keydir folder, modify gitosis.conf file, commit and push to Git server.Get content that was previously pushed in Ubuntu, such asOpen the corresponding folder, there is already in Ubuntu under the new file ReadmeCreate a new file under Windows Experiment.txtAdd, submit, and then push to a git server locallyUse the git pull command to get the latest update on the GIT server (this is the current version)Similarly, you can also get the latest version of the Teamwork Wareh
List of OpenStack IRC channelsHow to access OpenStack channels on your browser (specific channels can refer to the previous channel list)Channel chat logs and meeting logs Here I use MIRC instead of browser access Irc,openstack IRC with Freenode server, can be found in mIRC group "freenode", the specific address and port,Server:irc.freenode.netports:6665-6666 (default 6667 not, but both ports are OK, other ports are not) Introduction to Commands/join #channel_name Join the Channel/part #channe
1. Abnormal safetyAfter the exception, do not occupy the resources, nor destroy the data
Resource-based statements are best written in a single line. Because the same line of statements, the order of execution is indeterminate.
Imagine if the order of execution is new A, priority (), shared_ptrIf an exception occurs in the priority () execution, the resource after new a executes cannot be freedDealsth (std::tr1::shared_ptrnew A), priority ())
2. Thread SafetyConsider multi-threaded ex
Here for everyone to send a copy of the CSS code writing guidelines, including code comments and naming specifications and space indentation and so on, all come from the usual convention, definitely worth learning, the need for friends can refer to the next
1. Formatting code1.1 Files[Recommended]:css file using UTF-8 encoding without BOM1.2 Indent[Force]: use 4 spaces as an indent level, 2 spaces or tab characters are not allowed.
. selector {
, functions, and class statements, before any executable program code. Python automatically encapsulates the string so that it becomes the __doc__ property of the corresponding object. The document string that invokes the method function of the class in the module, which can be accessed through the path class: module.class.method.__doc__ module documentationwords Go here spam =40def square (x): function documentation can we have your liver then? return x **2class employee: " c
function, the initial value of the semaphore must be specified, the semaphore is allocated using the Dispatch_semaphore_wait function, and the count is reduced by 1. Wait for 0 o'clock, use the Dispatch_semaphore_signal function to release the semaphore and add 1 to the count. In addition, dispatch_semaphore_wait also support timeouts, only need to give its second parameter to specify the time-out, similar to the dispatch group Dispatch_group_wait function, can be judged by the return value. Th
strs[] = null;4 client5.m Ethoda ("China", STRs); 5 }That is, let the compiler know that this null value is a string type, the compilation can pass smoothly, also reduce the occurrence of errors.Ahvari Source: http://www.cnblogs.com/selene/This article to study, research and sharing of the main, copyright belongs to the author and the blog Garden, Welcome to reprint, if the text is inappropriate or wrong place also hope the great god you hesitate to point out. If you feel that this
inline element, you can use the left padding. (3) Vertical alignmentRow Height: Line-height refers to the distance between the baseline of a line of text. One is that the setting of the row height of each element is displayed, which is not very practical. Another way is to set a scaling factor. To construct a line of text: each element in a line of text generates a content area, which is determined by the size of the font. This content area generates a inline box, and if there are no other fac
Some suggestions and guidelines on JavaScript API design, including javascriptapi
Design is a common concept. It can generally be understood as a Plan or Framework to be prepared in advance. In the Oxford English Dictionary, design is a main thread that binds art, system, hardware, or more. Software design, especially the sub-class API design, is the same. However, API design often pays little attention to software development, because the importance
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.