2014年8月22日 星期五

360智鍵,隱藏於耳機孔的神鍵

  偶然間在對岸的購物網站上,看到了這個東西,價格非常的便宜,而且功能介紹十分吸引人,如閃拍、解鎖、一鍵錄音、手電筒等常見的應用都能在彈指之間完成。由於太便宜了,運費不划算,於是正好請同事去北京出差順便帶回來,的確十分的小巧,裝上後幾乎就沒入耳機孔內了,真是個好東西,帶回來的全部都送光啦,忘了給自已留一隻.... 等待下次有緣人再幫我帶回來了~


360智鍵本體

360智鍵包裝,黑色為耳機夾
   
  其他細節不多說,可以參考官網的介紹 : 360智鍵官網,其主要的精神就是多一個實體按鍵可用,可以定義它是任何你想快速開啟的app功能,甚至在不開啟螢幕的狀態下亦能執行。


例如:閃拍.. BJ4 .. 只能說超好用,簡單說就是不用打開手機螢幕也能照相


     再來,搖身一變,360智鍵成為了錄音筆~,在很多實務上都用得到,一樣不需要開啟手機螢幕即可辦到
圖片來源 : http://zhijian.360.cn/
其他像執行手電筒、解鎖等也都是常定義功能。最後,要發揮這個智慧神鍵,就要有個好的app來搭配,除了官方的app之外,建議使用"快按鈕" 來搭配,才能將一鍵神器發揮的淋漓盡至。

附帶說明一點,由於按下360智鍵執行應用程式時,可以跳過解鎖畫面,直接啟動app,這對一些有設定開機密碼,但某些功能又想快速執行的人,無疑是一大福音,而且,執行結束之後,還是會回到鎖定畫面的,這功能個人覺得相當實用!



   最後,拿同事的手機實際裝上智鍵後給各位看一下,的確不會太突兀~ 




2014年8月20日 星期三

How to add BIRT custom report widget in IBM RTC

Basically , you can follow this link for custom BIRT report in IBM RTC. But I found it still need some tricky notes for completing my request. First, I need to add RTC custom field and its type is large string or html. Second, I need to add this custom BIRT report as Dashboard report widget . Please follow my notes as below :

1. Normally , you can use LIVE_WORKITEM_CNT as data set to retrieve RTC fields, but NOT for Large String and HTML 
2. How to get your custom fields in RTC ? Use STRING_KEY/STRING_VAL (INTEGER/LONG as well) to retrieve your RTC custom filed . Select STRING_VAL column with STRING_KEY parameter


3. How about the Large String Val ? you can NOT find it within LIVE_WORKITEM_CNT , . You have to retrieve it through WORKITEM_EXTRA_DATA  (including DESCRIPTION field):

4. Then you have to use BIRT techniques to fetch those two datasets, you can follow this link to get hints.implemented as below : Key is to bind parameter to master data set ID: (row["WI_ID"])

 5. You can adjust page layout ( width/height) in the Master Page tab (type dropdown list).
 6.After upload your rptdesign file , It's easy to show report .BUT how to add report in the Dashboard ? After lots of failed tries, follow this link  , my report displayed well in the dashboard ! . 
Note : 
  • The existing common report viewlet definition ID must be used: com.ibm.team.reports.viewlet
  • Report ID is " report resource identifier value ", you can find it in report resource (edit mode)






7. Add Hyperlink to workitem detail :
Hyperlink to view a work item (com.ibm.team.workitem.viewWorkItem)
To view a singlework item, use a hyperlink like:
"#action=com.ibm.team.workitem.viewWorkItem&id=" + id;
where id is the id of the work item.



