跳到主要內容

發表文章

目前顯示的是 6月, 2015的文章

[Swift] 在AppDelegate取得正顯示的ViewController

//取得正顯示的ViewController let navigationController = application.windows[0].rootViewController as! UINavigationController let activeViewCont = navigationController.visibleViewController //顯示Alert var alert = UIAlertController(title: "Alert", message: "Message", preferredStyle: UIAlertControllerStyle.Alert) alert.addAction(UIAlertAction(title: "關閉", style: UIAlertActionStyle.Default, handler: nil)) activeViewCont.presentViewController(alert, animated: true, completion: nil)

無線分享器的中繼模式

自從中華電信的從我房間門口移到客聽後 我房間的wifi訊號就只能用個慘字來形容了 想到我還有台刷了DD-WRT的Asus Router也許可以拿來當中繼   查了一下果然有這功能(上次怎麼找都找不到…鬼打牆) 1. DD-WRT Repeater Bridge Mode 讓無線訊號範圍更廣 http://blog.lyhdev.com/2011/11/dd-wrt-repeater-bridge-mode.html 2. How to use an old DD-WRT router as a repeater https://www.bestvpn.com/blog/9177/how-use-an-old-dd-wrt-router-as-a-repeater/ 3. [DDWRT]有成功使用RepeaterBridge模式的人可以幫我解惑嗎 http://www.mobile01.com/topicdetail.php?f=110&t=1765448#22512860   回家再來試試,不過這台的訊號不強,也不大能穿牆…

Mac上無蝦米的終級方案!

之前是用香草輸入法,是可以打出無蝦啦,只是有些字尾會多出一個空白,很是討厭 今天突然發現一個不錯的輸入法居然可以很正常的打出無蝦米,真是超感動的啦 一開始是看到這個網頁,是介紹『鼠鬚管 (Squirrel)』這個輸入法的 https://blog.yorkxin.org/posts/2013/12/10/use-boshiamy-in-squirrel/ 但他需要一個官方的iBus表格檔,我沒有…我有買android及iOS的說...   然後,在下面的的連結找到了 http://monkey413.blogspot.tw/2014/04/fcitx-rime.html 輸入法官網  http://rime.im/ 安裝完輸入法後,將網友提供的檔放入到『用戶設定』指到的位置   然後打開default.yaml 在schema_list選項中,加入 - schema: liur 重新部署(不確定是否一定要)   內部的選項不知怎麼按出來?… ==>操作說明  https://github.com/rime/home/wiki/UserGuide

[APP] 台指選擇權策略

5月APP廣告收益

每100次瀏覽1次點擊還滿準的 3個APP一個月才賺5鎂……