28/01/2014 MCAFEE SECURE 認證的網站

https://www.mcafeesecure.com/RatingVerify?ref=www.HongKongCupid.com

2013年6月6日 星期四

**轉**WANMP**之**Office for Mac 2011 Service Pack 3.4 (14.3.4) (簡/繁/英) 更新檔**

**轉**WANMP**之
**Office for Mac
2011 Service 
 Pack 3.4 (14.3.4)
(簡/繁/英) 更新檔**



** **
該更新解決了關鍵問題。此更新中的信息適用於:
Microsoft Office for Mac Academic 2011
Microsoft Office for Mac Home and
 Business 2011
Microsoft Office for Mac Home and
 Business 2011 Home Use Program
Microsoft Office for Mac Home and
Student 20111
Microsoft Office for Mac 2011

**Office for Mac 2011 Service Pack 3.4
 (14.3.4) 更新 (發布日期:  2013年5月7日),
下最新的更新就行
官方簡體中文更新 Office2011-1434UpdateZH_CN.dmg 地址
http://www.microsoft.com/zh-cn/download/details.aspx?id=38830

官方繁體中文更新 Office2011-1434Updatezh_TW.dmg 地址
http://www.microsoft.com/zh-tw/download/details.aspx?id=38830

官方英文更新下載 Office2011-1434UpdateEN.dmg 地址
http://www.microsoft.com/en-us/download/details.aspx?id=38830

Office for Mac 2011 Service Pack 3.0 (14.3.0) 更新 (發布日期: 2013年1月29日)
官方簡體中文更新 Office2011-1430UpdateZH_CN.dmg 地址
http://www.microsoft.com/zh-cn/download/details.aspx?id=36503
官方繁體中文更新 Office2011-1430Updatezh_TW.dmg 地址
http://www.microsoft.com/zh-tw/download/details.aspx?id=36503
官方英文更新下載 Office2011-1430UpdateEN.dmg 地址
http://www.microsoft.com/en-us/download/details.aspx?id=36503
Office for Mac 2011 Service Pack 2.2
(14.2.2) 更新 (發布日期:  2012年5月8日)

官方簡體中文更新 Office2011-1422UpdateZH_CN.dmg 地址
http://www.microsoft.com/zh-cn/download/details.aspx?id=29739

官方繁體中文更新 Office2011-1422Updatezh_TW.dmg 地址
http://www.microsoft.com/zh-tw/download/details.aspx?id=29739
官方英文更新下載 Office2011-1422
UpdateEN.dmg 地址
http://www.microsoft.com/en-us/download/details.aspx?id=29739
Office for Mac 2011 Service Pack 2 (14.2.0)
(發布日期: 2012年4月14日)

官方簡體中文更新 Office2011-1420Updatezh_CN.dmg 地址
http://www.microsoft.com/zh-cn/download/details.aspx?id=29419

官方繁體中文更新 Office2011-1420Updatezh_TW.dmg 地址
http://www.microsoft.com/zh-tw/download/details.aspx?id=29419

官方英文更新下載 Office2011-1420UpdateEN.dmg 地址
http://www.microsoft.com/download
/en/details.aspx?id=29419
Office for Mac 2011 14.1.4 更新
(發布日期:  2011年12月13日)

官方簡體中文更新 Office2011-1414Updatezh_CN.dmg 地址
http://www.microsoft.com/zh-cn/download/details.aspx?id=28405
官方繁體中文更新 Office2011-
1414Updatezh_TW.dmg 地址
http://www.microsoft.com/zh-tw/
download/details.aspx?id=28405
官方英文更新下載 Office2011-
1414UpdateEN.dmg 地址
http://www.microsoft.com/
download/en/details.aspx?id=28405 

****************************************************************************

**Windows Phone 8设备的开发者解锁***本教程解锁设备为HTC Windows Phone 8X***

**
**Windows Phone 8设备的开发者解锁**

*本教程解锁设备为HTC Windows Phone 8X***

**首先来看微软官方对SDK8.0的硬件要求:
**操作系统类型:Windows 8 64 位 (x64) 客户端版本硬件:6.5 GB 的可用硬盘空间
4 GB RAM
64 位 (x64) CPU
Windows Phone 8 模拟器:Windows 8 Pro 版本或更高版本
要求支持二级地址转换 (SLAT) 的处理器
如果您的计算机符合硬件和操作系统要求,但却不符合