8. Adjust Layout settings :
     You can set the layout to "auto layout" as below, then all the fields will be adjusted by BIRT.


  if you use the "Fixed Layout", then you have to control the cell content by yourself with scripts. Below script is for your reference. (You have to define the onRender() event for the specific column object you want to auto-break (ex:WeeklyUpdate)


---------------------------------------------------------------
var name = this.getValue();   
name = name.toString();   
var interval = 35;// Set the page break words number
var n = name.length() / interval|0;   
var re =  name.length() % interval;   
var rslt = "";   
for(var i=0; i<n; i++){   
  var subs = name.substr(i*interval,interval);   
  rslt += ( subs + "\n");   
}   
if(re > 0){   
  rslt += name.substr(n*interval,re);   
}   
this.setDisplayValue(rslt);   
-----------------------------------------------------------------------

2014年8月12日 星期二

ix35 後座出風口

     由於夏天已經來臨,為了避免後座乘客常常無法感受到冷氣的問題,於是研究了一下是否能在原有的ix35基礎上加裝後座出風口,在詢問了一下google大神後,發現還真的有車友搞出了這樣的附加配備,於是二話不說,找了天下午就把請店家將它安裝完成啦!可以參考下列施工完成圖哦,至於哪邊可安裝,根據關鍵字搜尋很快就找到嘍~

ix35 後座出風口
   使用心得 : 安裝後發覺其實風量並不大,大概在出風口10公分之內才能感受到涼度,只能說聊勝於無啦,至少大腿靠近時是會有冰涼的感覺的~

2014年8月5日 星期二

How to resolve the Cisco LEAP WIFI connection issues on Android 4.2 and above

After upgrade to android 4.2 and above , we can NOT connect to original IBM SSID for long times. I start to search some articles on google , LEAP looks like a known issue after 4.1.2. Finally, I conclude a workable solution that you need to get a digital certificate on your mobile device. The ways is described as below ,just have a try if you have the same issue for LEAP connection issue, Good Luck !


Step1 : Logon to W3 , and type wireless digital certificate on W3 search , then you will find a link to obtain wireless digital certificate (should be the top one list)
Search on W3 result for wireless digital certificate




Step2  : Request a certificate and mail will be sent to your corporate mailbox and then download the certificate through mobile : the detail steps should be as blow : 
To obtain a digital certificate follow the steps below:
    1. Register for an 802.1x Digital Certificate (select Login).
    2. Enter your intranet user ID and password.
    3. Verify your information is correct and select Register/Renew.
    4. You must choose a code word (Note:Remember the code word when creating the certificate.It will ask while installing)
Step3: Select the wifi profile and from the three options select certificate option and you can view the installed certificate
Step4 :click on done and connect to wifi automatically.


Update @08/13
   After I rooted my phone, I found a easier way for passing the LEAP wifi connection issue as below :

1. Using ES file explorer or root explorer, go to /data/misc/wifi/wpa_supplicant.conf
2. Edit file as below : Key change is auth_alg=LEAP  and eap=LEAP

3.Enable Wifi , Auto connected !



2014年8月1日 星期五

殺蟑密技 : 神奇巴斯夫(BASF) 一點絕,小強就此絕跡!

   房子也住了七、八年了,最近半年來一直有小蟑螂不斷的冒出來,不管怎麼殺,換了幾種蟑螂屋,打的手的酸了,一樣給我在家中橫行,廚房尤其嚴重。晚上去倒個開水,時常會看到一堆小蟑螂爬來爬去,不誇張,真是少說7、8隻有,真的是渾身不舒服。連瑄瑄現在看到小蟑螂,也會毫不猶豫的伸腳去踩死它,這可以說是好處嗎..囧...
   一向對於3C 號稱神人等級的我,面對這個問題也是束手無策...終於,老婆出聲了,某天下班回來跟我說,你去查查"一點絕"吧~  於是開始請教於google 大神,看了一下不少人的使用效果,感覺真的是太神奇了,而且是最近才開始紅的一種殺蟑藥,唯獨價格是挺貴的,但看看廚房,再看看使用者經驗,還是果斷的入手了,而且擔心我家的蟑螂太多,還買了大容量的,事後證明....完全不需要那麼多啦!
BASF 一點絕
P 家24小時挺快的,拆開後就是一個長盒狀,取出後就是一個針筒


接下來,參考一下盒子上說明的施打區域,在對照一下網路上有所謂一點絕"最佳施打區域" ,說要以米粒狀大小施打就可,於是重點放在廚房,其他在廁所,餐廰、客廳等地方也施打一下,如下圖所示,後來發現實在太浪費啦

一點絕施打區域


 大家可以看到我上圖施打的圖片,大小是對了,但是米粒距離太近啦,而且數量也太多了,可能被小蟑螂嚇到了,想說多一點才有效。結果後來看網路上是說50cm 一個米粒就行啦!

   最後,重點來啦,大家覺得我多久就生效了??一星期?三天?二天?一天?
不到半天啦!這真是太不可思議了,晚上施打,隔天早上就發現一些蟑螂屍體,不多,想說應該還沒殺完,結果在等個一天,完全沒看到蟑螂在爬啦。一直到到現在過了要三周了,從來沒看到任何小小強了,果然就像網路上所言,那些還看得見的屍體其實都是爬不回去的,能爬回去的,大概整窩都被勦滅了吧!所以也不用到處清小強屍體,因為眼不見為淨的小強再也爬不出來啦,真的是長期研究3C以來的另一種感動!想想這應該也要列入3C產品的文章才是,因為造成的激動感是相同的呀!

後記:後來發現我施打的藥幾乎都沒有變少,也就是說,其實只要一點點的餌劑就夠了呀!我施打了一堆完全是種浪費呀!如果有入手的人,可以注意一下,節省一點嘍~