Ingress修改build.prop获UltraStrike

RE管理器修改/system/build.prop 如下图所示 By Tony Zhao 保存,重启,清空ingress数据

豆瓣电影获取下载链接

脚本地址:http://userscripts.org/scripts/show/175005
userscripts.org链接已经失效,更新地址:https://gist.github.com/einverne/8782e4b2802c432af266/raw/8d1ccb4be60d677a994888e2ec82bac754d87a35/CSE4DoubanMovie.user.js

Find useful movie download link from Google Custom Search Engine 通过Google自定义搜索引擎为豆瓣电影添加下载资源链接 参考豆瓣电影下载插件 by ratwu
将Google Custom Search Engine中找到的资源链接在豆瓣电影页面显示 Pic

Google CSE地址: https://www.google.com/cse/home?cx=013193653470345952139:rmavzl75vbq 代码参考豆瓣电影下载插件: http://userscripts.org/scripts/show/129534

Welcome document

Welcome to StackEdit!

enter image description here

Hello, I am your first Markdown document within StackEdit1. Don’t delete me, I can be helpful. I can be recovered anyway in the Utils tab of the Settings dialog.


Documents

StackEdit stores your documents in your browser local storage, which means all your documents are automatically saved locally and are accessible offline.

NOTE: This also means that your documents are not shared between different browsers or computers and that clearing your browser’s data may delete all of them!

Create a document

You can create a new document by clicking the button in the navigation bar. This will switch from the current document to the new one.

Switch to another document

You can list all your local documents and switch from one to another by clicking the button in the navigation bar.

Rename a document

You can rename the current document by clicking the document title in the navigation bar.

Delete a document

You can delete the current document by clicking the button in the navigation bar.

Save a document

You can save the current document to a file using the Save as... sub-menu.

NOTE: See Publish a document section for a description of the different outputs.


Synchronization

StackEdit can be combined with Google Drive and Dropbox to have your documents centralized in the Cloud. The synchronization mechanism will take care of uploading your modifications or downloading the latest version of your documents.

NOTE: Full access to Google Drive or Dropbox is required to be able to import any document in StackEdit. Imported documents are downloaded in your browser and are not transmitted to a server.

Import a document

You can import a document from the Cloud by going to the Google Drive or the Dropbox sub-menu and by clicking Import from.... Once imported, your document will be automatically synchronized with the Google Drive / Dropbox file.

Export a document

You can export any document by going to the Google Drive or the Dropbox sub-menu and by clicking Export to.... Even if your document is already synchronized with Google Drive or Dropbox, you can export it to a another location. StackEdit can synchronize one document with multiple locations.

Synchronize a document

Once your document is linked to a Google Drive or a Dropbox file, StackEdit will periodically (every 3 minutes) synchronize it by downloading/uploading any modification. Any conflict will be detected, and a local copy of your document will be created as a backup if necessary.

If you just have modified your document and you want to force the synchronization, click the button in the navigation bar.

NOTE: The button is disabled when:

  • you are offline,
  • or the document is not synchronized with any location,
  • or the document has not been modified since the last synchronization.

Manage document synchronization

Since one document can be synchronized with multiple locations, you can list and manage synchronized locations by clicking Manage synchronization in the menu. This will open a dialog box allowing you to add or remove synchronization links that are associated to your document.

NOTE: If you delete the file from Google Drive or from Dropbox, the document will no longer be synchronized with that location.


Publication

Once you are happy with your document, you can publish it on different websites directly from StackEdit. As for now, StackEdit can publish on Blogger, Dropbox, Gist, GitHub, Google Drive, Tumblr, WordPress and on any SSH server.

Publish a document

You can publish your document by going to the Publish on sub-menu and by choosing a website. In the dialog box, you can choose the publication format:

  • Markdown, to publish the Markdown text on a website that can interpret it (GitHub for instance),
  • HTML, to publish the document converted into HTML (on a blog for instance),
  • Template, to have a full control of the output.

NOTE: The default template is a simple webpage wrapping your document in HTML format. You can customize it in the Services tab of the Settings dialog.

Update a publication

After publishing, StackEdit will keep your document linked to that publish location so that you can update it easily. Once you have modified your document and you want to update your publication, click on the button in the navigation bar.

NOTE: The button is disabled when:

  • you are offline,
  • or the document has not been published anywhere.

Manage document publication

Since one document can be published on multiple locations, you can list and manage publish locations by clicking Manage publication in the menu. This will open a dialog box allowing you to remove publication links that are associated to your document.

NOTE: In some cases, if you remove the file from the website or the post from the blog, the document will no longer be published on that location.


Markdown Extra

StackEdit supports Markdown Extra, which extends Markdown syntax with some nice features.

NOTE: You can disable any Markdown Extra feature in the Extensions tab of the Settings dialog.

Tables

Markdown Extra has a special syntax for tables:

Item Value
Computer $1600
Phone $12
Pipe $1

You can specify column alignment with one or two colons:

Item Value Qty
Computer $1600 5
Phone $12 12
Pipe $1 234

Definition Lists

Markdown Extra has a special syntax for definition lists too:

Term 1
Term 2
Definition A
Definition B
Term 3

Definition C

Definition D

part of definition D

Fenced code blocks

GitHub’s fenced code blocks are also supported with Prettify syntax highlighting:

// Foo
var bar = 0;

NOTE: To use Highlight.js instead of Prettify, just configure the Markdown Extra extension in the Settings dialog.

Special Attributes

With Markdown Extra, you can specify class and id attributes on headers and fenced code blocks just like this:

Header example
var foo = bar;

Then you can create cross-references like this: beginning of the document.

Footnotes

You can create footnotes like this2.

SmartyPants

SmartyPants converts ASCII punctuation characters into “smart” typographic punctuation HTML entities. For example:

ASCII HTML
Single backticks 'Isn't this fun?' ‘Isn’t this fun?’
Quotes "Isn't this fun?" “Isn’t this fun?”
Dashes -- is an en-dash and --- is an em-dash – is an en-dash and — is an em-dash

Table of contents

You can insert a table of contents using the marker [TOC]:

MathJax

You can render LaTeX mathematical expressions using MathJax, as on math.stackexchange.com:

The Gamma function satisfying Γ(n)=(n1)!nN is via through the Euler integral

Γ(z)=0tz1etdt.

NOTE: When exporting, make sure you include MathJax to render mathematical expression correctly. Your page/template should include something like:

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>

NOTE: You can find more information:

  • about Markdown syntax here,
  • about Markdown Extra extension here,
  • about Prettify syntax highlighting here,
  • about Highlight.js syntax highlighting here.

Written with StackEdit.


  1. StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.
  2. Here is the text of the footnote.

Blogger Default Online Editor template

font
default font
Arial
Courier
Georgia
Helvetica
Times
Trebuchet
Verdana

font-size
Smallest
Small
Normal
Large
Largest

headings

Heading

Subheading

Minor heading

Normal

bold
Italic
Underline
Strikethrough

color
black
red
orange
yellow
lime
aqua
blue
purple
fuchsia

background
red
same as color of font

link to web address
link to email address

link to web address add rel=nofollow attribute

caption
alt text
with propertities
















<!--more-->
继续阅读

Alignment
align left
align center
align right
Justify

Numbered list
  1. 第一
  2. 第二
  3. 第三
Bullet list
  • 第一
  • 第二
  • 第三
Quota
引用

Cocos2d-x-environment-set-up

Cocos2d-x专题之一:开发环境搭建

Windows 7+Visual Studio 2012+cocos2d-x-2.1.5配置cocos2d-x win32环境

下载cocos2d-x

官网:http://cocos2d-x.org/download
(注意: 由于 2.1.2版本之后不需要使用 VC模板向导创建项目,所以2.1.2之后的版本需要 使用project-creator.py这个python脚本进行工程项目的创建和配置,不适用向导的方式创建。当然,网上也能找到很多 不通过python脚本创建的方法.)

下载python

官网:http://www.python.org/download/
建议使用2.7.x的版本,因为使用Python3以上版本可能会出现莫名其妙的问题.默认安装,路径D:\Python27
将Python加入Path环境变量
打开 [计算机]-[属性] 窗口,最左侧找到 [高级系统设置],然后会弹出 [系统属性] 页面.选择[高级] 选项卡,下边的位置有一个 [环境变量],
点击按钮,便打开[环境变量]的窗口 在[系统变量]中 [变量] 这一列中找到[Path],选择[编辑]按钮,在[变量值] 的最后位置,添加上"D:\Python27",这里要根据自己安装Python 的实际目录 填写,每个值用";" 分号分割.
加入环境变量之后,运行"cmd",输入python会出现一系列东西,配置成功