Windows Phone 8 模拟器的要求,将安装和运行 
Windows Phone SDK 8.0。然而,Windows Phone 8 
模拟器将不起任何作用,而且您无法在 Windows Phone 8 
模拟器上部署或测试应用。

**^1).安装SDK8.0,微软官方下载地址:

http://www.microsoft.com/zh-cn/download/details.aspx?id=35471 
Win8安装完后,在瓷砖界面-所有程序里 可以看到SDK8.0的

三个组件,如下:

12.jpg



2 ).运行解锁组件: Windows Phone
Developer Registration,注意提示内容哦**

01.jpg 



3 ).插上USB连接手机

02.jpg   



4 ).解锁屏幕,保持屏幕常亮不锁

03.jpg   



5 ).点注册 以解锁设备

04.jpg 



6 ).输入已注册号的开发者帐号 登陆

05.jpg  


7 ).解锁设备中....

06.jpg 



8 ).OK !!! 解锁成功~~~~~

07.jpg


以上就对 HTC 8X 解锁成功。 以下为部署xap教程。


9 ).运行SDK8.0部署组件:

Application Deployment 目标选择手机 - Device

08.jpg



10 ).选择xap安装文件,点部署

09.jpg



11 ).部署中...

10.jpg



12 ).部署成功。

11.jpg


部署测试:

完美运行威智助手~~


完美运行破解版的xap



**由于目前还没有如威智助手一样的 部署工具,所以暂时只能用SDK来部署。
不过相对于WP7时代,不需要Zune同步
那么麻烦,部署就简单多了。 期待WP8的
部署工具诞生呀~


**********************************************************

** 威智出品:威智WP7.8固件****W6.0正式发布!全新刷机工具!

威智WP7.8固件**
**W6.0正式发布!
全新刷机工具!
更多机型!
全新体验!~**


**  威智WP7.8第二版固件 W6.0
现已正式发布^^
**第一版WP7.8固件W5.0中反馈的Bug,固件组在本次的紧张制作中
在原有的10款机型基础上新增了4款机型(HTC Spark、
HTC Spark_w、HTC Gold以及中兴ZTE N880E),
希望能帮助到更多的WPer爱好****
**第二版的7.8ROM中多反馈系统的BUG,以及对的ROM建议
功能建议等积极反馈给我们。同时在W6.0新固件使用中遇到的问题**

第二版的7.8ROM中多多反馈系统的BUG,以及对的ROM建议功能
建议等积极反馈给我们,本次的W6.0固件启用了威智ROM团队新开发
的ROM打包程序。将刷机工具和ROM打包在一个EXE内部,实现了
一次性下载,一键启动刷机工具,简化了下载和刷机的操作步骤。
您只需要点击“开始刷机”按钮并等待文件释放完毕后按正常刷机
步骤直接不停地下一步就OK!
**新的固件包需要.net framework 2.0支持
*W6.0机型图.jpg 
*威智固件6.0主要更新和特点: *.启用了新的ROM及刷机工具打包软件。 1.机型更全面,由W5.0十款机型增加到十四款机型。
 2.更新到WP7.8最新核心7.10.8862.144,全新WP8样式UI,可以
设置大、中、小三种图标。
 3.修复W5.0相机方面的问题,解决设置相机后进入相机黑屏的现象。
 4.修复W5.0主题名称错误的问题,同时添加多款主题。
 5.全新7.8UI,丰富的表情输入法,跟WP8一样可以发送更丰富
的短信内容。
 6.集成NOKIA最新驱动,完美使用NOKIA专属软件。
 7.修复了接收超长号码短消息时重启或者无法显示短消息
内容的问题。
 8.进行更多优化,更省电。
 9.其它更多新功能新体验期待wper来发掘
**只为WPER提供最好**
**威智固件w6.0支持十四款机型:

