OS x hide desktop card reader icon

Retina MacBook Pro No longer with the CD-ROM drive,So we naturally can not add more hard drives to a computer。and,Because Apple uses PCIE SSD,So the hard disk capacity is also limited by the cost of,From the previous mass,Into a high-speed。

Fortunately,Apple reserves the SD card reader。Such,We can buy an SD card for your Mac expansion - after all,,Now the SD card capacity can reach rmbp The low with the --128GB

I plan to use does not create[……]

Click link to continue reading...

Encryption and decryption - make your information more secure

I remember someone saying:

We, as an ordinary person,Money is not state apparatus more,No country strong force machine - but on cryptography,It may be the first individual to an equal footing with such huge machine。

Internet all the time filled with a variety of information,Every word we uttered,Like every point,They are the equivalent of saying to everyone listening,it's here,Every word we can spread very far,Our every move,Potentially seen by anyone。This is different in our daily life。Our lives are visible and tangible,We can perceive and control[……]

Click link to continue reading...

A programming algorithms Huawei interview questions

Friend sent today a very special topic:

Topics:There are two array a,b,Size n,Any of the values of the array elements,Disorder;
Requirements:Through the exchange of a,Elements in the b,Elements of array a and b elements in the array, and the difference between the minimum。

I feel familiar at first glance the problem ... ... And domestic c exams almost,But a closer look seems to be a bit more difficult,Do not look like that has a clue what the problem。Ok,I asked to know,This is Huawei's interview questions。

Is, after all, interviews,So it is a little difficult。- But after all, is the ah ...[……]

Click link to continue reading...

iOS Concurrency:Getting NSOperation and Dispatch Queues

Recommended by a friend,Encountered such a good article describes concurrent,I translated it for everyone to read。I am not a professional translator,Limited level。Error is inevitable,If readers find the text is wrong,Welcome messages treatise!
R0uter
Article translated appcoda iOS Concurrency: Getting Started with NSOperation and Dispatch Queues

In iOS in development,Concurrent will always be seen as something of a monster level。it[……]

Click link to continue reading...

WordPress Forgot your password message "Sorry,The key appears to be invalid. "

The new registration process has changed Wordpress,It does not require users to enter their own password to apply for registration,But in turn sent to the user's mailbox password recovery link。

This has the advantage of avoiding some of the security risks associated with the mailbox but also the way。but,This has been further requirements for building Wordpress bloggers these technologies,such as:

Need to configure their own mailbox - if your space is not provided, then the mailbox,Typically the server on behalf of,Such mail is very easy to get into the junk mail list - and some even directly receive the。If you are self[……]

Click link to continue reading...

PAC with multi-proxy load balancing is similar COW

Some time ago I found using COW this projectAgents do have a very nice feature is that two agents can achieve load balancing and more lines! It is a major default do other backup,By configuring,The proxy mode to hash, you can achieve load balancing multiple lines!

Of course, COW is flawed,It is strange for the first site will be directly connected at least once,This will cause DNS leak,I wrote about this before the specialan articleTalked about,Not repeat them here;The second with a long time do not know my habits problem or algorithm problems,You can often still encounter[……]

Click link to continue reading...

Chapter VI with the stack view(Stack Views)UI design

 

iOS9 brings many new features to make our life easier development,Stack Views profile is a good example. Before you give a brief introduction of the auto layout. Let us work together in this example is simple, but,With your app UI becomes more complex,You will find all the iOS devices to provide the perfect interface constraints become more difficult. This is Apple introduced Stack views in the latest version of Xcode and Ios a reason.

This chapter,We will continue to discuss the interface[……]

Click link to continue reading...

Using the open source version of Swift

Swift is already open source version 2.2 Be,However, with respect to 2.1 No particular improvement。Swift now supports OS X and Ubuntu,Supported on Ubuntu 14.04 and 15.10 Two versions,You canThis pageDownload the latest version compile(There is no official stable version)Now I will talk about how to use it on both platforms。

OS X

Code Signing

On the right side downloaded pkg installation package name should have a small lock,Click on the little lock see detailed content[……]

Click link to continue reading...

Swift is open source

Swift is now open source。Apple today launched the open source community Swift,New tools and resources include the same stunning:

  • Swift.org - A Swift used to do open source community site;
  • Public code repository github.com/apple
  • A new Swift Package Manager to easily share projects and compile code;
  • Swift comes with the advanced features of the kernel library project with a standards-based library;
  • Platform includes all of the Apple platform and Linux。

Now[……]

Click link to continue reading...