华语电影下载








http://cowfavour.blogspot.com/


Java E-book Reader: Anyview 4.0.12








Anyview 4.0.12 Java

证书无效问题的解决

若是老证书将手机日期改为2008.08.08若是新证书改为2011.05.27。


Set up J2ME develop environment








  1. Download and install Sun Wireless Toolit
  2. Download and extract Eclipse classic
  3. Download and extract ProGuard
    Download and extract J2meUnit
  4. (Optional) Download and extract Antenna
  5. Install EcilpseME plugin for Eclipse
    • URL: http://www.eclipseme.org/updates/
    • Follow the instructions to install/configure it.
  6. (Optional) Install J4ME


    See Also:



    Debug GWT applications using Chrome browser








    1. In Eclipse, select the project, right-click to open the pop-up menu, select "Debug as" -> "4. Web application(running on external server)", in the new pop-up window, input the path of you application on the external web server: e.g. http://youserver.yourdomain.org:8080/yourapp , click Ok button. 
    2. In the "Development Mode" tab in Eclipse, the whole address including the code server address will be displayed.  e.g. http://youserver.yourdomain.org:8080/yourapp/YourApp.html?gwt.codesvr=127.0.0.1:9997 
    3. You can either copy this address and paste into the address bar of Chrome browser or right-click then add browser to add Chrome browser to the menu.
    4. Now in Chrome browser open that whole address, it will then prompt to require the installation of GWT Developer Plugin, click the download icon to install it.
    5. Once it is installed, you can try reload the page, oops, it pops up an error message: Plugin failed to connect to hosted mode server at 127.0.0.1:9997
    6. You need to add the remote web server to the allow list of the Dev plugin:

      • In the address bar of Chrome browser, type: chrome://extensions to list all the extensions:
      • Click options link of the GWT Developer Plugin:
      • add you remote web server's address, e.g. yourserver.yourdomain.org to the include list.
    7. Note: If you are not using external web server, you do not need to do step 5 - 6.







    Print Screen not working, make sure you are F-Locked








    On Microsoft Mutlimedia Keyboard, you need to turn off the [F-Lock] to use the [PrtScn] key. This is very important when you want to use [PrtScn] or [Alt + PrtScn] to have screen shots.





    ColorZilla: Color Picker for Firefox








    ColorZilla is an addon for Mozilla Firefox browser to pick up the colour value inside the browser window.


    Color Picker Tool for Ubuntu Linux








    • Install package "gcolor2":
      sudo aptitude install gcolor2
    • Applications -> Graphics -> GColor2



    CSS Specificity











    CSS: image swap on mouse over








    • Method 1: Originate from [here]
    The HTML code:
    <div class="container"><a href="#"><img src="img1.png" /></a>
    </div>

    The CSS code:
    div.container {
        height: 32px;
        width: 32px;
        margin:0;
        padding:0;
        background-image:url("img2.png");
    }
    
    div.container a, div.container a:link, div.nav a:visited {
        display:block;
    }
    
    div.container img {
        width:100%;
        height:100%;
        border:0;
    }
    
    div.container a:hover img {
        visibility:hidden;
    }
    










    CSS: div align











    CSS Positioning











    CSS border-radius: create rounded/curved borders with CSS








    CSS3 (Opera browser) Mozilla equivalent WebKit equivalent
    border-top-right-radius -moz-border-radius-topright -webkit-border-top-right-radius
    border-bottom-right-radius -moz-border-radius-bottomright -webkit-border-bottom-right-radius
    border-bottom-left-radius -moz-border-radius-bottomleft -webkit-border-bottom-left-radius
    border-top-left-radius -moz-border-radius-topleft -webkit-border-top-left-radius
    border-radius -moz-border-radius -webkit-border-radius

    See Also
    1. CSS: border-radius and -moz-border-radius
    2. Online Border Radius Generator



    GWT CSS Property Camel Case








    setProperty(String, String) can be used to set css properties. But you need to use camel case property names, and GWT will translate it to the real css property name. (The upper case letter, e.g. A,  will be tranlated to -a)
    setProperty("textAlign", "center"); // text-align: center;
    

    for example:
    Camel Case NameCSS Property
    textAligntext-align
    MozBorderRadiusTopleft-moz-border-radius-topleft
    borderTopLeftRadiusborder-top-left-radius


    See Also: About Camel Case.


    GWT Resource Bundles and Linkers











    Best MP3 ID3 Tag Editor for Ubuntu Linux








    1. cowbell (support unicode), it is the best if tag contains unicode characters e.g. Chinese.
    • To install it:
    sudo aptitude install cowbell
    
    • To start it: Application -> Sound & Video -> Cowbell Music Organizer


    2. easytag (does not support unicode)
    • To install it:
    sudo aptitude install easytag
    
    • To start it: Application -> Sound & Video -> EasyTag

    See Also: [1] [2]



      Free Web Hosting








      http://www.110mb.com/

      http://members.000webhost.com/login.php


      (转)2011年国家公务员考试行测考题七宗“最”出炉








      第一宗:最简单题目奖

      京剧作为我国著名剧种,和中医、国画并称为中国三大国粹,关于京剧的表述正确的是:

      A.人们习惯上称戏班,剧团为“杏园”。

      B.京剧当中的“净”指女性角色。

      C.“梅派”唱腔创始人是京剧艺术大师梅兰芳先生。

      D.《梁山伯与祝英台》是京剧经典曲目之一。

      答案:C

      颁奖词:梅兰芳是“梅派”创始人,如同中医是中国人发明的一样简单,除了韩国人,全世界都不会有人错。

      第二宗:最与时俱进奖

      关于我国第六次人口普查,下列表述正确的是:

      A.其标准时点是2010年1月1日至2010年12月31日。

      B.所取得的数据不得作为对普查对象实施处罚的依据。

      C.所需经费由中央政府完全负担,列入相应年度的财政预算。

      D.采用按户口所在地登记的原则。

      答案:B

      颁奖词:前两天居委会大妈刚敲过我家的门这个事实是最好的体现。

      第三宗:最复杂题目奖

      一个班的学生排队,如果排成3人一排的队列,则比2人一排的队列少8排;如果排成4人一排的队列,则比3人一排的队列少5排,这个班的学生如果按5人一排来排队的话,队列有多少排?

      A.12

      B.11

      C.10

      D.9

      答案:B

      颁奖词:看了这道题,我这心碎得,捧出来跟饺子馅似的。

      第四宗:最变态题目奖

      小赵、小钱、小孙一起打羽毛球,每局两人比赛,另一人休息,三人约定每一句的输方下一局休息。结束时算了一下,小赵休息了2局,小钱共打了8局,小孙共打了5局。则参加第9局比赛的是:

      A.小赵和小钱

      B.小赵和小孙

      C.小钱和小孙

      D.以上皆有可能

      答案:A

      颁奖词:做完这道题深刻的感受,还是古代好混,割掉了就能当公务员。

      第五宗:最雷人提问奖

      将每个国家的四种谷物按2008年的产量分别排序,哪个国家产量排名第一的谷物与2000年相比产量增长率最高?

      A.中国

      B.美国

      C.印度

      D.巴西

      答案:D

      颁奖词:三遍之内能读懂含义的人理解能力都很强。

      第六宗:最新颖题型奖

      诗人从生活和大自然捕捉灵感,将言语文字剪裁成诗;知音的理解和回响,可使诗的意象和隐藏其中的思想感情浮现出来。天地一沙鸥,海上生明月,悠然见南山,经由后人的吟诵品味,其意象才更为深化;巴山夜雨,易水悲歌,汉关秦月,江山风光和人物诗文相互烘托,转化为跨时空的文化符号,丰富了文学的内容,影响着一代代人的精神面貌。

      这段文字的关键词是:

      A.诗 知音 意象

      B.自然 灵感 文化

      C.生活 感情 品味 D.文学 符号 精神

      答案:B

      颁奖词:这种题型就像幽灵,只听说过,没人见过。

      第七宗:最平淡题目奖

      刀:屠夫:肉

      A.相机:记者:摄像

      B.剪刀:裁缝:布料

      C.粉笔:老师:黑板

      D.法律:法官:犯人

      答案:B

      颁奖词:……无语。


      DICOM Value Representation (VR)








      See Also: [1] [2]


      YYYY-MM-DD regular expression








      String regex = "(19|20)\\d{2})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]";
      



      Ubuntu Screen Capture Utility








      Application -> Accessories -> Take Screenshot