- Nokia Lumia 800
- Nokia Lumia 710
- HTC C110e Radar
- HTC X310e Titan
- Samsung focus i917
- Samsung Omnia 7
- HTC HD7
- HTC HD2
- HTC T8698 Mozart
- HTC Mondrian
- HTC Spark
New
- HTC Spark_w New
- HTC Gold New
- ZTE N880E New

固件下载:

7.10.8862 For Lumia 800 W6.0
http://bbs.wper.com/thread-69570-1-1.html
7.10.8862 For Lumia 710 W6.0http://bbs.wper.com/thread-69580-1-1.html
7.10.8862 For Omnia 7 W6.0http://bbs.wper.com/thread-69582-1-1.html
7.10.8862 For Focus i917 W6.0http://bbs.wper.com/thread-69583-1-1.html
7.10.8862 For Mozart W6.0http://bbs.wper.com/thread-69587-1-1.html
7.10.8862 For HD7 W6.0http://bbs.wper.com/thread-69585-1-1.html
7.10.8862 For Radar W6.0http://bbs.wper.com/thread-69586-1-1.html
7.10.8862 For Titan W6.0http://bbs.wper.com/thread-69584-1-1.html
7.10.8862 For HTC HD2 W6.0http://bbs.wper.com/thread-69566-1-1.html
7.10.8862 For Mondrian W6.0http://bbs.wper.com/thread-69578-1-1.html
7.10.8862 For HTC Spark W6.0http://bbs.wper.com/thread-69577-1-1.html
7.10.8862 For HTC Spark_w W6.0http://bbs.wper.com/thread-69581-1-1.html
7.10.8862 For HTC Gold W6.0http://bbs.wper.com/thread-69568-1-1.html
7.10.8862 For ZTE n880e W6.0http://bbs.wper.com/thread-69576-1-1.html

_副本.jpg  


****************************************************************************************************************

**移動*分頁的型號 / *模版之源****Move pagination out of the model**~

**   **移動*分頁的型號 / *模版之源**
**Move pagination out of the model**~
- The pagination logic is only needed in a single 
action in a single 
    controller, so move it out of the model and into 
that one action. 
  - Because pagination was the only customization 
that stratify-rails 
    made to the Stratify::Activity model, we can 
remove that file from 
    the Rails app altogether. (The core 
implementation of Stratify::Activity 
    remains in the stratify-base gem.)
  - This also restores the desired pagination 
behavior (i.e., 200 per 
    page, as opposed to the default of 25 per page)
 which got borked in 
    commit 4d75b0e. 
 
**Showing 2 changed files with 1 addition and 
7 deletions. Show Diff Stats Hide Diff Stats
  1. 2  stratify-rails/app/controllers\
  2. activities_controller.rb
  3. 6  stratify-rails/app/models/stratify/
  4. activity.rb
2  stratify-rails/app/controllers/
activities_controller.rb
... ... @@ -5,7 +5,7 @@ def index
5 5      # TODO Simplify the logic below once 
this bug is fixed in Kaminari:
6 6      #      https://github.com/amatsuda/
kaminari/issues/145
7 7      activity_criteria = Stratify::Activity.desc(:created_at)
8   -    @activities = Kaminari.paginate_array(activity_criteria).page(params[:page])
  8 +    @activities = Kaminari.paginate_array(activity_criteria).page(params[:page]).per(200)
9 9    end
10 10  
11 11    def destroy
6  stratify-rails/app/models
/stratify/activity.rb
... ... @@ -1,6 +0,0 @@
1   -module Stratify
2   -  class Activity
3   -    include Kaminari::
MongoidExtension::Document
4   -    paginates_per 200
5   -  end
6   -end
 
haha..
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

2013年6月5日 星期三

**源碼分享---六**~^

**源碼分享---六**~^













1).*文本框輸入限制樣本 *
**Textbox input*restriction sample**
*<textbox id="telNo" xmlns:w="client" >
  <attribute w:name="doKeyPress_">
    function(evt){
         if(this.getValue().length > 0 ){
           if (!this._shallIgnore(evt, "0123456789"))
              this.$doKeyPress_(evt);
         }else{
           if (!this._shallIgnore(evt, "05"))
              this.$doKeyPress_(evt);
         }
    }
  </attribute>
</textbox>


***************************************************************