创建工程

在解压后的cocos2d-x-2.1.5文件目录"~\cocos2d-x-2.1.5\tools\project-creator"下有createproject.py脚本,运行"cmd"进入"~\cocos2d-x-2.1.5\tools\project-creator"目录(createproject.py脚本所在目录),运行以下命令生成HelloWorld cpp项目:


python create_project.py -project HelloWorld -package com.einverne.helloworld -language cpp

-project 工程名
-package Android工程包名
-language 可选{cpp|lua|javascript}分别创建C++工程,lua绑定工程,javascript绑定工程 参考官网wiki

创建成功之后在"cocos2d-x-2.1.5/projects/"目录下就可以找到HelloWorld工程,找到proj.win32工程下的sln文件用vs打开.
参考:1

Android SDK+Android NDK+Eclipse+cocos2d-x-2.1.5配置cocos2d-x Android开发环境

下载和配置Android SDK和NDK

1.Android SDK:http://developer.android.com/sdk/index.html
2.Android NDK:http://developer.android.com/tools/sdk/ndk/index.html
下载完之后解压,在SDK里有Eclipse并且各种ADT,CDT插件均已经安装好(默认JDK已经安装好了)
将NDK添加到系统环境变量(仿照Python添加系统环境变量),新建系统变量,变量名"NDK_ROOT",变量值"D:\Android\android-ndk-r9\"(根据你自己解压目录来),并在Path中添加%NDK_ROOT%,以分号隔开

配置工程

1.打开Eclipse并将"~/cocos2d-x-2.1.5/projects/HelloWorld/proj.android/"工程导入 (通过上面create_project.py方法新建工程默认已经创建Android工程)
2.导入之后有错误不要怕,一步一步来,首先,Eclipse找不到cocos2d-x Java classes,解决方案:选中Project,右击"Properties",在左边栏中找到Java Build Path,在Source Tab中找到Link Source Browse找到

$COCOS2DX-HOME/cocos2dx/platform/android/java/src/

在Folder name中写"cocos2dx src",Finish->OK.
3.项目属性->C/C++ Build->"Builder Settings"->"Build command"->改为"${NDKROOT}\ndk-build.cmd"
4.项目属性->C/C++ Build->"Environment"->添加名为"NDKMODULEPATH",值为"~\cocos2d-x-2.1.5;~\cocos2d-x-2.1.5\cocos2dx\platform\thirdparty\android\prebuilt\"的变量,根据自己的实际所在地址填写.
5.将Resources中资源文件拷贝到assets文件夹中,并且适当修改Android.mk文件
还有其他错误,我也说不上来了.安装环境的时候忘了记录,如有问题可以提出来.
参考:1

English Exam Grade Eight

专八题型

Part I Listening Comprehension (35 MIN / 20 POINTS)

Section A: Mini-lecture (20 MIN)

讲座时间:10分钟;(8分钟讲座,2分钟整理笔记)
内容:为900词左右的讲座;要求边听边做笔记,然后完成填空;
注意:上来不发Mini-lecture的答题卡,只发草稿纸;在草稿纸上列出讲座的提纲;10分钟的讲座完毕后,发Mini-lecture答题卡,此时再给10分钟时间,将答题卡上的问题填完;2005年以前每空只填1个词; 2005年改革后,每空填不超过3个词
分值:10空,共10分;

Section B: Conversation or Interview (10 MIN)

内容:为800词左右的会话;会话后有 5道题;填涂到考试前发的答题卡上;
分值:5题,共5分;

Section C: News Broadcast (5 MIN)

内容:若干段( 一般3-4段 )材料,后面共有5道题;填涂到考试前发的答题卡上;
分值:5题,共5分;

Part II Reading Comprehension (30 MIN / 20 POINTS)

内容:4篇文章,3000词左右;填涂到考试前发的答题卡上;
分值:20题,20分;

Part III General Knowledge ( 10 MIN / 10 POINTS)

内容:英美概况、英美文学、英语国家概况;语言学知识;填涂到考试前发的答题卡上;
分值:10题,10分;

Part IV Proofreading (15 MIN / 10 POINTS)

内容:250词左右的短文,其中有10行有题号,该10行均含有一个语误;要求根据“增添”、“删除”、“改变其中的某一单词或短语”三种方法中的一种改正语误;填涂到考试前发的答题卡上;
注意:既然是“增添”、“删除”、“改变其中的某一单词或短语”三种方法,就不可能有全对的一行;因为别的考试的改错题有10行中有1行是正确的(如PETS);
分值:10题,10分;

Part V Translation (60 MIN / 20 POINTS)

内容:英译汉、汉译英各一篇;汉译英150个汉字左右;英译汉150个英文单词;填到另一张机读卡上;
分值:2段材料,每段10分,共20分;

Part VI Writing ( 45 MIN / 20 POINTS)

内容:写一篇400字的作文;填到另一张机读卡上;
分值:1题,20分;

Add lua support to cpp cocos2d-x project

I am asking a question on stackoverflow
Now I find a solution.
1.右击解决方案,添加项目,将"$(cocos2d-x-home)/scripting/lua/proj.win32/liblua.vcxproj"添加到解决方案
2.右击自己工程->属性->通用属性->添加新引用,勾选liblua,即可

名人故事之Aaron Swartz

美東時間1月12日在紐約布魯克林家中自殺身亡的史瓦茲(Aaron Swartz),雖然年僅26歲,卻已是網路世界赫赫有名的天才,更是推動網路資訊自由分享的鬥士。

Aaron Swartz

史瓦茲14歲時,便開發出第一版的RSS。RSS是簡易聚合(Really Simple Syndication)或是網站摘要(Rich Site Summary)的縮寫,這是一種以XML格式為基礎的內容傳送系統,只要使用者下載RSS閱讀器軟體,將自己喜歡的新聞或部落格等網站加入下載好的RSS閱讀器,就可隨時看到各網站更新的內容,不需要分別進入不同的網站,省去不少麻煩。史瓦茲的發明,造福了全球的網友。

後來史瓦茲進入史丹福大學就讀,但一年後退學,創辦了軟體公司Infogami,2005年Infogami與社群新聞網站Reddit合併,史瓦茲成了Reddit的合夥創辦人。

台灣人對於Reddit或許有些陌生,不過在美國,Reddit相當受到18~24歲的年輕人歡迎。根據科技網站TechCrunch報導,2012年不重複造訪人次達到4億,瀏覽次數達到370億次。使用者不僅可以看到最新新聞連結,還可進行公開討論。去年年底美國總統大選期間,歐巴馬便在Reddit平台與網友對話,最後歐巴馬回答了10個網友的問題。

然而,這一切成就早已與史瓦茲毫不相干。

根據《紐約時報》報導,2006年時,Reddit賣給《連線》(Wired)雜誌母公司康納仕集團(Conde Nast),史瓦茲的陰鬱日子就此開始,2007年他被迫離開Reddit。他曾在網站上說自己健康出了狀況、為憂鬱症所苦,甚至動了自殺的念頭。

但他仍不放棄繼續推動網路資訊免費分享的努力,自始至終他一直都這麼認為,許多資料文件的完成是動用了龐大的公共資源,應該免費開放給所有人使用。

只是,這樣的想法卻因此讓他惹禍上身。

2009年,他透過美國17家得以免費試用美國聯邦法院資料庫(PACER)的圖書館電腦系統,下載了1,900萬頁的文件資料,相當於整體資料庫的20%,並將這些資料公開,原本下載聯邦法院資料,每頁必須收費10美元。史瓦茲的舉動引來美國聯邦調查局(FBI)的調查,但最後並未起訴。

2010年,史瓦茲成立了反網路審查的政治行動組織Demand Progress,透過電子郵件和其他媒體,號召群眾針對特定議題向國會議員或意見領袖施壓。2011年,成功阻止了美國國會提出的「防止網路剽竊法案」,避免網路資訊被少數人壟斷。

2011年,史瓦茲再度採取行動,利用麻省理工學院網路,從必須付費訂閱的專業期刊學術論文資料庫JSTOR中下載將近480萬篇論文,隨後史瓦茲交出硬碟,JSTOR撤銷告訴。

但是美國聯邦調查局仍決定起訴史瓦茲,而麻省理工學院也從旁協助聯邦調查局進行調查。這項案件預計在2月時正式判決,若定罪,史瓦茲將面臨35年的有期徒刑以及100萬美元的罰鍰。

關於史瓦茲死因,他的家人控訴聯邦調查局堅持起訴以及麻省理工學院的協助,是直接的幫兇。麻省理工學院院長13日發表聲明,表示將立即進行內部調查,檢討麻省理工學院在這件事情上所扮演的角色以及當初的決定。

