[MacAir] 開不了機 並且遇到 硬碟無法維修

最近也不知道是不是有3C瘟疫 每個周邊的3C商品都開始壞掉 從我的PS3玩到壞掉之後~接下來出現問題竟然是我去年買的Mac Air 2012年中版 (搭配IVB的版本) 依照以下的方式來準備排除方法 排除方法 http://ios.niufangjian.cn/post/3fadb_12debe 最後發現都不行,於是我不得不重新format —> 殘念 重灌好之後,由於有dropbox,evernote還有最重要的Chrome的幫助下,其實重新復原很快的 接下來會希望把所有跟xcode設定還有SDK有關全部放入dropbox之後也方便(也有version control) 參考文章: **排除方法 http://ios.niufangjian.cn/post/3fadb_12debe  ** 如何延長SSD 壽命 http://blog.mowd.tw/index.php?pl=1020#p_tb  
繼續閱讀

[PS3]死亡黃燈,換一台新的PS3

最近我的80G胖PS3 玩遊戲玩一下子就會出現逼逼逼後閃紅燈當機 一開始只要修復硬碟後就可以繼續玩 後來只要一進入光碟遊戲就會逼逼逼閃紅燈當機 爬過ptt 跟 01 發現似乎是沒有退路的方法 所以也開始在網路上找新的主機 但是就在備份遊戲資料的時候 我發現其實只要是玩硬碟裡面遊戲 就完全沒有問題~ 但是一玩光碟片遊戲馬上出問題 後來加入PS+ 順便備份存檔跟下載幾個遊戲來確認 雖然沒有問題~不過大家還是建議我說~很有可能會發生一樣的問題 思考過後 我決定買新的PS3 250G (巴哈有綁送戰神一片)~ 原因如下: 比較省電 根據Wiki PS3 spec 平均用電是 130W -> 70W 新製程比較不擔心有問題(官方保固一年) 有些東西可以賣來分攤成本 7880 (PS3 250G+戰神) 1250 (全新搖桿) 250 (HDMI) 700 (戰神如果賣二手) 500 (原主機殺肉價) 5180 雖然比起維修2500 貴上一倍~但是想到可以玩的高枕無憂 還可以增加容量從 80G -> 250G 好期待新的主機….
繼續閱讀

[IOS] 利用JSON的方式連接Google Drive上的Spreadsheet

在自學iOS程式的途中,總算需要一些server上的資料了,但是其實也只是要讀一些資料罷了 在需求相當的簡單之下,也曾經去尋找過CSV甚至是找個地方把資料寫成JSON硬讀 不過由於要能方便的修改,所以似乎使用Google Drive上面的Spreadsheet是最簡單最方便的方式 主要參考文章如下:  iOS中NSJSONSerialization解析JSON数据暨google地理信息处理案例 主要是看如何處理iOS5中使用基本的NSJSONSerialization來處理JSON 的資料 JSON data from google spreadsheet 主要是看如何把Google Drive裡面的資料分享出來並且變成JSON 流程如下: 建立一個Google Spreadsheet 選擇[Publish to web] 勾選[Automatically republish when changes are made] 會得到一個url~比如說是https://docs.google.com/spreadsheet/pub?key=0An1-zUNFyMVLdEFEdVV3N2h1SUJOdTdKQXBfbGpNTGc&output=html 其中重要的是 key=XXX 後面的資料 將你的位置改成  https://spreadsheets.google.com/feeds/list/XXXXXX1/public/values?alt=json  XXX換成你的key 這樣就會得到一串JSON 接下來就是程式碼的部份 主要程式都是參考 iOS中NSJSONSerialization解析JSON数据暨google地理信息处理案例 -(void)parseJson { //The URL of JSON service //NSString *_urlString = @"http://maps.googleapis.com/maps/api/geocode/json?address=nanjing&sensor=true"; NSString *_urlString = @"https://spreadsheets.google.com/feeds/list/0Artq5Bi16cQedE5mU21kdkJBWUtPU01XbS1uNW5JbEE/1/public/values?alt=json"; NSString *_dataString = [[NSString alloc] initWithData:[_urlString dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES] encoding:NSASCIIStringEncoding]; //_dataString=[NSString stringWithUTF8String:[_urlString UTF8String]]; NSURL *_url = [NSURL URLWithString:_dataString]; NSMutableURLRequest *_request = [NSMutableURLRequest requestWithURL:_url]; [_request setValue:@"accept" forHTTPHeaderField:@"application/json"]; [NSURLConnection sendAsynchronousRequest:_request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse* response, NSData* data, NSError* error) { //block define statment NSHTTPURLResponse* httpResponse = (NSHTTPURLResponse*)response; int responseStatusCode = [httpResponse statusCode]; NSLog(@"response status code is %d",responseStatusCode); NSError *_errorJson = nil; NSDictionary *resultsDic = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:&error]; if (_errorJson != nil) { NSLog(@"Error %@", [_errorJson localizedDescription]); } NSDictionary *resultDicFeed = [resultsDic objectForKey:@"feed"]; NSArray *resultsArryEntry= [resultDicFeed objectForKey:@"entry"]; for (NSDictionary * resultDetailDicAll in resultsArryEntry) { NSDictionary *resultsDicID=[resultDetailDicAll objectForKey:@"gsx$id"]; NSString * dataID=[resultsDicID objectForKey:@"$t"]; NSDictionary...
繼續閱讀

