The Nineth week of work: Brave young, to create miracles! _ Work

Source: Internet
Author: User
Tags tag name
This week

The recent uproar is that Guo and Cao Yunqin Master and pupil of enmity, these two people I do not judge, just think two words quite occasional:

Germany does not deserve a place, there will be disaster;
Have not learned to red, after the red will not be a good study.

Last weekend went to the dentist, because the left side of the teeth swollen to the right and swollen, the doctor said wisdom teeth did not grow well, to pull. Can't decide. This week the teeth swelling, feel the whole people are more spirit, combat effectiveness of the table.

Due to the product before the time of vacation, back to organize a variety of needs, resulting in the demand delay. Leaders see think not ah, give us a will decorate the next current direction, summed up is:

While waiting for resources (requirements, interfaces, cut diagrams), try to do some optimization work on the app.

The new version of the Friday was online, and this week I had a merger of develop, release, Master Branch, and learned something about Git flow. Git is a good thing, or the actual combat to understand.

The interface is a painful process because the interface needs fake data before it comes out, and encounter unfamiliar service side, you want the data structure and the end of the server to give a lot of information structures, then fill the data will be very painful, so you have to determine the data model and write false data; Have problems to be patient debugging, follow up don't always think others wrong , it's usually your own problem before you ask someone else to make sure you're right.

Why did Outer Mongolia go out on its own? Internal chaos, foreign enemy while disorderly robbery, unable to take care of the outward must first in the technical harvest

1. The company internal migration Gitlab address, the result branch is too many, the command line uploads a very tired ah. Colleagues recommended the small turtle Tortoisegit, the original turtle can not only be used for SVN, but also can Git. With it a key to upload all branches, very fast.

2. Upgrade Gradle Remember to update the root directory under the Gradle plugin version, or packaging will be an error

3. To prevent the event from being passed to the next level when clicking Drawlayout, you can add a onclicklistener to Drawlayout

4.git add several parameter differences git add-a save all the modifications to git Add. Saves new additions and modifications, but does not include removing Git add-u save changes and deletions, but does not include new files.

5. A thrilling branch merge process, "Occupy places and other landfills"

6.Git Tag
Tag points to the ID of a commit, which can be used to identify a node, in many branches, you can merge the branch to one, and then in different versions of the tag, to facilitate follow-up according to the tag switch to the specified version.

View Labels
git tag

Playing label
git tag-a v1.01-m "relase version 1.01"
Note: git tag is the label command,-A is the tag, followed by the new tag number,-M and the following string is a comment on the label.

Submit tags to remote warehouse
git push origin–tags
Note: Just as GIT push Origin master submits local modifications to the remote repository,-tags can submit all local dozen labels to the remote repository.

Get the branch that corresponds to the remote tag
git checkout tag_name can get the tag's corresponding code. But at this point git may prompt you to be in a "detached head" state, because the tag is equivalent to a snapshot, can not change its code, if you want to make changes based on the tag code, you need a branch:
git checkout-b branch_name tag_name
This creates a branch from tag, and then it's the same as the normal git operation.

Delete Label
Git tag-d v1.01
Note:-D means delete, followed by tag name to be deleted

Remove Remote label
git push origin:refs/tags/v1.01
Annotations: Just like git push origin:branch_1 can delete the branch branch_1 of a remote warehouse, the colon is empty before the deletion of the remote warehouse tag.

7.ImageView Tint Property, you can modify the color of the picture ...

8.bug:

One or more layouts are missing the layout_width or Layout_height attributes. These are are required in most layouts.

Method 1: Restart as, not useful
Method 2: Update dependent v4 package version, not useful
Law 3: Remove Layout_height from the Attr/actionbarsize

9.CDN:

Content Delivery network distribution network, by placing node servers in the network to form a layer of intelligent virtual network based on the existing Internet, CDN system can be in real time according to network traffic and the connection of each node, The load status and comprehensive information, such as the distance to the user and the response time, redirect the user's request to the nearest service node of the user. The goal is to enable users to obtain the required content, solve the Internet network congestion situation, improve user access to the Web site response speed.

10.SP and DP difference: scale-independent pixels/density-independent Pixels SP can scale with the screen density as well as the DP, and will also follow the user to set the system font size scaling; If your App doesn't have a whole Body for large fonts to do fit, separate for the TextView set SP, once the user set a large font, interface layout, experience rather bad, but also as a DP. Summarize

This week the state of the good harvest is quite a lot, but there is a part of the design pattern of knowledge need to write a blog to deepen understanding, but today again added classes, so had to postpone. In general, the harvest is still a lot of, brave teenager, quickly to create miracles.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.