對於他的行為,是非對錯各有不同解讀。但他對於資訊分享的觀點,卻是值得日後所有人進行更深層的論辯。目前已經有許多研究人員在推特網站上,自動貼出論文PDF檔連結,紀念史瓦茲。以下是2008年史瓦茲在網路上發表的一份宣言中所寫的一段話:

「資訊即是權力。但就如同所有的權力,總有人急欲佔為私有。過去幾世紀以來,刊登在書籍和期刊上的科學與文化遺產,逐漸被數位化,最終掌握在少數的私人企業手中……分享並非邪惡,而是道德義務。唯有那些被貪婪蒙蔽的人,才會拒絕讓朋友複製影本。」(吳凱琳編譯)

来源:天下杂志

名人故事之Philip Katz

WinZIP创始人 ——Philip Katz

贾菡 / 文

Philip Katz,这个英年早逝惨淡一生的程序员,天才地缔造了ZIP这种压缩文件格式和Internet历史上最有名的共享软件之一——WinZIP。缔造了自由软件打败商业公司的典型成功范例。不仅如此,他的传奇经历曾激励着那么多的年轻人坚定地从事程序员的工作,实现他们的软件梦想。

1988年20岁的Philip对当时流行的BBS非常痴迷,然而一直为断线和传输大文件速度低下所困扰。为了将文件体积缩小或者将多个文件打包成一个文件便于传输,他经常使用那时美国BBS上比较流行的ARC压缩技术。然而,使用ARC需要对开发它的SEA公司付高额的费用,这一点令Philip非常不满,于是自己动手开发了一个叫做PKARC的程序。这个程序与ARC完全兼容,可以压缩和解压缩ARC文件。Philip将PKARC放在网上,以共享软件的方式为其他用户提供下载使用。

用户只需为作者支付微薄的注册费就能几乎免费使用功能毫不逊色的PKARC,因此迅速获得了大批原来ARC用户的极力拥护,这无疑是在断SEA的财路。盛怒之下的SEA将Philip告上了法庭。法庭自然只相信法律而不会考虑PKARC为用户带来了什么。最后判决禁止Philip继续开发和传播PKARC。就这样Philip被迫放弃了PKARC的开发,并为自由创新的权利被人剥夺而气愤不已。

然而这次不小的打击并没有磨灭Philip的斗志,反而激起了信奉自由和平等的他要与ARC斗争到底的决心。在这之后Philip这个天才程序员将他的智慧发挥得淋漓尽致,仅在短短的几周后,就创造了PKZIP。全新的PKZIP压缩工具,使用他发明的后来统治整个BBS世界乃至Internet的ZIP压缩算法,比ARC速度快了将近一倍,压缩率也有一定的提高。Philip继续对PKZIP实行和PKARC一样的做法,坚持对它进行免费发放。PKZIP的出现很快让遍及美国各大BBS的管理员们都先后将原有的.Arc格式的压缩文档转换成Philip的.ZIP格式,又推起了大家对Philip支持的狂潮。在这种强大攻势下,不出半年光景,原来几乎一手遮天的ARC失去了生存的空间近乎于灭绝!正如后来有人评价Philip时所说的那样:“他无疑扮演了ARC掘墓人的角色,为ARC的棺材钉上了最后一颗钉子!”

Philip以一人之力,用自己开发的自由软件击败商业软件公司产品的传奇故事使他成为众多程序员顶礼膜拜的偶像。此后Philip一直坚定不移地进行PKZIP的开发和维护工作。随着PKZIP以燎原的速度被广泛使用,ZIP这种压缩文件格式最终建立并成为DOS时代的压缩标准。直到Windows的诞生,使用Philip创造的压缩算法的软件WinZip更使ZIP格式成为Internet的传输标准,最终ZIP压缩格式成为所有压缩文档的事实标准。这些成就给这个天才程序员又增加了许多耀眼的光环。

然而,光环的背后总会有阴影的存在。这位天才程序员一直恪守自由软件的信念,长期在巨大的压力下编写软件,加之Philip的个人生活一直非常不顺利,为了释放这些压力和缓解精神上的痛楚,他没有选择合适的方式,却不正确地选择了不良的生活习惯,沾染上了许多恶习。最终长期无节制地酗酒摧毁了他的健康,也带走了他宝贵而短暂的生命。2000年4月14日,在一家汽车旅馆里,身边陪伴他的只有几个空酒瓶,就这样年仅37岁的天才程序员Philip Katz永远离开了我们。

Philip Katz的生命是如此短暂,但是,他给世人带来的恩惠却会让我们一直受益下去。现在几乎全世界的每一台个人电脑上都有用Philip创造的压缩算法生成的文档。在下载量高达到1亿4000万次、成为压缩文件标准的ZIP格式的文档开头,都嵌有Philip姓名的字头缩写字母“PK”。也许,我们可以用这种方式永远记住这个自由软件的勇士。

来源:<<程序员>>

Visual Studio 2012 Skills

Ctrl + K + D 格式化代码

F12转到函数定义

shift+alt+R 重命名变量 Visual Assist X番茄小助手

折腾cocos2d

创建工程 link
./create_project.py -project MyGame -package com.MyCompany.AwesomeGame -language cpp
Options:
  • -l cpp for a cocos2d-x C++ project
  • -l lua for a cocos2d-x + Lua bindings project
  • -l javascript for a cocos2d-x + JavaScript bindings project
shift+F1 win32平台下模拟Android后退键 http://www.cocos2d-x.org/wiki/Howtosimulateandroidbehaviorsonwindows_desktop
CCLog函数提供给Android平台调试使用
http://www.cocos2d-x.org/wiki/Howtouse_CCLOG
http://www.cocos2d-x.org/wiki/Howtodebugcocos2d-xgames
http://www.cocos2d-x.org/forums/6/topics/3499?r=37155
USING_NS_CC 声明cocos2d命名空间
// 为C++的名称空间宏,using namespace cocos2d的缩写
USING_NS_CC;
单点触控:Targeted Touch Delegate
使用单点触控时遇到不响应
在onEnter函数中
CCDirector::sharedDirector()->getTouchDispatcher()->addTargetedDelegate(this,0,true);
在onExit函数中
CCDirector::sharedDirector()->getTouchDispatcher()->removeDelegate(this);
http://stackoverflow.com/questions/17350669/cocos2d-x-and-handling-touch-events
http://www.cocos2d-x.org/forums/6/topics/17177
    // 1.生成动画需要数据类
    CCTexture2D* texture = CCTextureCache::sharedTextureCache()->addImage("action_people.png");
    CCSpriteFrame* frame0 = CCSpriteFrame::createWithTexture(texture , CCRectMake(32*0 , 48*0 , 32 , 48));
    CCSpriteFrame* frame1 = CCSpriteFrame::createWithTexture(texture , CCRectMake(32*1 , 48*0 , 32 , 48));
    CCSpriteFrame* frame2 = CCSpriteFrame::createWithTexture(texture , CCRectMake(32*2 , 48*0 , 32 , 48));
    CCSpriteFrame* frame3 = CCSpriteFrame::createWithTexture(texture , CCRectMake(32*3 , 48*0 , 32 , 48));

    CCArray* animFrames = CCArray::create();
    animFrames->addObject(frame0);
    animFrames->addObject(frame1);
    animFrames->addObject(frame2);
    animFrames->addObject(frame3);

    CCAnimation* animation =CCAnimation::createWithSpriteFrames(animFrames, 0.2f );
    animFrames->release();

    // 2.初始化并设置Sprite
    CCSprite* sprite = CCSprite::createWithSpriteFrame(frame0);
    sprite->setPosition( ccp( sprite->getContentSize().width+50 , winSize.height/2 ) );
    addChild(sprite);

    // 2.使用animation生成一个动画动作animation
    CCAnimate* animate = CCAnimate::create(animation);
    sprite->runAction(CCRepeatForever::create(animate));
简单过程是,使用CCTexture2D加载图片 ,用CCTexture2D生成对应的CCSpriteFrame(对应的就是帧),将CCSpriteFrame添加到CCAnimation生成动画数据,用CCAnimation生成CCAnimate(就是最终的动画动作),最后用CCSprite执行这个动作。
cocos2d中LUA脚本的处理类
CCLuaEngine LUA脚本引擎
CCScriptEngineManager LUA脚本引擎管理

Android Studio Skills

Ctrl+O 打开"Select methods to Override/Implement" Really useful.  StackOverFlow

Import All File->Settings->Editor->Auto import ->check two "on the fly"  stackoverflow

折腾Android Studio

遇到这个错误