2).*CkEDITOR*源模式啟動**
**ckeditor statup withsource mode**
*<zk xmlns:w="http://www.zkoss.org/2005/zk/client">
 <ckeditor>
  <attribute w:name="bind_">
   function () {
    // set the startup mode
    CKEDITOR.config.startupMode = 'source';
    //call the original method
    this.$bind_();
   }
  </attribute>
 </ckeditor>
</zk>



***********************************************************************


3).*Access all list item**
*訪問所有列表項**
*<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit"?>
<zk>
  <div apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('pkg$.test')" onCreate="@command('Cargar')">
 <listbox id="oListBox" model="@load(vm.persons)" height="200px" mold="paging" autopaging="true">
  <listhead>
   <listheader label="First Name" />
   <listheader label="Last Name" />
  </listhead>
          <template name="model" var="item">
  <listitem>
   <listcell label="@load(item.firstName)"/>   
   <listcell label="@load(item.lastName)"/>
  </listitem>  
          </template>
 </listbox>
 <button label="test">
         <attribute name="onClick">
                  StringBuilder sb = new StringBuilder("");
                   oListBox.renderAll();
                  alert("items->"+oListBox.getItemCount());
               for (Object item : oListBox.getItems()) {
         String i = "";
         for (Object cell : ((Listitem) item).getChildren()) {
          //Solo mostramos las celdas que estén visibles
          if(((Listcell)cell).getListheader()!=null){
            if(((Listcell)cell).getListheader().isVisible()){
             i += ((Listcell) cell).getLabel() + ";";
            }
           }
          }
          sb.append(i + "\r\n");
         }
                  lb.setValue(sb.toString());
         </attribute>
 </button>
 <textbox rows="6" width="300px" id="lb" value="message: " />
</div>
</zk>



************************************************************************


**4).*Enable multiple gods on one system** run by non-root users. **~
**在一個系統**啟用多神模式**非root用戶**運行**
*a)))lib/god.rb )
161    # permissions will be used.
162 162    PID_FILE_DIRECTORY_
DEFAULTS =
['/var/run/god', '~/.god/pids']
163 163  
  164 +  # Array of directory paths to be
 used for the socket file. 
  165 +  # This list will be
searched in order
and the first one that has write 
  166 +  # permission will be used.
  167 +  SOCKET_FILE_
DIRECTORY_DEFAULTS
= ['/var/run/god', '~/.god/sockets']
  168 +  
164 169    # The default Integer port
 number for the
DRb communcations channel.
165 170    DRB_PORT_DEFAULT
 = 17165
166 171  
... ... @@ -188,6 +193,7 @@
class << self
188 193                         :allow,
189 194                         :log_buffer_size,
190 195                         :pid_file_directory,
  196 +                       :socket_file_
directory,
191 197                         :log_file,
192 198                         :log_level,
193 199                         :use_events,
... ... @@ -216,6 +222,7 @@
class << self
216 222    self.allow = nil
217 223    self.log_buffer_size = nil
218 224    self.pid_file_directory = nil
  225 +  self.socket_file_directory = nil
219 226    self.log_level = nil
220 227    self.terminate_timeout = nil
221 228    self.socket_user = nil
... ... @@ -629,51 +636,64 @@
 def self.load(glob)
629 636        Kernel.load f
630 637      end
631 638    end
  639 +  
  640 +  # Setup pid and socket
 file directories,
 and log system.
  641 +  #
  642 +  # Returns nothing
  643 +  def self.setup
  644 +    self.setup_special_file_
directory(PID_
FILE_DIRECTORY_
DEFAULTS, :pid_file_directory)
  645 +    self.setup_special_file_
directory(SOCKET_
FILE_DIRECTORY_
DEFAULTS, :socket_file_directory)
  646 +    
  647 +    if God::Logger.syslog
  648 +      LOG.info("Syslog enabled.")
 if self.log_level
  649 +    else
  650 +      LOG.info("Syslog disabled.")
 if self.log_level
  651 +    end
  652 +  end
632 653  
633   -  # Setup pid file directory
and log system.
  654 +  # Setup special file directory
(pid and socket
at this point)
  655 +  # Requires an array of
directories to try, and
a symbol for the 
  656 +  # corresponding attribute
