Access Twitter and Facebook in China

July 25th, 2011

If you plan to use twitter for iphone(iTunes) in a place where twitter dot com has been blocked, like me, then i recommend you to take a look at twip.

Quote

twip is a twitter API Proxy in php,like birdnest.

twip is licensed under Mozilla Public License 1.1

If you are a user and want to have your own API proxy, please read ForUser Guide.

If you are a client developer and want to support twip in your client, please read ForDeveloper Guide

In my testing until now it works like a charm!!
And it’s great to breathe the free air.

And yep, i’ve also tried hard to find an facebook proxy. Those online proxies out there either are blocked already, or on the way to be.

Same to those free VPN solutions(Paid one is a good solution to the gfw blocking, if you’re willing to pay).

Tor(and the bridge part) is a little bit slow to me. And i tried also to setup my own with the help of phpproxy, and unfortunately failed(fk gfw, and the creator fxd!).

So for now I still use GAppProxy in my computers, though ssl problem happens time to time. In the iPhone due to the ssl issue, those fb and twitter apps that require ssl cert to authenticate has no luck for sure.

Hope it helps.

Use iPhone to Update Tao Weibo

November 11th, 2010

It’s been a LONG time since my last post, really. Over three months. Long indeed. Why soooooo long? The answer is Tao Weibo, a micro-blogging service powered by StatusNet aiming to accumulate the record of TaoTao‘s growing up experience, either painful or pleasant, happy or sad. ‘Coz we believe in the end they all are  significant parts of memory.

One of the reasons I choose StatusNet is because it has an iPhone app called StatusNet Mobile(iTunes), by which the taken photos in the phone could be easily uploaded. Normally I will resize picture to a lower resolution by the free SimpleResize app, ‘coz that will cut down the traffic cost and fast the upload speed when the phone is in cellular network. If you wanna add some effects to the original photo, I may launch the free photo editing tool iRetouch Lite to make it.

And I just found the short message would be much more nice and cute with some emoji added, since I happened to update the phone to the whited00r firmware v3.3 that seamlessly supports emoji keyboard. And StatusNet Mobile does support emoji, too.

However, only when your prime browser support emoji then can you see them well. Chrome user please install this extension, Firefox user please follow this guide. IE user? sorry.

iPhone 4 Unlocked by Dev-Teams’ Ultrasn0w 1.0-1!

August 5th, 2010

The most well-known online iphone hacking group the iphone dev-team just announced that the iPhone 4 has been unlocked by the updated ultrasn0w 1.0-1(via the official blog here).

iPhone 4 Unlocked by Ultrasn0w from Dev-Team

Quotes:

Version 1.0-1 of ultrasn0w works for:

  • iPhone4 baseband 01.59
  • 3G/3GS basebands 04.26.08, 05.11.07, 05.12.01 and 05.13.04

(If ultrasn0w doesn’t show when you search Cydia, add the repo:  repo666.ultrasn0w.com)

Cheers!

Jailbreak is legal now.So?

July 27th, 2010

Sure it’s a good news, for all of the iphone jailbreakers, esp. people of the States.

But does it mean Apple will modify their warranty policy accordingly and promise to provide post-sale service to our devices?

If not, what can we get from this?

Let’s wait and see.

Update(Jul.27,2010): Consumers still shouldn’t jailbreak their iPhones says Apple 

But what happens if jailbreaking goes mainstream as a result of the new exemption?
What if a company like Adobe or Google were to publicly embrace jailbreaking in order to distribute apps Apple doesn’t want on the iPhone?

First Unofficial iPhone 4 Entering ZGC of Beijing,China

June 28th, 2010

‘Someone fly to Japan to get the iPhone 4 after a in-line waiting. And currently it costs 8~9k RMB(1178~1325 USD) and has been pre-ordered.’, said the ZGC reseller,’the device is still un-jailbroken, no phone call and sms sending and receiving’.

Via XinhuaNet.

With that price, I’d rather choose to get an Mac Pro, personally.

How-to: Migrate data from WordPress 2.9 to WordPress 3.0(subsite)

June 23rd, 2010

This is exactly how I get my original data of cuimengsuo.com back online to cuiziqi.com/cui/en.
My method requires you have an idea of database, a little bit MySQL programming skills, and a DIY-holic spirit.

First allow me to introduce my situation, you know, the context.
1.I’ve been added a new sub site http://cuiziqi.com/cui/en (Thanks to the new WP 3.0, the steps are pretty easy, check out the official guide here. Naming it en ‘coz the posts are in English).
2.and I’ve had a database online where all my previous data of cuimengsuo.com are stored there.
3.Besides, I’ve uploaded all my uploads(/wp-contents/uploads) to my current hosting server(since I already knew that all subsites of WP 3.0 share the same uploads folder, I then uploaded them to that folder as well).

One more thing, a simple look at the database you’ll know that WP will save the all of your new sites’ data in the tables with the prefix wp_2_, like wp_2_posts, wp_2_terms, etc. Besides, further side by side table compare will tell you that which table/data are created by your installed plug-ins, other than WP itself(I assume here your new site are a fresh install until now, like I did).

Now time to figure out what exactly you wanna transfer.
In my case, all I care about is my posts, pages, tags, categories and comments. No links, since I didn’t have many. No user either, since I’m the only author.

Warning: I suggest you do a database backup before start. Log on to your phpMyadmin panel, open two tabs which shows your the old and the new database.

OK,now showtime.

first, the posts and the pages, accordingly the table wp_posts.