IllegalStateException: Can't deserialize target data of key 'IdeaAndroidProject'. Given class loaders: [PluginClassLoader[org.jetbrains.android, 10.0]]: Can't deserialize target data of key 'IdeaAndroidProject'. Given class loaders: [PluginClassLoader[org.jetbrains.android, 10.0]]

参考这篇文章解决

另参考一下文章

http://blog.csdn.net/hil2000/article/details/11395485

 

安装Android Studio

支持IPV6的VPS

之前找支持IPV6的VPS找到了以下一些,不过我也并没有尝试,只是简单的列了一下,有兴趣的看看呗,欢迎交流~~

http://www.budgetvm.com/

http://www.vr.org/

https://www.ultrakvm.com/?/cart/special/&step=0

http://www.ucvps.com/
支持IPv6

http://www.xehost.com/vps/#

http://www.cheapvpsuk.com/

http://hellohostnet.com/

Google HOSTS及获取方法

将我的电脑C:\Windows\System32\drivers\etc中的文件hosts用记事本方式打开,将下方IP信息粘贴到hosts文件内容下方(勿覆盖hosts内其他信息,然后在hosts里将这几段文字部分删除)重启浏览器即可。
360插件扫描会将这些IP扫描出来,设为信任即可。若用卡巴斯基,也将hosts文件设为信任即可。
下方的IP可能会受到GFW的骚扰而失效,若失效,在电脑里ping出一个新的可用IP,再修改hosts文件内的IP即可,最好不要去网上搜索不可靠的IP,会遇到钓鱼IP。
ping方法:程序--运行--cmd,输入“ping g.cn”,确定,将收到的IP替换至下方内容中即可~

#Search(搜索)
74.125.31.91 www.g.cn
74.125.31.91 www.google.com.hk
74.125.31.91 www.l.google.com
74.125.31.91 https://www.google.com/webhp?hl=zh-CN&tab=Xw

#Google+
74.125.31.91 plus.google.com
74.125.31.91 plus.google.com.hk
74.125.31.91 lh1.ggpht.com
74.125.31.91 lh2.ggpht.com
74.125.31.91 lh3.ggpht.com
74.125.31.91 lh4.ggpht.com
74.125.31.91 lh5.ggpht.com
74.125.31.91 lh6.ggpht.com
74.125.31.91 lh6.googleusercontent.com
74.125.31.91 lh5.googleusercontent.com
74.125.31.91 lh4.googleusercontent.com
74.125.31.91 lh3.googleusercontent.com
74.125.31.91 lh2.googleusercontent.com
74.125.31.91 lh1.googleusercontent.com
74.125.31.91 images6-focus-opensocial.googleusercontent.com
74.125.31.91 images5-focus-opensocial.googleusercontent.com
74.125.31.91 images4-focus-opensocial.googleusercontent.com
74.125.31.91 images3-focus-opensocial.googleusercontent.com
74.125.31.91 images2-focus-opensocial.googleusercontent.com
74.125.31.91 images1-focus-opensocial.googleusercontent.com
74.125.31.91 images-lso-opensocial.googleusercontent.com
74.125.31.91 images-oz-opensocial.googleusercontent.com
74.125.31.91 clients2.googleusercontent.com
74.125.31.91 clients1.googleusercontent.com
74.125.31.91 clients3.googleusercontent.com
74.125.31.91 clients4.googleusercontent.com
74.125.31.91 s6.googleusercontent.com
74.125.31.91 s5.googleusercontent.com
74.125.31.91 s4.googleusercontent.com
74.125.31.91 s3.googleusercontent.com
74.125.31.91 s2.googleusercontent.com
74.125.31.91 s1.googleusercontent.com
74.125.31.91 picadaweb.google.com
74.125.31.91 talkgadget.google.com
74.125.31.91 googlehosted.l.googleusercontent.com
74.125.31.91 0-focus-opensocial.googleusercontent.com
74.125.31.91 r3085-dot-latest-dot-project-slingshot-gp.appspot.com
74.125.31.91 newsfeed-dot-latest-dot-rovio-ad-engine.appspot.com
74.125.31.91 project-slingshot-gp.appspot.com
74.125.31.91 spreadsheets.google.com
74.125.31.91 maps-api-ssl.google.com
74.125.31.91 translate.google.com
74.125.31.91 webcache.googleusercontent.com
74.125.31.91 labs.google.com
74.125.31.91 googlelabs.com
74.125.31.91 profiles.google.com
74.125.31.91 services.google.com
74.125.31.91 clients4.google.com
74.125.31.91 clients2.google.com
74.125.31.91 chrome.google.com
74.125.31.91 tools.google.com
74.125.31.91 ssl.gstatic.com
74.125.31.91 ditu.google.com
74.125.31.91 maps-api-ssl.google.com
74.125.31.91 mail.google.com
74.125.31.91 docs.google.com
74.125.31.91 pop.gmail.com
74.125.31.91 scholar.l.google.com
74.125.31.91 news.google.com
74.125.31.91 video.google.com
74.125.31.91 translate.google.com
74.125.31.91 profiles.google.com

#goagent上传
74.125.31.91 appengine.google.com

#屏蔽IDM(Internet Download Manager)的检测链接
127.0.0.1 registeridm.com
127.0.0.1 www.registeridm.com
127.0.0.1 www.internetdownloadmanager.com

#Images(图片)
74.125.31.91 images.google.com
74.125.31.91 tbn0.google.com
74.125.31.91 tbn1.google.com
74.125.31.91 tbn2.google.com
74.125.31.91 tbn3.google.com
74.125.31.91 tbn4.google.com
74.125.31.91 tbn5.google.com
74.125.31.91 tbn6.google.com

#Picasa(相册)
74.125.31.91 picasa.google.com
74.125.31.91 photos.google.com
74.125.31.91 picasaweb.google.com
74.125.31.91 lh0.ggpht.com
74.125.31.91 lh1.ggpht.com
74.125.31.91 lh2.ggpht.com
74.125.31.91 lh3.ggpht.com
74.125.31.91 lh4.ggpht.com
74.125.31.91 lh5.ggpht.com
74.125.31.91 lh6.ggpht.com
74.125.31.91 lh7.ggpht.com
74.125.31.91 lh8.ggpht.com
74.125.31.91 lh9.ggpht.com

#google drive(网盘)
74.125.31.91 drive.google.com
74.125.31.91 lh1.google.com
74.125.31.91 lh2.google.com
74.125.31.91 lh3.google.com
74.125.31.91 lh4.google.com
74.125.31.91 lh5.google.com
74.125.31.91 lh6.google.com
74.125.31.91 0.drive.google.com
74.125.31.91 1.drive.google.com
74.125.31.91 2.drive.google.com
74.125.31.91 3.drive.google.com
74.125.31.91 4.drive.google.com
74.125.31.91 5.drive.google.com
74.125.31.91 drive0.google.com
74.125.31.91 drive1.google.com
74.125.31.91 drive2.google.com
74.125.31.91 drive3.google.com
74.125.31.91 drive4.google.com
74.125.31.91 drive5.google.com
74.125.31.91 drive6.google.com
74.125.31.91 drive7.google.com
74.125.31.91 drive8.google.com
74.125.31.91 drive9.google.com
74.125.31.91 dl-ssl.google.com
74.125.31.91 browserchannel-drives.l.google.com
74.125.31.91 drive-00-7o-drives.googleusercontent.com
74.125.31.91 drive-08-7o-drives.googleusercontent.com
74.125.31.91 drive-0c-7o-drives.googleusercontent.com
74.125.31.91 drive-0g-7o-drives.googleusercontent.com
74.125.31.91 drive-0s-7o-drives.googleusercontent.com
74.125.31.91 drive-10-7o-drives.googleusercontent.com
74.125.31.91 drive-14-7o-drives.googleusercontent.com
74.125.31.91 images-drives-opensocial.googleusercontent.com
74.125.31.91 t.drive-0-0-sj.sj.googleusercontent.com

#Docs(文档)
74.125.31.91 docs.google.com
74.125.31.91 docs0.google.com
74.125.31.91 docs1.google.com
74.125.31.91 docs2.google.com
74.125.31.91 docs3.google.com
74.125.31.91 spreadsheets.google.com
74.125.31.91 spreadsheets0.google.com
74.125.31.91 spreadsheets1.google.com
74.125.31.91 spreadsheets2.google.com
74.125.31.91 spreadsheets3.google.com
74.125.31.91 writely-china.l.google.com
74.125.31.91 writely.l.google.com

#Reader(阅读)
74.125.31.91 reader.google.com
74.125.31.91 www.google.com/reader

