今天试着用了一下socket编程，虽然是以前基本没有接触过的领域，不过因为Unix/Linux基本哲学之一就是“一切皆文件”，一些最基本的操作倒也是很快就上手了。就和普通的文件操作一样，“open -> write/read -> close”。
Continue reading Socket Learning
Continue reading 10年後の私へ、永远不会后悔与CLANNAD的相遇
1. Clean app's tmp/Caches folder. (tmp and Caches folders are folders which their application use store some temporary files)
2. Clean app's iTunesArtwork file. (a 512x512 icon file.)
3. Clean Inboxes folder. (System level)
4. Clean SafeHarbor folder. (SafeHarbor folder is used to save your previous app data when you restore your device from iTunes or iCloud.)
5. Clean Safari downloads.
6. Reset your apps just like you installed them one second ago
7. Support whitelist.
http://apt.0xbbc.com or BigBoss.
Continue reading OSLite8 1.0 release
Those days, I upgraded my Xcode to XCode6. Then when I compiling a command line tool, it gave me 1 error that
target specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphoneos' platform
Continue reading iOSOpenDev command line tool build error
As all we know, iOS 8 - iOS 8.1 are able to be jailbroken by pangu jailbreak. After jailbroken my device, I found it is much different from previous iOS version.
Continue reading The application hierarchy changes in iOS 8
When I did apt-get upgrade operation on my server, there was some warning messages that said: locale: Cannot set LC_ALL to default locale: No such file or directory. Continue reading locale: Cannot set LC_ALL to default locale: No such file or directory
When I had the class 「Fundamental of Computer Science」 tonight, my teacher present a slide that writes void main(). I pointed out the mistake that main function's return type should be int in C/C++.
The father of C++ program language, Bjarne Stroustrup, once posted this on his personal website in column C++ Style and Technique FAQ.
Continue reading Do NOT use "void main()" in C/C++
Continue reading 显示金字塔
Yesterday evening, 0xSuu sent me a problem but which requires to write in brainfuck language. The complete problem is here.
Continue reading a brainfuck problem