on this class object.
634 657    #
635 658    # Returns nothing.
636   -  def self.setup
637   -    if self.pid_file_directory
638   -      # Pid file dir was
specified, ensure it is
created and writable.
639   -      unless File.exist?
(self.pid_file_directory)
  659 +  def self.setup_
special_file_directory
(default_directories,
special_file_directory_attribute)
  660 +    special_file_directory =
self.send(special_file_
directory_attribute)
  661 +    nice_directory_text =
 special_file_directory_
attribute.to_s.gsub("_"," ")
  662 +    
  663 +    if special_file_directory
  664 +      # Special file dir was
 specified, ensure it is
 created and writable.
  665 +      unless File.exist?
(special_file_directory)
640 666          begin
641   -          FileUtils.mkdir_p
(self.pid_file_directory)
  667 +          FileUtils.mkdir_p
(special_file_directory)
642 668          rescue Errno::EACCES => e
643   -          abort "Failed to create

pid file directory:
 #{e.message}"
  669 +          abort "Failed to create #
{nice_directory_text}:
 #{e.message}"
644 670          end
645 671        end
646 672  
647   -      unless File.writable?
(self.pid_file_directory)
648   -        abort "The pid file directory
 (#{self.pid_file_directory}) is
not writable by #{Etc.getlogin}"
  673 +      unless File.writable?(special
_file_directory)
  674 +        abort "The pid file directory
 (#{special_file_directory}) is
not writable by #{Etc.getlogin}"
649 675        end
650 676      else
651   -      # No pid file dir specified, try defaults.
652   -      PID_FILE_DIRECTORY_
DEFAULTS.each do |idir|
  677 +      # No special file dir specified,
 try defaults.
  678 +      default_directories.each do |idir|
653 679          dir = File.expand_path(idir)
654 680          begin
655 681            FileUtils.mkdir_p(dir)
656 682            if File.writable?(dir)
657   -            self.pid_file_directory = dir
  683 +            self.send("#{special_
file_directory_
attribute}=".to_sym,dir)
658 684              break
659 685            end
660 686          rescue Errno::EACCES => e
661 687          end
662 688        end
663 689  
664   -      unless self.pid_file_directory
665   -        dirs = PID_FILE_DIRECTORY_
DEFAULTS.map { |x| File.
expand_path(x) }
666   -        abort "No pid file directory exists,
could be created, or is writable
 at any of #{dirs.join(', ')}"
  690 +      unless self.send(special_file_
directory_attribute)
  691 +        dirs = default_directories.map

 { |x| File.expand_path(x) }
  692 +        abort "No #{nice_directory_text}
exists, could be
created, or is writable at any
 of #{dirs.join(', ')}"
667 693        end
668 694      end
669   -
670   -    if God::Logger.syslog
671   -      LOG.info("Syslog enabled.")
672   -    else
673   -      LOG.info("Syslog disabled.")
674   -    end
675   -
676   -    applog(nil, :info, "Using pid
 file directory: #{self.pid_file_directory}")
  695 +    
  696 +    applog(nil, :info, "Using #{nice_
directory_text}: #{self.send(special_file_directory_attribute)}")
if self.log_level
677 697    end
678 698  
679 699    # Initialize and startup the
 machinery that makes god work.


*********************&&& next b

**b*lib/god.rb *
*
... ... @@ -11,10 +11,10 @@ def initialize(command, options, args)
11 11        end
12 12  
13 13        def setup
  14 +        God.setup #necessary to set the proper socket file.
14 15          # connect to drb unix socket
15 16          DRb.start_service("druby://127.0.0.1:0")
16 17          @server = DRbObject.new(nil, God::
Socket.socket(@options[:port]))
17   -
18 18          # ping server to ensure that it is responsive
19 19          begin
20 20            @server.ping

**lib/god.rb *
... ... @@ -11,7 +11,7 @@ class Socket
11 11      #
12 12      # Returns String (file location)
13 13      def self.socket_file(port)
14   -      "/tmp/god.#{port}.sock"
  14 +      "#{God.socket_file_directory}/god.#{port}.sock"
15 15      end
16 16  
17 17      # The address of the socket for a given port


*****************************************************************************************