#Google纵横
74.125.31.91 www.google.com/latitude
74.125.31.91 khms1.google.com
74.125.31.91 khms0.google.com
74.125.31.91 mts0.google.com
74.125.31.91 mts1.google.com

#Chrome官方主题中心
74.125.31.91 tools.google.com

#Chrome书签同步
74.125.31.91 clients4.google.com
74.125.31.91 docs.google.com

#Chrome官方扩展中心:
74.125.31.91 chrome.google.com
74.125.31.91 clients2.google.com

#Google 个人资料
74.125.31.91 profiles.google.com
74.125.31.91 browsersync.google.com

#Google music
74.125.31.91 music.google.com
74.125.31.91 t.doc-0-0-sj.sj.googleusercontent.com
74.125.31.91 music-streaming.l.google.com
74.125.31.91 music.googleusercontent.com
74.125.31.91 uploadsj.clients.google.com
74.125.31.91 large-uploads.l.google.com

#chrome Webstore(网上商店)
74.125.31.91 chrome.google.com
74.125.31.91 clients0.google.com
74.125.31.91 clients1.google.com
74.125.31.91 clients2.google.com
74.125.31.91 clients3.google.com
74.125.31.91 clients4.google.com
74.125.31.91 www.googleusercontent.com
74.125.31.91 lh0.googleusercontent.com
74.125.31.91 lh1.googleusercontent.com
74.125.31.91 lh2.googleusercontent.com
74.125.31.91 lh3.googleusercontent.com
74.125.31.91 lh4.googleusercontent.com
74.125.31.91 lh5.googleusercontent.com
74.125.31.91 lh6.googleusercontent.com
74.125.31.91 clients1.googleusercontent.com
74.125.31.91 clients2.googleusercontent.com

#Map(地图)
74.125.31.91 maps.google.com
74.125.31.91 maps.gstatic.com
74.125.31.91 khm.google.com
74.125.31.91 mt0.google.com
74.125.31.91 mt1.google.com
74.125.31.91 mt2.google.com
74.125.31.91 mt.l.google.com
74.125.31.91 maps.l.google.com

#WebMail(邮箱)
74.125.31.91 mail.google.com
74.125.31.91 www.gmail.com
74.125.31.91 googlemail.l.google.com
74.125.31.91 chatenabled.mail.google.com #Gmail中Gtalk聊天服务
74.125.31.91 pop.gmail.com
74.125.31.91 smtp.gmail.com

#Mail(POP3/SMTP)
74.125.31.91 pop.gmail.com
74.125.31.91 smtp.gmail.com

#Translate(翻译)
74.125.31.91 translate.google.com

#Shopping(商店)
74.125.31.91 base0.googlehosted.com
74.125.31.91 base1.googlehosted.com
74.125.31.91 base2.googlehosted.com
74.125.31.91 base3.googlehosted.com
74.125.31.91 base4.googlehosted.com
74.125.31.91 base5.googlehosted.com

#Download 下载
74.125.31.91 dl.google.com
74.125.31.91 dl-ssl.google.com

#Scholar(学术搜索)
74.125.31.91 scholar.google.com
74.125.31.91 scholar.l.google.com

#Group(论坛)
74.125.31.91 groups.google.com
74.125.31.91 groups.l.google.com

#News(新闻)
74.125.31.91 news.google.com
74.125.31.91 nt0.ggpht.com
74.125.31.91 nt1.ggpht.com
74.125.31.91 nt2.ggpht.com
74.125.31.91 nt3.ggpht.com
74.125.31.91 nt4.ggpht.com
74.125.31.91 nt5.ggpht.com

#sites(协作平台)
74.125.31.91 sites.google.com

#Code(代码)
74.125.31.91 code.google.com

#Video(视频)
74.125.31.91 video.google.com
74.125.31.91 0.gvt0.com
74.125.31.91 1.gvt0.com
74.125.31.91 2.gvt0.com
74.125.31.91 3.gvt0.com
74.125.31.91 4.gvt0.com
74.125.31.91 5.gvt0.com
74.125.31.91 http://video.googleusercontent.com/
74.125.31.91 redirector.googlevideo.com
74.125.31.91 googlevideo.com

#Labs(实验室)
74.125.31.91 www.googlelabs.com
74.125.31.91 appspot.l.google.com
74.125.31.91 labs.google.com

#Pack(软件精选)
74.125.31.91 pack.google.com

#Calendar(日历)
74.125.31.91 calendar.google.com

#Blogger(博客)
74.125.31.91 www.blogger.com
74.125.31.91 blogger.l.google.com
74.125.31.91 blogger.google.com

#Orkut(社交)
74.125.31.91 www.orkut.com
74.125.31.91 orkut.google.com
74.125.31.91 orkut.l.google.com

#Apps(应用程序)
74.125.31.91 apps.google.com

#Books(图书)
74.125.31.91 books.google.com
74.125.31.91 bks0.books.google.com
74.125.31.91 bks1.books.google.com
74.125.31.91 bks2.books.google.com
74.125.31.91 bks3.books.google.com
74.125.31.91 bks4.books.google.com
74.125.31.91 bks5.books.google.com
74.125.31.91 bks6.books.google.com
74.125.31.91 bks7.books.google.com
74.125.31.91 bks8.books.google.com
74.125.31.91 bks9.books.google.com

#Toolbar(工具栏)
74.125.31.91 toolbar.google.com

#Desktop(桌面)
74.125.31.91 desktop.google.com

#Finance(财经)
74.125.31.91 finance.google.com

#Modules(模块)
74.125.31.91 1.ig.gmodules.com
74.125.31.91 2.ig.gmodules.com
74.125.31.91 3.ig.gmodules.com
74.125.31.91 4.ig.gmodules.com
74.125.31.91 5.ig.gmodules.com
74.125.31.91 6.ig.gmodules.com

#Misc
74.125.31.91 id.google.com
74.125.31.91 id.google.com
74.125.31.91 id.google.com
74.125.31.91 id.l.google.com
74.125.31.91 skins.gmodules.com
74.125.31.91 googlehosted.l.google.com
74.125.31.91 img0.gmodules.com
74.125.31.91 blogsearch.google.com
74.125.31.91 www2.l.google.com
74.125.31.91 www.gstatic.com
74.125.31.91 www3.l.google.com
74.125.31.91 buttons.googlesyndication.com

#Sketchup
74.125.31.91 sketchup.google.com
74.125.31.91 sketchup.google.com
74.125.31.91 sketchup.google.com
74.125.31.91 sketchup.google.com
74.125.31.91 sketchup.google.com

#Knol
74.125.31.91 knol.google.com

#Ajax
74.125.31.91 ajax.googleapis.com
74.125.31.91 googleapis-ajax.l.google.com

