2014年8月21日
2014年8月13日
Change Computer Name on Mac OS
8月 13, 2014 山姆
The Mac computer name can be changed in
“System Preference” –> “Sharing”
Swift Programming – Resource
8月 13, 2014 山姆
Apple Swift 官網 :
https://developer.apple.com/swift/
Apple Swift Blog :
https://developer.apple.com/swift/blog/
Xcode 6 beta version download :
https://developer.apple.com/swift/resources/
Swift presentation, Docs and Sample code :
https://developer.apple.com/swift/resources/
The Swift Programming Language 中文翻譯版本 :
http://tommy60703.gitbooks.io/swift-language-traditional-chinese/
2014年7月17日
2014年7月9日
Learning Cocos2D - Install Cocos2D and make first Cocos2D project
7月 09, 2014 山姆
Step1: Download Cocos2D installer from below link
http://www.cocos2d-swift.org/get-started
Step2: After installed Cocos2D framework, the Cocos2D template will exist in Xcode.
Press File -> New -> Project.., you will see below figure
http://www.cocos2d-swift.org/get-started
Step2: After installed Cocos2D framework, the Cocos2D template will exist in Xcode.
Press File -> New -> Project.., you will see below figure
Step3: Like iOS first simplest application - Hello World; You can follow step4 - Step7 to create your first Cocos2D application without input any code, just using Cocos2D template.
Step4: Continues Step2, select cocos2d as template then press "Next"
Step5: Input Product/Project Name as you want, here i input CCHelloWorld.
Step6: Select project folder then press "Create", the Cocos2D Hello World project will be created as below
Step7: Press "RUN"
Step8: Below pictures are the Cocos2D Hello World screen shot
2014年6月30日
解決 Chrome 瀏覽器被 Sweet-Page 綁架首頁的方法 (How to remove sweet-page from Chrome)
6月 30, 2014 山姆
今天䦕啟Chrome, 發現首頁多個一個 Sweet-Page 首頁, 唉... 又來一個這種綁架爛招...
搜尋&使用多種方法後, 還是無法順利移除討人厭的首頁, 看來是隻 "變形蟲", 網路提供的方法似乎已過時,必須尋找新方向.
經多次嘗試後,發現以下的方法可順利移除.
Step1: 開啓 Chrome, 進入Chrome 的設定頁面, 然後依下圖點選 "設定網頁"
Step2: 點選 "設定網頁" 後, 你應該會看到下面的畫面
且發現Chrome 的首頁設定並沒有跑掉ㄚ,為何會跑出 sweet-page 首頁?
不急, 請依圖點選 "使用目前的網頁"
Step3: 嘿嘿,狐狸尾巴露出來了, 請依圖大膽點選 "X" 把 "sweet-page" 這起始網頁刪除, 然後按確定做儲存
Step4: 關閉Chrome, 然後再重啟Chrome, 這時Chrome應該就不再有Sweet-Page 首頁了!
搜尋&使用多種方法後, 還是無法順利移除討人厭的首頁, 看來是隻 "變形蟲", 網路提供的方法似乎已過時,必須尋找新方向.
經多次嘗試後,發現以下的方法可順利移除.
Step1: 開啓 Chrome, 進入Chrome 的設定頁面, 然後依下圖點選 "設定網頁"
Step2: 點選 "設定網頁" 後, 你應該會看到下面的畫面
且發現Chrome 的首頁設定並沒有跑掉ㄚ,為何會跑出 sweet-page 首頁?
不急, 請依圖點選 "使用目前的網頁"
Step3: 嘿嘿,
Step4: 關閉Chrome, 然後再重啟Chrome, 這時Chrome應該就不再有Sweet-Page 首頁了!
2014年6月27日
iOS 支援多國語系
6月 27, 2014 山姆
iOS App 支援多國語系APIs
兩者的差異在於 "NSLocalizedStringFromTable" API 必須指定字串檔案名稱,
而 "NSLocalizedString" API 則必須使用預定的字串檔案名稱 "Localizable.strings"
- NSString *NSLocalizedString( NSString *key, NSString *comment );
- NSString *NSLocalizedStringFromTable( NSString *key, NSString *tableName, NSString *comment );
兩者的差異在於 "NSLocalizedStringFromTable" API 必須指定字串檔案名稱,
而 "NSLocalizedString" API 則必須使用預定的字串檔案名稱 "Localizable.strings"
2014年6月21日
遠端桌面連線 Mac to Ubuntu by VNC ( Remote Desktop Control Mac to Ubuntu )
6月 21, 2014 山姆
Ubuntu Side
Step1: Enable desktop sharing at Ubuntu side and setup the password for Desktop sharing connection
Step2: Check Ubuntu IP address, in my test, my IP address of IBM NB is 10.0.1.28
Step3: Ubuntu side is done
iMac Side
Step1: install VNC Viewer for Google Chrome from Chrome store
Step2: after installed, open it then
Step3: if everything is correct, you will see the Ubuntu desktop in your iMac :-)
Step1: Enable desktop sharing at Ubuntu side and setup the password for Desktop sharing connection
Step2: Check Ubuntu IP address, in my test, my IP address of IBM NB is 10.0.1.28
Step3: Ubuntu side is done
iMac Side
Step1: install VNC Viewer for Google Chrome from Chrome store
Step2: after installed, open it then
- input IP address of Ubuntu side
- input password that you set at Ubuntu step1
Step3: if everything is correct, you will see the Ubuntu desktop in your iMac :-)
訂閱:
文章 (Atom)
熱門文章
-
L298N 模組教學 Rototics 系列 By Sam | Arduino | 2020/02/05 L298N 模組硬體簡介 L298N 模組主要的元件當然就是L298 Dual H-Bridge Motor Driver這顆驅動IC,...
-
銀杏木又名樹馬齒莧,原產於南非, 耐旱、不耐潮濕 ,銀杏木葉肉質肥厚,單葉對生,倒倒卵狀三角形,成株也會開花,但因為花極小,故以觀葉為主。樹齡可達50年。 銀杏木花語是 "高貴、幸福","永結同心、血脈相連"。 銀...
-
離線安裝 Python 以及 Python 套件 (如 openpyxl) 在網路無所不在的21世紀,我從未想過會需要在 "離線 (無網路)" 的狀況下安裝應用程式,但這情境真的發生了! 這篇就讓我來分享離線安裝 Python 以及 Python 套件的過...
-
下面是 ESP32 Dev Module 在 Boards.txt 的描述 Line 29 ~ 61 就描述了 ESP32 Dev Module 支援那些 Partition CSV 以 Line 29,30 為例,就描述支援的 Partition Schems , 名稱為 ...
-
[咖啡烘培][Quest M3] 烘培手法紀錄 緣由 入手Quest M3也有一段時間了,烘培量超過5公斤了! 以每次200克烘培的量計算,烘培次數來到了25次以上了,也終於抓到這台機器的特性,也有了屬於自己的基本烘培手法,在此做個紀錄,分享一下。 Quest M3 特性 Que...















