OS X open RamDisk to accelerate as Safari and Xcode

With the upgrade version of Xcode,speedMore slowly,In particular, Yiyanbuge "Whiteboard"I believe we will have problems encountered。

This is the very thing affecting development efficiency。If it is possible,Then we will Xcode cache file into memory,It should be much faster speed。(Although rmbp of ssd have a very fast,But compared to memory,Or far worse -For older machines for mechanical hard drives,Speed ​​will be more apparent。

- Remember the RamDisk Windows do? in fact[……]

Click link to continue reading...

UITableViewCell highly dynamic configuration

UITableViewController Is quite a common space in the iOS development,It's very early cell can support highly adaptive,Or is highly dynamic。In development,If the cell in the complex layout of content - such as a micro-blog even drawing with the word。Well, this time automated highly dynamic becomes very useful - you do not have to calculate the total。

In fact, many people will not use this highly dynamic,Some people even use the time to initialize itself a new cell,Then write[……]

Click link to continue reading...

Convenient to build their own use TimeMachine program

Finally I changed a relatively stable working environment,Now,This is my desktop:

All right,Anyway,With mobile hard disk backup on a regular basis is not a permanent solution,so,As a poor force,We give yourself to find a suitable、A convenient backup solution。

As the saying goes:

Backup is not,Wicked。

Then,We are concerned that my design。

design

First of all,As a poor force,The first element is the economic program designed to back up ......?♂️ know almost nothing in the popular J1900 and his ilk too expensive,After thinking before or want to pass out,after all[……]

Click link to continue reading...

Iso image written in the mac

Loading system is a very common thing,Think about it for so many years since I have to save myself invisible in how much money XD

Anyway,Written on the windows, such as CD-ROM image will be easier (actually more difficult),Since many years because I always spare some common tools,In the mac,It is more tragedy,Not even a really easy to use 100% of CD image writing tool。

In fact,macos a unix,It does not require third-party tools can also get,You can use the well-known dd。This trick works even linux。[……]

Click link to continue reading...

"important Notice: Say about to close. "

Just remember when doing blog,I also tried various third-party China's social comment system,And even wrote an article for analysis and comparison of the pros and cons between them:WordPress plugin common social comment Comment,Of course,Try again in,After selecting one of them and spent some time,I eventually go back to the wp's own comment system,Later, I wrote an article to illustrate this matter:I did not use a third party commenting system,After a year and a half now look,My choice is how wise!

?You used to say of,Think of ways to export for many years Comment article[……]

Click link to continue reading...

Xcode automatic version

Make sure developers have had such trouble:Version submitted wrong!

Version of the compiler and testing more,When the inevitable submitted only to find the wrong version number。Or is the background version number is correct,Reception forget to change the version number。In fact,Allows reception automatically obtain the version number of the background data,For example, this:

But

Background version still have to manually write ah! It fills the major version number,Different programs have their own different style,This is not a number and some even skipped,Then structure[……]

Click link to continue reading...

A stack automatically sorted Swift

a year ago,I'm here git onReleased aSwift used to achieve stack,There are two versions。Because Swift itself does not achieve this thing - even though the official part of the tutorial is to use genericsThe StackExamples cited。

Perhaps people think this is too simple, right

Anyway,This time I play this thing,Because the HMM Viterbi algorithm needs to be done to trim,Otherwise, the path too much unnecessarily increase the amount of calculation - after all,,We are concerned first,Who would pay attention to second it?

so,This stack is based on native Arr[……]

Click link to continue reading...

I pocketed the input method users add automatic reply robot

If that FIG.,I pocketed the input method of the user group broke a Robot,As the user off the grid input method more and more,Some admiring novice more。Many common problems repeated questions,Made people battered,If you can have a robot,Like Siri as,It automatically captures those keywords and then respond to these users,Not Miya? So that users can get answers carefully edited,And I can free up more time for you to write code on behalf wan xi。

of course,Such a robot I've ever seen,So I think there must be something ready-made,Obviously,Under the first search I found this[……]

Click link to continue reading...