#SmartHosts START(2012-04-02)
#Google Services START
74.125.31.91 0.docs.google.com
74.125.31.91 0-open-opensocial.googleusercontent.com
74.125.31.91 0-focus-opensocial.googleusercontent.com
74.125.31.91 1.docs.google.com
74.125.31.91 1-focus-opensocial.googleusercontent.com
74.125.31.91 1-open-opensocial.googleusercontent.com
74.125.31.91 2.docs.google.com
74.125.31.91 2-focus-opensocial.googleusercontent.com
74.125.31.91 2-open-opensocial.googleusercontent.com
74.125.31.91 3.docs.google.com
74.125.31.91 3-focus-opensocial.googleusercontent.com
74.125.31.91 3hdrrlnlknhi77nrmsjnjr152ueo3soc-a-calendar-opensocial.googleusercontent.com
74.125.31.91 3-open-opensocial.googleusercontent.com
74.125.31.91 4.docs.google.com
74.125.31.91 4fjvqid3r3oq66t548clrdj52df15coc-a-oz-opensocial.googleusercontent.com
74.125.31.91 5.docs.google.com
74.125.31.91 53rd6p0catml6vat6qra84rs0del836d-a-oz-opensocial.googleusercontent.com
74.125.31.91 59cbv4l9s05pbaks9v77vc3mengeqors-a-oz-opensocial.googleusercontent.com
74.125.31.91 8kubpeu8314p2efdd7jlv09an9i2ljdo-a-oz-opensocial.googleusercontent.com
74.125.31.91 accounts.google.com
74.125.31.91 adstvca8k2ooaknjjmv89j22n9t676ve-a-oz-opensocial.googleusercontent.com
74.125.31.91 ajax.googleapis.com
74.125.31.91 a-oz-opensocial.googleusercontent.com
74.125.31.91 apis.google.com
74.125.31.91 appengine.google.com
74.125.31.91 apps.google.com
74.125.31.91 appspot.com
#74.125.31.91 audio.top100.cn
#74.125.31.91 audio2.top100.cn
74.125.31.91 auth.keyhole.com
74.125.31.91 autoproxy-gfwlist.googlecode.com
74.125.31.91 bks0.books.google.com
74.125.31.91 bks1.books.google.com
74.125.31.91 bks2.books.google.com
74.125.31.91 bks3.books.google.com
74.125.31.91 bks4.books.google.com
74.125.31.91 bks5.books.google.com
74.125.31.91 bks6.books.google.com
74.125.31.91 bks7.books.google.com
74.125.31.91 bks8.books.google.com
74.125.31.91 bks9.books.google.com
74.125.31.91 blogger.googleusercontent.com
74.125.31.91 blogsearch.google.cn
74.125.31.91 blogsearch.google.com
74.125.31.91 blogsearch.google.com.hk
74.125.31.91 books.google.com
74.125.31.91 browserchannel-docs.l.google.com
74.125.31.91 browserchannel-spreadsheets.l.google.com
74.125.31.91 browsersync.google.com
74.125.31.91 browsersync.l.google.com
74.125.31.91 bt26mravu2qpe56n8gnmjnpv2inl84bf-a-oz-opensocial.googleusercontent.com
74.125.31.91 cache.pack.google.com
74.125.31.91 calendar.google.com
74.125.31.91 cbk0.google.com
74.125.31.91 cbk1.google.com
74.125.31.91 cbk2.google.com
74.125.31.91 cbk3.google.com
74.125.31.91 cbks0.google.com
74.125.31.91 cbks1.google.com
74.125.31.91 cbks2.google.com
74.125.31.91 cbks3.google.com
74.125.31.91 chart.apis.google.com
74.125.31.91 chart.googleapis.com
74.125.31.91 checkout.google.com
74.125.31.91 checkout.l.google.com
74.125.31.91 chrome.angrybirds.com
74.125.31.91 chrome.google.com
74.125.31.91 chromium.googlecode.com
74.125.31.91 clients.l.google.com
74.125.31.91 clients1.google.com
74.125.31.91 clients1.google.com.hk
74.125.31.91 clients1.google.com.tw
74.125.31.91 clients1.googleusercontent.com
74.125.31.91 clients2.google.com
74.125.31.91 clients2.googleusercontent.com
74.125.31.91 clients3.google.com
74.125.31.91 clients3.googleusercontent.com
74.125.31.91 clients4.google.com
74.125.31.91 clients4.googleusercontent.com
74.125.31.91 clients5.google.com
74.125.31.91 clients5.googleusercontent.com
74.125.31.91 clients6.google.com
74.125.31.91 clients6.googleusercontent.com
74.125.31.91 clients7.google.com
74.125.31.91 clients7.googleusercontent.com
74.125.31.91 closure-library.googlecode.com
74.125.31.91 code.google.com
74.125.31.91 code.l.google.com
74.125.31.91 code-opensocial.googleusercontent.com
74.125.31.91 csi.gstatic.com
74.125.31.91 csi.l.google.com
74.125.31.91 debh8vg7vd93bco3prdajidmm7dhql3f-a-oz-opensocial.googleusercontent.com
74.125.31.91 desktop.google.com
74.125.31.91 desktop.google.com.hk
74.125.31.91 desktop.l.google.com
74.125.31.91 desktop2.google.com
74.125.31.91 ditu.google.cn
74.125.31.91 ditu.google.com
74.125.31.91 dl.google.com
74.125.31.91 dl.l.google.com
74.125.31.91 dl-ssl.google.com
74.125.31.91 doc-00-7o-docs.googleusercontent.com
74.125.31.91 doc-08-7o-docs.googleusercontent.com
74.125.31.91 doc-0c-7o-docs.googleusercontent.com
74.125.31.91 doc-0g-7o-docs.googleusercontent.com
74.125.31.91 doc-0s-7o-docs.googleusercontent.com
74.125.31.91 doc-10-7o-docs.googleusercontent.com
74.125.31.91 doc-14-7o-docs.googleusercontent.com
74.125.31.91 docs.google.com
74.125.31.91 docs0.google.com
74.125.31.91 docs1.google.com
74.125.31.91 docs2.google.com
74.125.31.91 docs3.google.com
74.125.31.91 docs4.google.com
74.125.31.91 docs5.google.com
74.125.31.91 docs6.google.com
74.125.31.91 docs7.google.com
74.125.31.91 docs8.google.com
74.125.31.91 docs9.google.com
74.125.31.91 domains.googlesyndication.com
74.125.31.91 drive.google.com
74.125.31.91 earth.google.com
74.125.31.91 earth-api-samples.googlecode.com
74.125.31.91 encrypted.google.com
74.125.31.91 encrypted.google.com.hk
74.125.31.91 encrypted-tbn.l.google.com
74.125.31.91 encrypted-tbn0.google.com
74.125.31.91 encrypted-tbn1.google.com
74.125.31.91 encrypted-tbn2.google.com
74.125.31.91 encrypted-tbn3.google.com
74.125.31.91 feedback.googleusercontent.com
74.125.31.91 feedburner.google.com
74.125.31.91 feedproxy.google.com
74.125.31.91 feeds.feedburner.com
74.125.31.91 finance.google.com
74.125.31.91 fonts.googleapis.com
74.125.31.91 g.co
74.125.31.91 g0.gstatic.com
74.125.31.91 g1.gstatic.com
74.125.31.91 g2.gstatic.com
74.125.31.91 g3.gstatic.com
74.125.31.91 geoauth.google.com
74.125.31.91 gg.google.cn
74.125.31.91 gg.google.com
74.125.31.91 ghs46.google.com
74.125.31.91 ghs46.l.google.com
74.125.31.91 gmail.com
74.125.31.91 gmaps-samples-flash.googlecode.com
74.125.31.91 goo.gl
74.125.31.91 google.com
74.125.31.91 googleapis.l.google.com
74.125.31.91 googleapis-ajax.google.com
74.125.31.91 googleapis-ajax.l.google.com
74.125.31.91 googlecode.l.google.com
74.125.31.91 google-code-feed-gadget.googlecode.com
74.125.31.91 googlehosted.l.googleusercontent.com
74.125.31.91 goto.google.com
74.125.31.91 groups.google.com
74.125.31.91 gv-gadget.appspot.com
74.125.31.91 hsco54a20sh11q9jkmb51ad2n3hmkmrg-a-oz-opensocial.googleusercontent.com
74.125.31.91 i8brh95qor6r54nkl52hidj2ggcs4jgm-a-oz-opensocial.googleusercontent.com
74.125.31.91 id.google.cn
74.125.31.91 id.google.com
74.125.31.91 id.google.com.hk
74.125.31.91 id.l.google.com
74.125.31.91 images.google.com
74.125.31.91 images.google.com.hk
74.125.31.91 images1-focus-opensocial.googleusercontent.com
74.125.31.91 images2-focus-opensocial.googleusercontent.com
74.125.31.91 images3-focus-opensocial.googleusercontent.com
74.125.31.91 images4-focus-opensocial.googleusercontent.com
74.125.31.91 images5-focus-opensocial.googleusercontent.com
74.125.31.91 images6-focus-opensocial.googleusercontent.com
74.125.31.91 images7-focus-opensocial.googleusercontent.com
74.125.31.91 images8-focus-opensocial.googleusercontent.com
74.125.31.91 images9-focus-opensocial.googleusercontent.com
74.125.31.91 images-docs-opensocial.googleusercontent.com
74.125.31.91 jmt0.google.com
74.125.31.91 k6v18tjr24doa89b55o3na41kn4v73eb-a-oz-opensocial.googleusercontent.com
74.125.31.91 kh.google.com
74.125.31.91 kh.l.google.com
74.125.31.91 khm.google.com
74.125.31.91 khm.l.google.com
74.125.31.91 khm0.google.com
74.125.31.91 khm1.google.com
74.125.31.91 khm2.google.com
74.125.31.91 khm3.google.com
74.125.31.91 khmdb.google.com
74.125.31.91 khms.google.com
74.125.31.91 khms.l.google.com
74.125.31.91 khms0.google.com
74.125.31.91 khms1.google.com
74.125.31.91 khms2.google.com
74.125.31.91 khms3.google.com
74.125.31.91 labs.google.com
74.125.31.91 large-uploads.l.google.com
74.125.31.91 lh1.ggpht.com
74.125.31.91 lh2.ggpht.com
74.125.31.91 lh2.l.google.com
74.125.31.91 lh3.ggpht.com
74.125.31.91 lh4.ggpht.com
74.125.31.91 lh5.ggpht.com
74.125.31.91 lh6.ggpht.com
74.125.31.91 lh1.googleusercontent.com
74.125.31.91 lh2.googleusercontent.com
74.125.31.91 lh3.googleusercontent.com
74.125.31.91 lh4.googleusercontent.com
74.125.31.91 lh5.googleusercontent.com
74.125.31.91 lh6.googleusercontent.com
74.125.31.91 linkhelp.clients.google.com
74.125.31.91 local.google.com
74.125.31.91 m.google.com
74.125.31.91 magnifier.blogspot.com
74.125.31.91 mail-attachment.googleusercontent.com
74.125.31.91 map.google.com
74.125.31.91 maps.google.com
74.125.31.91 maps.googleapis.com
74.125.31.91 maps.gstatic.cn
74.125.31.91 maps.gstatic.com
74.125.31.91 maps.l.google.com
74.125.31.91 maps-api-ssl.google.com
74.125.31.91 market.android.com
74.125.31.91 mars.google.com
74.125.31.91 mobilemaps.clients.google.com
74.125.31.91 mt.google.cn
74.125.31.91 mt.google.com
74.125.31.91 mt.l.google.com
74.125.31.91 mt0.google.cn
74.125.31.91 mt0.google.com
74.125.31.91 mt0.gstatic.com
74.125.31.91 mt1.google.cn
74.125.31.91 mt1.google.com
74.125.31.91 mt1.gstatic.com
74.125.31.91 mt2.google.cn
74.125.31.91 mt2.google.com
74.125.31.91 mt2.gstatic.com
74.125.31.91 mt3.google.cn
74.125.31.91 mt3.google.com
74.125.31.91 mt3.gstatic.com
74.125.31.91 mt4.gstatic.com
74.125.31.91 mt5.gstatic.com
74.125.31.91 mt6.gstatic.com
74.125.31.91 mt7.gstatic.com
74.125.31.91 mtalk.google.com
74.125.31.91 mts.google.com
74.125.31.91 mts.l.google.com
74.125.31.91 mts0.google.com
74.125.31.91 mts1.google.com
74.125.31.91 mts2.google.com
74.125.31.91 mts3.google.com
74.125.31.91 music.google.com
#74.125.31.91 music.googleusercontent.cn
74.125.31.91 music.googleusercontent.com
74.125.31.91 music-onebox.googleusercontent.com
74.125.31.91 music-streaming.l.google.com
74.125.31.91 mw1.google.com
74.125.31.91 mw2.google.com
74.125.31.91 news.google.com
74.125.31.91 newsfeed-dot-latest-dot-rovio-ad-engine.appspot.com
74.125.31.91 nt0.ggpht.com
74.125.31.91 nt1.ggpht.com
74.125.31.91 nt2.ggpht.com
74.125.31.91 nt3.ggpht.com
74.125.31.91 nt4.ggpht.com
74.125.31.91 nt5.ggpht.com
74.125.31.91 oauth.googleusercontent.com
74.125.31.91 ob7f2qc0i50kbjnc81vkhgmb5hsv7a8l-a-oz-opensocial.googleusercontent.com
74.125.31.91 ode25pfjgmvpquh3b1oqo31ti5ibg5fr-a-calendar.opensocial.googleusercontent.com
74.125.31.91 photos.google.com
74.125.31.91 photos-ugc.l.google.com
74.125.31.91 picasa.google.com
74.125.31.91 picasaweb.google.com
74.125.31.91 picasaweb.google.com.hk
74.125.31.91 picasaweb.l.google.com
74.125.31.91 places.google.com
74.125.31.91 plus.google.com
74.125.31.91 plus.url.google.com
74.125.31.91 plusone.google.com
74.125.31.91 profiles.google.com
74.125.31.91 project-slingshot-gp.appspot.com
74.125.31.91 qhie5b8u979rnch1q0hqbrmbkn9estf7-a-oz-opensocial.googleusercontent.com
74.125.31.91 r2303.latest.project-slingshot-hr.appspot.com
74.125.31.91 r3085-dot-latest-dot-project-slingshot-gp.appspot.com
74.125.31.91 r3091-dot-latest-dot-project-slingshot-gp.appspot.com
74.125.31.91 r3101-dot-latest-dot-project-slingshot-gp.appspot.com
74.125.31.91 r3432-dot-latest-dot-project-slingshot-hr.appspot.com
74.125.31.91 r4681-dot-latest-dot-project-slingshot-hr.appspot.com
74.125.31.91 r70rmsn4s0rhk6cehcbbcbfbs31pu0va-a-oz-opensocial.googleusercontent.com
74.125.31.91 rbjhe237k979f79d87gmenp3gejfonu9-a-oz-opensocial.googleusercontent.com
74.125.31.91 s1.googleusercontent.com
74.125.31.91 s2.googleusercontent.com
74.125.31.91 s3.googleusercontent.com
74.125.31.91 s4.googleusercontent.com
74.125.31.91 s5.googleusercontent.com
74.125.31.91 s6.googleusercontent.com
74.125.31.91 safebrowsing.clients.google.com
74.125.31.91 safebrowsing-cache.google.com
74.125.31.91 sandbox.google.com
74.125.31.91 sb.google.com
74.125.31.91 scholar.google.com
74.125.31.91 scholar.l.google.com
74.125.31.91 services.google.com
74.125.31.91 sites.google.com
74.125.31.91 sketchup.google.com
74.125.31.91 spreadsheet.google.com
74.125.31.91 spreadsheets.google.com
74.125.31.91 spreadsheets.l.google.com
74.125.31.91 spreadsheets0.google.com
74.125.31.91 spreadsheets1.google.com
74.125.31.91 spreadsheets2.google.com
74.125.31.91 spreadsheets-china.l.google.com
74.125.31.91 spreadsheets-opensocial.googleusercontent.com
74.125.31.91 ssl.google-analytics.com
74.125.31.91 ssl.gstatic.com
#74.125.31.91 stat.top100.cn
74.125.31.91 static.cache.l.google.com
74.125.31.91 suggestqueries.google.com
74.125.31.91 suggestqueries.l.google.com
74.125.31.91 t.doc-0-0-sj.sj.googleusercontent.com
74.125.31.91 t0.gstatic.com
74.125.31.91 t1.gstatic.com
74.125.31.91 t2.gstatic.com
74.125.31.91 t3.gstatic.com
74.125.31.91 talkgadget.google.com
74.125.31.91 talkx.l.google.com
74.125.31.91 themes.googleusercontent.com
74.125.31.91 toolbar.google.com
74.125.31.91 toolbarqueries.clients.google.com
74.125.31.91 toolbarqueries.google.com
74.125.31.91 toolbarqueries.google.com.hk
74.125.31.91 toolbarqueries.l.google.com
74.125.31.91 tools.google.com
74.125.31.91 translate.google.com
74.125.31.91 translate.googleapis.com
74.125.31.91 translate.googleusercontent.com
74.125.31.91 u807isd5egseeabjccgcns005p2miucq-a-oz-opensocial.googleusercontent.com
74.125.31.91 uploadsj.clients.google.com
74.125.31.91 upt14k1i2veesusrda9nfotcrbp9d7p5-a-oz-opensocial.googleusercontent.com
74.125.31.91 video.google.com
74.125.31.91 video-stats.l.google.com
74.125.31.91 voice.google.com
74.125.31.91 webcache.googleusercontent.com
74.125.31.91 wenda.google.com.hk
74.125.31.91 wifi.google.com
74.125.31.91 wifi.l.google.com
74.125.31.91 wire.l.google.com
74.125.31.91 writely.l.google.com
74.125.31.91 writely-china.l.google.com
74.125.31.91 writely-com.l.google.com
74.125.31.91 wcproxyx.appspot.com
74.125.31.91 www.appspot.com
74.125.31.91 www.gmail.com
74.125.31.91 www.google.cn
74.125.31.91 www.google.com
74.125.31.91 www.google.com.hk
74.125.31.91 www.googleadservices.com
74.125.31.91 www.google-analytics.com
74.125.31.91 www.googleapis.com
74.125.31.91 www.googlelabs.com
74.125.31.91 www.googleusercontent.com
74.125.31.91 www.gstatic.cn
74.125.31.91 www.gstatic.com
74.125.31.91 www.l.google.com
74.125.31.91 www-calendar-opensocial.googleusercontent.com
74.125.31.91 www-fc-opensocial.googleusercontent.com
74.125.31.91 www-focus-opensocial.googleusercontent.com
74.125.31.91 www-gm-opensocial.googleusercontent.com
74.125.31.91 www-kix-opensocial.googleusercontent.com
74.125.31.91 www-open-opensocial.googleusercontent.com
74.125.31.91 www-opensocial.googleusercontent.com
74.125.31.91 www-opensocial-sandbox.googleusercontent.com
74.125.31.91 www-oz-opensocial.googleusercontent.com
74.125.31.91 ytstatic.l.google.com
74.125.31.91 chrometophone.appspot.com
#Google Services END