1. Modify the old wp_posts table.
>>rename it to wp_2_posts.
>>remove the field post_category, ‘coz there’s no such a field in the new wp_2_posts table accordingly.
>>update the domain name string in the post_content. In my case, from http://cuimengsuo.com to http://cuiziqi.com/cui/en.
update wp_posts set post_content=replace(post_content,’http://cuimengsuo.com’,'http://cuiziqi.com/cui/en’) WHERE instr(`post_content`,’http://cuimengsuo.com’)>0
>>export the data to a zipped sql file and save it to your local hard disk.

2.Modify the new wp_2_posts
>>clear the table
>>uncheck the field ID‘s AUTO_INCREMENT property.

3.Transfer the data.
>>goto the new database and import the data.

4.Enable the new table wp_2_posts.ID‘s AUTO_INCREMENT.

5.Done.
Visit your blog and you should see your posts back.  Great, eh? Not finished yet, let’s move on.

Now comments, obviously the table is wp_comments(I just leave wp_commentmeta out and seems until now everything works fine. but if you think it wrong, please correct me via comments). Most of the steps are similar to what we’ve done in posts actually. Here they are.

1.Update the old wp_comments table.
>>rename wp_comments into wp_2_comments

>>Url replacement in two fields: `comment_author_url and comment_content.
update wp_2_comments
set `comment_author_url`=replace(`comment_author_url`,’http://cuimengsuo.com’,'http://cuiziqi.com/cui/en’),comment_content=replace(`comment_content`,’http://cuimengsuo.com’,'http://cuiziqi.com/cui/en’)

2.Prepare the new wp_2_comments table.
>>do the clear, like we do in the posts;
>>uncheck comment_ID‘s AUTO_INCREMENT.

3.Export the data from old table and then import it into the new one.
4.Restore the new table’s AUTO_INCREMENT.

Last, the tags and categories. They all are in the following tables: wp_2_terms,wp_2_term_relationships and wp_2_term_taxonomy.
Basically the steps are the same: clear data for the new table, disable AUTO_INCREMENT if necessary, do the export and import, finally enable AUTO_INCREMENT accordingly.

All done and enjoy.

Cui – On My Way is back!

June 23rd, 2010

After couple of hours data migration work, I finally got this:

almost all valued contents of the blocked blog http://cuimengsuo.com has been transferred to this new address http://cuiziqi.com/cui/en.

That is to say, Cui – On My Way is back. And reloaded in the new URI as promised before(not by sub-domain,but sub-virtual directory).

And I’ll keep it updated as usual. For friends like you, your visit and comments are warmly welcomed as usual as well.

GWT in iPhone is Blocked in China

March 11th, 2010

Not just in the Wifi network as shown in the screenshot left, same in CMCC’s cellular network. That’s why I guess it’s blocked by the  famous GFW.

And I don’t know exactly when GWT started becoming unavailable here in Beijing. I don’t know the reason either. Not mention when it will come back.

But I won’t leave Google Reader for that, since I’m addicting to the Buzz right now, who’s tightly integrated with Google Reader’s Share feature.

In the meantime, I’d like to trying some more native news client like NYTimes, Time Mobile and infzm(Chinese, App Store), ‘coz they can provide a better reading experience.

My Fix: Cydia’s Host Unreachable Error

March 8th, 2010

Cyida became unusable last week here in my case, just after I restored to the firmware 3.1.3. Whenever I tried to do some updates on it, I always got the error message of ‘Host Unreachable‘ and related blablabla. Even the official one apt.saurik.com is no luck. BTW, All this happened in my two Wifi avaiable spots: office and home(I didn’t try in the cellular network, ‘Coz I don wanna run the application that way).

The solution is actually easy, just remove those bad URLs who causes this errors. As to why even the offcial apt.saurik.com is reported as bad url(Manage->Add Source), please don’t ask me.

But how to remove?

In my case(just after a fresh restore), a USB solution is the only choice, either DiskAid or 91 Assisant Suite for iPhone, as far as I know.

I will not choose 91, because I know it will install its daemon on the device and that’s conflict with my power-saving principle(daemon as few as possible). Please help me to confirm that I’m right here, ‘Coz I assume DiskAid uses the already installed and running jailbreak demons which I’m not sure what it is and if it’s ok to toggle off.

OK, now please launch your DiskAid with iphone connected and check to clear up the following things:

/private/etc/apt/sources.list.d/
/private/var/lib/apt/lists/

Remove all the existed unavailable sources(lists and downloaded packages) accordingly. For me, I removed all(Make your decision here, please, since I just wanna a quick and dirty solution).

Now launch Cydia and manually add the sources you want. Here’s mine until now(see, the official one is deletable as well.Actually I did try some other sources, but all reported as bad.):

There maybe some cons that I haven’t realized yet, to my quick and dirty solution, so please share with me if you know more by the comments.

Anyway, I’ve got what I want(iCostaPY 3.0, Cycorder and 91进程管理) from Cydia, and I’m a happy Cydia user now.

WordPress 3.0 And This Site

February 24th, 2010

Currently I’m pretty eagerly looking forward to the release of WordPress 3.0. You know why? Because I’m gonna make some adjustments to this site which I prefer to be done by the new 3.0.

To be exact about the changes, First I’ll transfer my previous(and future,actually) posts on Cui’s Space to a sub-domain of this site say: zh.cuimengsuo.com(You ask how? Well, don’t worry, that’s already been taken care of). Then I’ll add two more sub-sites here: rong.cuimengsuo.com for my wife who’s gonna write something she’s interested there; and tao.cuimengsuo.com for my lovely swearheart daughter Taotao where all her previous photos would be placed(most likely it would be a job of redirection to the current gallery).

Now you see the core part of my need is the support to multiple blogs in the same and one and current WordPress installation(you know I’m lazy to find another solution), which is exactly what I can benefit from the merge of  the WordPress and WordPress MU. And I know the release date is in Apr. 2010. Most importantly until now I know the development is still on schedule through this official report.

And I’m counting down.