[Build 2013] Summary MSFT build 2013 (Win 8.1) -- Keynote

http://channel9.msdn.com/Events/Build/2013 First section: Start button is back, but not easy to use … Win8.1 connect to XBoxOne, not surprise… But XBox Music? Why not call XboxPhoto and XboxMovie haha.. New multiple monitor (8 split windows on two monitor..) Oh~~~~ everyone who attend this build got new tablet (like last year)  Section two: VS2013 and others Async debugging becomes easier on 2013 IDE. Great! WebGL seems powerful Windows App Store also have auto update…. DPI-Aware present on keynote…   It become more important for 3K or 4K monitor… Robot on Win8.1, mmmmm How about Romo?  Tablet overview .. skip, NB overview .. skip.   SurfacePro what? skip.. Section three: Bing support voice search.. looks great…  but… Project Spark is fancy game which like mine craft …..  Final 60 sec summary video for Win8.1, it seems tell everything XDDDD…..
繼續閱讀

[iOS][MacOS] WWDC engineer event note

Keep note after I watch related event video of WWDC 2013. Just some my summary and my understanding here. Mac OSX Server become more important: I believe OS Server version become more and more important when Xcode 5 launch. Note something I am very excited about:  “Bot for continues integration”: Great tool, no need to build a BuildBot your self. “Test Navigator”: Quick for debugging for unit test. “Automatic configuration”:  Oh! no need for lots of setting when you trying to setup iCloud code. “Source Control”: Migrate it deeply, should be easy to used. But everyone has his own SCS why I switch to this one? iOS7 is much big change than flat design: When everyone keep focus on the flat design, but no one take  a look some interesting thing as follows: “Multiple Tasking”: No only multiple tasking but also power safe. How to do that? Apple just change...
繼續閱讀

[Mac/iPhone] 關於手機升級測試版與退版本(降版、降刷)的方法

由於大概是今年年初,總算下定決心去買iOS Developer License所以這次WWDC 2013發表的iOS7 就有收到通知有測試版本 但是由於近期最紅的話題就是iOS7 的試用報告,所以不免俗的也去下載iOS7 Beta 1 下來試用~ 其實真的不穩定,我也就退回了iOS6.1。 我想細節網路上有太多的文章了,在這裡不再做任何備註。 升級測試版的注意事項: 測試版代表的是相當的不穩定(耗電跟app容易閃退) 很多人不建議使用自己的手機來裝(我裝過以後也是這樣建議大家) 千萬要備份,使用iTune的電腦備份把檔案備份起來。 如果有喜愛的App怕已經被下架或是其他因素~記得用iTools備份起來 升級測試版的方法: 取得測試版的iOS (需要開發者帳號) 打開iTune 在 “更新”的地方按下 Shift  選取剛剛下載下來的iOS測試版 等待更新 退回舊版的方法: 進入DFU模式(參考以下參考文件) iTune會顯示有一台恢復模式的設備,點選接受是下載目前正式版的iOS (這裡也可以自己先下載後,去shift+點選”回復”來回復特定版本) 回復之後,點選由備份復原把你的App都就回來 參考文件: iOS7 搶先玩(ifans) 教學 如何從iOS7 降回6 (New Mobile Life) 如何正確進入DFU
繼續閱讀