#Youtube上传
74.125.31.91 youtube.com
74.125.31.91 www.youtube.com
74.125.31.91 gdata.youtube.com
74.125.31.91 m.youtube.com
74.125.31.91 help.youtube.com
74.125.31.91 upload.youtube.com
74.125.31.91 accounts.youtube.com
74.125.31.91 insight.youtube.com
74.125.31.91 apiblog.youtube.com
74.125.31.91 clients1.youtube.com
74.125.31.91 s.youtube.com
74.125.31.91 s2.youtube.com
74.125.31.91 i.ytimg.com
74.125.31.91 i1.ytimg.com
74.125.31.91 i2.ytimg.com
74.125.31.91 i3.ytimg.com
74.125.31.91 i4.ytimg.com
74.125.31.91 s.ytimg.com
74.125.31.91 ytimg.l.google.com

Google Docs备份

什么是U盘量产工具?

1. 什么是量产工具,有何作用?

量是指批量的意思,即量产工具可以一次性生产出很多U盘,只要你的USB孔足够。
量产工具是针对U盘主控芯片进行操作的由厂商开发的低层软件,作用:
1)低格U盘,修复操作不当损坏的U盘
2)生产加密盘,还可以制作有个性信息的U盘
3)分区,可以生产只读分区,更改U盘介质类型(removabel 和 fixed)
4)量产出USB-CDROM,此作用可以做启动光盘
5)有些U盘量产后读写速度可以大幅提升

