When encountered Chinese wordpress Categories,404 the perfect solution!

This problem is encountered a few years ago,Looking back now look,The original solution did some sloppy - because I overlooked an important factor,That's coding problems。

According to this article after solving approach actually works - provided that you have to click in the blog to be effective,But once you meet like this crawling connection:

http://www.logcg.com/%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80

Although the browser's address bar after opening the show is still in[……]

Click link to continue reading...

Internet taught you Science Series IV:Pretty smart PAC!–Flora

I believe a lot of cheese have seen we write"You taught science Internet Series"We have been able to maneuver and handy inside and outside walls。But you have not found what I wrote there aSmart pacs things? This thing is flawed (At least I think so uh),You use this stuff comes fromautoproxy2pac,It is a precise record of the database by a wall site,Maintained by countless volunteers,Website collects experience of Internet users rely entirely on the wall,It is said that more than 3,000 sites containing,For such,But the wall is not all collected into websites or,When you get on niche websites[……]

Click link to continue reading...

Subscribe by rss Youku personal video

Maybe you will not like me super powderGoogle Readerwhat,Every day I look at my google reader Login subscribe news,so。。。I also want to usegoogle readerYouku was like to subscribe to the cow's video,Or else every day to open their space to view the updated page is a really annoying thing ...... (although unlikely anyone Well done daily update。)
But I foundYoukuActually norss? ? Investigation,Found out that in order to earn advertising fees so the hidden rss,This is easy to handle,Let's put it manually pulling out。
Youku open a personal home page,Such addresses are,Here we will go with the king freely boss page for demonstration,Oh yeah

http://i.youku.com/u/UMjI0ODEwMzQ4

You open another person's home,It is similar to the address,Remove similar places,I found a personal id,which isMjI0ODEwMzQ4(Careful comparison you will find the capitalTheAlso repeated)

However, the direct use of this address is not acceptable,Obviously, this address is encrypted,The analysis in short, I find out,This address isBASE64Encrypted。so,Encrypted with this stringBASE64Then decryptionDivided by 4,To ok。

Such,We get the real id boss,That 56,202,587.

Then,Youku rss address format is like?

 

http://www.youku.com/user/rss/id/56202587

 

This is my neighborhood out from google reader,You just need id string back into your own work out of home id,Google reader can successfully subscribed!

At last,Reference to the contents of this partHereHereIs aOnline base64 encryption and decryptionWebsite,Province go search。:)

 

[……]

Click link to continue reading...

c = getchar()) != ' N' and for loop

learnedfor loop,In practice when it came to getchar()) != ‘n’ The problem。I.e.while loopSo that in thefor loopEnter the void (to be treated as a character。)

All to known,getchar functionUsed to get the character,And if the direct use in a loop,It found that the situation will not be able to press enter characters into the system。The reason is the carriage return character is so ~,Enter the same time we want to join it is " \n "Discrimination,That is[……]

Click link to continue reading...

How to make the stack display highlight OS X system files?

Do you want to stack your dock on such an effect? In fact, the lion would have this effect presets,Just do not open,Now let's open it manually:

First, open the "Terminal" (Applications ->Utilities),Then enter the following command:

defaults write com.apple.dock mouse-over-hilite-stack -bool TRUE;killall Dock

At this time the system may be slightly Caton seconds,And then re-opening the heap[……]

Click link to continue reading...

The c programming is really not a good book in the baby in the baby

I continue to read this. "C Programming》,It isHemopurificationThat this,Third Edition。I bought it was genuine,Really I do not know why so many people recommend this book online,sky!

About thatvoid main () error shakingI do not do more than Tucao,,,

Saying today do exercises,Decisively I found a mistake。

In book 89,Exercise Exercise 4.5, his title was an example of this is the:

  1. #include<stdio.h>
  2. int main(void)
  3. {
  4. [……]

    Click link to continue reading...

Science taught you access Series Three:MAC OS X 篇

In fact, they are the focus of this,Other,In os x is a graphical interface under oh ~

All right, Direct lecture。

First of all,to hereDownload SourceThis software is calledGoAgentX,It is designed for use on OS XgoagentOh user-developed

of course,Compile need to use Xcode,Since most of the cheese and do not download the software giant,I translated well for everyone,Use the Xcode4.0

everyoneDownloadLike。Download after decompressionThe app drag and drop files directly into the applicationInside is like。Then double-click to start。[……]

Click link to continue reading...

Science taught you access Series II:windows platform configuration chapter

Hi, everybody,We have already registered a good appid,Why not set the 16-bit code it? Because we really need is not so much security,Anyway, your Google account is not used to do secret things chant! In short,I did not get。Haha

All right,From now on,Let's configure your pc computer online。

First of all,To download the required files。The official word isHereThe stable version is 1.8.4,If you can not open the case,I am here to downloadBackupIt!

After a good download,Tookgoagent folderExtract from,On the C drive or the D driveRoot[……]

Click link to continue reading...

Taught you how to access one of the series of science:Register appid

Today, I may be too tempting for all hair in the state,Everyone made me ask questions of science online。。so,I will be finishing the tutorial! In fact, this is not a highly technical is no secret,On the contrary,I use this method or methods on the network Tinghuo。As for the principle,It is based on GAE application,You can refer to this chart to understand。(Click for larger image)

 

Based on this principle we,Bale set up a proxy server in the local。Then use a software,Be calledgoagent。You can also goGoogle search[……]

Click link to continue reading...