Month – August 2015

In OS X 10.11 Compiled Twister

Twister He is a famous anonymous to the center of the micro-blog system,It borrows as we know itBitcoinas well as P2P protocol,Let microblogging can no longer be deleted posts,This is an anti-censorship microblogging system。but,Its use at present may not be opened as simple as microblogging website login account to。In the local computer to install a pre-compiled client is a good choice - but OS X, not so easy to do,[……]

Click link to continue reading...

Slow brew update image update source solutions

Brew is similar to apt-get and yum package manager is a OS X,,It relies on Github ..................

so,While you are lucky enough to be downloaded to the brew,But you certainly can not update the brew。Cause you know。However, although it can not update brew,But this only refers to brew the manager itself Bale,Or software that can be installed。However, due to not use[cra[……]

Click link to continue reading...

It is time to use the PAC whitelist

As early as 12 years time,I wrote an article,More beautiful intelligent PAC! -Flora,introduced Flora this project,At that time we said gfwlist Every so often it needs to be updated to run well,Otherwise, there will be a lot of pages does not open。

gfwlist blacklist is an open source project,It consists of thousands of users gathered from contributions,In order to achieve self-being GFWed domain[……]

Click link to continue reading...

Add a background image to a web

Sometimes we do a simple placeholder page out,This page does not need any of the content,Simply a background image to chapter,But simple things are often more difficult to achieve。

This is what I wrote a page directly encountered problems,Code like this:

It looks perfect solution, right? But actually encounter[……]

Click link to continue reading...

Blue light Lantern 2.0 Official release

As early as last year, Lantern It has been released,Worldwide sharing tools as a new breakthrough blockade。When it is completely closed beta,You need to apply and wait for the message to verify。However, it is based on Java,Mac version of the basic disability ......

If you have a ladder,You can watch a video below,This is available when the time Lantern,Official website released a promotional video。

Doing great。

h[……]

Click link to continue reading...

WordPress Chinese users to upgrade 4.3 Backstage after the problem is solved

In the previous article in which I Tucao own stupidity,But then I successfully solved the problem。

Now look at how to do it

Symptoms

First Symptoms,Chinese version of Wordpress (especially upgrading from an older version all the way up) users to upgrade to 4.3 You may encounter backstage after the editor can not switch the "Visualization" and "text" mode,"Add Media" button is disabled,Code highlighting plug[……]

Click link to continue reading...

WordPress updated! 4.3 Billie

Luckily the first time more 4.3,Editor finally native support for pseudo markdown

The first support icon Set the entry

Edit menu when finally able to instantly display

New users can then automatically create strong passwords

——————

I want to say ............ background enhancements and code highlighting that this is no trouble even ah! ! ! !?

Start tragedy

Last night the night[……]

Click link to continue reading...

Poker 2 Mechanical keyboard Mac key to modify

Use Mac you can not think there are many benefits of this,Of course, it is difficult to match the appropriate keys keyboard is one of the drawbacks you can think of。

After a long tangle,I was into the Poker 2 ,84, commonly known as a key we are 60% Keyboard,Or keypad。This keyboard is like your home keyboard,From the ribbon button to the right to have all cut,Then the outer border of the narrow way。

As you can see,[……]

Click link to continue reading...

Unified style questions about the translation

First, this translation is not an open source translation,According to the future income from donations,Members will be compensated (perhaps not

Secondly, as a contributor to translate your cool is a prerequisite。

 

basic rules

  • First you will get an author of this blog account,With this number in this blog post your translation,Translating chapters use the "Save Draft" feature continuously updated。- You can save a draft me[……]

    Click link to continue reading...

How to hide text statistical code

In General,We will use statistical code when creating a third-party independent blog to monitor the blog visits,In order to obtain some small sense of accomplishment ~

In short,When those statistics add tags they always seize the opportunity to give your own website advertising - word "Webmaster Statistics" and other nasty hidden in calling in,You can not afford to also clear how。

Other,Even if unrealistic Text,There nonsense pictures show,I rely,[……]

Click link to continue reading...

Generics

Generics are another important object-oriented concepts in,In addition to multi-state,It further increases the range of reuse code,For Swift language,,Generics throughout its always。

From Print() Speaking

We start from the first day of class in the use of this global function,It allows us to show the statement on the screen,Very simple to use,It can pass a string。

Incoming string displayed string[……]

Click link to continue reading...

Always given:Exception Handling

This lesson we get to know about the Swift error handling

In calling the method and the time to write a wheel,There will always be wrong sorts of weird,Normal is already compiled software,Some unexpected errors also occur。but,Among these errors,There are some that can be identified and captured - they can be expected。

Predictable error

Why do we say that there are some errors that can be expected to get it? For example,[……]

Click link to continue reading...

Static methods and static properties

Not all of the dynamic

we all know,The method is put in the running instance。That is the result of the implementation of the method is based on the instance property came,The property is an example of the current state of change - we call it "dynamic"。

But really all it is dynamic? In fact, not,Some methods give results which will directly and according to your call,It does not need to generate change according to the change instance attributes - that it is produced anyway[……]

Click link to continue reading...

Lifetime:Automatic Reference Counting

In front of so many bedding,Now finally we want to address this thing the garbage collector。

ARC

This is not the Ark ...... This is automatic reference counting (Automatic Reference Counting),This thing is used to manage Apple memory。

Its function is that the garbage collector on the garbage heap。It would not have been able to ensure that all heap objects that reside in the running to be released in the heap。Ensures that[……]

Click link to continue reading...

Initializer

At the end of the previous lesson,We finally made clear the process of creating an object,Then,Speaking create an object looks like is to call a method,This method may in the end what is it?

Initializer

Not wrong,When we initialize a class object when,We did call a method - initializer。

Initializer method is actually a special provision of the,It is possible for the class to initialize。

Let's imagine,[……]

Click link to continue reading...

"Stack":In the end what happened "heap",What is a "stack"?

It's time to look at the living space objects and methods - and want to learn object-oriented,I do not know where to put the methods and objects is a very embarrassing thing - after all, we still have to face the garbage collector,Want to make the garbage collector to help you do more,We have to understand its working mechanism to some extent,Learn how and where to store objects,if not,You have to write a program to the vulnerable!

Courses in front of us[……]

Click link to continue reading...

"Fatal square":Multiple inheritance and protocols

Last time we mentioned agreement,But we talk about it the way an application,This lesson we take a deeper look at this class and used up almost exactly what profound esoteric protocol。

Now,We again review the shameful inheritance tree once:

Here we wrote a weapon ...... is used for attack and defense。Then,As a game,Model weapons can not just only in one place[……]

Click link to continue reading...