量产工具的英文简写是MP Tool,更详细一点是Mass Production Tool,表示大量生产的工具软件

2. 读卡器所组成的U盘能量产出CDROM吗?
不能,也许以后会有这样的读卡器。

3.移动硬盘能量产吗?
目前不能,芯邦在搞,据说明年会出来。
如果真出来这样的工具,CD\DVD销量可能要大大下降了。

4.所有U盘都能量产吗?
应该是的,就看有没有合适的量产工具放出。主控厂商肯定都有的。

5.如何判断U盘主控 ?
1) 用芯片精灵(ChipGenius)软件来检测
2) 拆开外壳查看主控型号(不过现在许多迷你U盘拆不了)

6. 什么量产工具最好用?
都差不多,就看熟不熟练。

7. 使用量产工具要注意什么?
1)不要怕,大胆的弄,U盘不会坏的。
2)量产也有经常出错的时候,如U盘变成8M,再次进行。

8. 量产出的CD-ROM最大可以是多大?
不同版本,牌子不一样,我的4G的ICREATE的可以量产出1G多点。这个技术指标开发商不透露。
现在有些主控已经可以量产DVD了,可以达到4G

9. 量产工具版本越高越好吗?
不一定,还要看是不是支持你的U盘的类型。

10. 量产出的CDROM启动兼容性、速度怎样?
新主板几乎都可以,老主板有的USB-HDD或USB-ZIP都不行,但CDROM可以;如果主板支持USB2.0且打开“high speed”,U盘也支持USB2.0这个启动速度是很快的,用来安装WinXP就是一例

11. 不同的量产工具为什么不能通用?
主要区别在于不同厂家的主控芯片都有其保密的指令与函数,没法通用。

12. 为什么有的CDROM要以启动2次才可以成功
这个,有请高手研究,说到这里,涉及到了BIOS内容,不同BIOS的处理情况不一样,我们这里没有这样的专家。当年BINBIN等CRACK VISTA的时候,BIOS专家出面,解决了不少问题,当然是针对AWARD的,至于AMI的,还没有这样的公开程序。如果从BIOS层面解决对 USBCDROM的识别问题,就太好了。

13. 从哪里可以得到量产工具?
1)从U盘厂家网站,一般主控开发商都给他们主控的。
2)从数码之家网站下载,更新很快,相当齐全
3)搜索网络,包括网络和这里
4)打电话或发EMAIL要

14. MP3、MP4等设备可以做启动盘吗?
硬件基本差不多,都可以的。一般只能做USB-HDD启动

15. 量产成CDROM后,剩余空间怎么用?
剩余空间会被识别成为一个独立的U盘,可以做成fixed盘,进一步分区;也可以为removable盘。剩余空间可以用来作启动,也可以当成普通U盘储存文件.

16. 量产工具可以在VISTA下运行吗?
目前不可以,在VISTA下会存在各种错误。

17. 如果测试量产出的CDROM成功了?
好多人量产完成后用几台机器试都无法启动,怎样确定是否成功呢?很简单,用虚拟机,启机时选择CDROM先启动就可以了,如果成功则量产没有问题

18. 一个怪现象
碰到一个主板,首次USBCDROM启动没有问题,可是第二次,就不行了,停止了,说什么没有系统。解决方法就是在BIOS的BOOT顺序时重新设置USBCDROM为第一启动,保存一下BIOS

19. 量产失败,无法用软件补救怎么办?
短接FLASH引脚,恢复到出厂状态!
有些方案还可以用相应的工具恢复

20. 量产启动模式有哪几种
有USB-CDROM、USB-HDD(这两种最常用),还有USB-ZIP、USB-FDD(模拟软驱)等

作者:victor888 来源:http://bbs.mydigit.cn/read.php?tid=65230

相关:
总结几点优盘量产前的准备工作和注意事项
http://bbs.mydigit.cn/read.php?tid=79204

与U盘启动相关的BIOS设置说明图解
http://bbs.mydigit.cn/read.php?tid=68831

总结几点优盘量产前的准备工作和注意事项[20090423]

1、准备工作:量产第一件事就是先用最新版芯片精灵(ChipGenius)检测自已U盘的主控型,做到心中有数,再根据上面的链接下载量产工具。再根据主控型号在站内搜索一下,多看几篇量产教程。做到心中有数再动手。
另外量产前要先备份U盘的数据,因为一旦量产就会破坏U盘上的所有文件

2、操作系统:因为量产工具的读写需涉及到硬件方面,所以尽量不要用精简版的系统、不要用Windows7等新出的系统(随着时间推移会改善)。最好使用WinXP、Win2000等32位操作系统。量产的时候要用管理员权限;还有群联方案的需要安装网络协议。

3、杀毒软件:量产前最好先关闭杀毒监控,因为有个别量产工具会被杀软报告是病毒,不然会量产失败。站内有会员关闭金山毒霸后量产成功的案例。

4、USB端口:不要用USB1.1的端口,像群联的量产工具就不能在USB1.1下量产。也不要用USB延长线,尽量把U盘直接插在主板的USB口上

5、工具版本:每个主控方案的量产工具都有很多个版本,量产前最好多看看会员的量产经验,看大家使用的是什么版本及注意事项。下载量产工具的时候认真看发布者写的说明。有时量产失败可以换其它版本再试。

6、设备冲突:量产前先拔下其它所有USB设备,不然有时会造成冲突。比如USB集线器、读卡器、USB鼠标等,当量产的U盘与这些USB设备在同一组端口时,就会引起冲突,有时还会使量产成功的U盘无法启动电脑。解决办法就是换插到别一个USB插口。

7、驱动问题:现在USB设备非常多,而且许多都要安装自已的驱动程序,这也会引起硬件驱动的冲突。比如USBest、安国等量产工具在使用的时候都会安装自已的驱动程序,以便于完成对U盘的底层读写。如果这时电脑里存在其它USB设备驱动,可能会造成安装失败。解决办法是用“护U使者”清理在电脑上的残留U盘信息,或重新安装操作系统或换一台电脑再试

大家碰到量产失败的时候先检测一下上述事项,说不定就自已把问题解决了
先总结这么多,欢迎各位MyDigitER补充......

作者:发骚友 来源:http://bbs.mydigit.cn/read.php?tid=79204

相关:
什么是U盘量产工具?量产基本知识
http://bbs.mydigit.cn/read.php?tid=65230

与U盘启动相关的BIOS设置说明图解
http://bbs.mydigit.cn/read.php?tid=68831

搜集的一些U盘量产工具使用操作说明手册
http://bbs.mydigit.cn/read.php?tid=35887

钛备份在CM10.2下出现insufficient Free Storage Space错误

钛备份Android必备APP之一,可就是在我刷完CM10.2之后发生了"(Titanium Backup)batch backup interrupted: insufficient storage space"错误,无论什么操作都会发生这个错误.Google之后发现这是一个BUG.解决方法:

进入设置,更改备份存放目录为:
/storage/emulated/legacy/(Titanium Backup folder)

重启钛备份即可避免这个错误.

Quote Of The Day