Monthly Archives: December 2015

GitHub tips

Setup $ git init $ git remote add origin git@github.com:dmuth/git-101.git $ git remote -v origin  git@github.com:dmuth/git-101.git (fetch) origin  git@github.com:dmuth/git-101.git (push) $ git push -u origin master Counting objects: 3, done. Writing objects: 100% (3/3), 225 bytes, done. Total 3 (delta … Continue reading

Posted in CS Research&Application, Uncategorized | Tagged , | Leave a comment

iOS Tips: NSUserDefaults

How to process default value? http://oleb.net/blog/2014/02/nsuserdefaults-handling-default-values/ Rephrase all user defaults keys so that NO or 0 is the correct default value. In our example, this would mean renaming “ShowTutorial” to “HideTutorial”. This may be a workable solution for boolean values, … Continue reading

Posted in iOS, Uncategorized | Tagged , | Leave a comment

MapKit tutorial and link to fix bugs

If someone follows MapKit tutorial in Ray Wenderlich website and meet some issues and then refer following links to fix, especially for Swift 2 users. Complete code link Tutorial: http://www.raywenderlich.com/90971/introduction-mapkit-swift-tutorial links to fix bugs in the tutorial: http://stackoverflow.com/questions/33524664/type-of-title-has-different-optionality-than-required-by-protocol-mkannotatio   http://stackoverflow.com/questions/31085299/kabpersonaddressstreetkey-was-deprecated-in-ios-9-0-use-cnpostaladdress-streeContinue reading

Posted in iOS, Uncategorized | Tagged , , | Leave a comment

《鸿观》摘录

工业4.0 1.智能化生产 生产个性化 2.智能制造业的服务化 云生产 3.智能化的跨界 大数据(交通数据)+金融服务业(银行/保险) 4.智能化的生态 模式识别(发现探索规律) 知识自动化生产 互联网+物联网 消费生产娱乐

Posted in IT, Uncategorized | Tagged , , | Leave a comment