自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

罗马非一日建成

能成功的人多少都有一份坚持~~

  • 博客(71)
  • 收藏
  • 关注

原创 android 初学: 提示No Launcher activity found!

提示No Launcher activity found!三步检查:1 必须有 用来标示主Activity2 但是依然报: No Launcher activity found!,肯定是没起作用.3 详细检查,其中一个字母写错了,囧. 遇到类似状况仔细检查.                    android:name="com.example.mynoteboo

2013-08-05 17:35:25 1223

原创 eclipse 恢复删除文件

工程上,或是任意文件夹上右键→Restore from Local History如果一次没有恢复全部,在各级父文件夹上,多试几次。在Window→Preferences→General→Workspace→Local History可以设置保留文件的天数和个数

2013-08-05 11:03:38 1180

原创 eclipse 展示行号

代码页面 -> ctrl + F10 -> show Line numbers

2013-08-05 10:28:43 1034

原创 常见android手机分辨率(4:3 5:3 16:9 *VGA *HD 720p 1080p )

手机常见分辨率:4:3VGA     640*480 (Video Graphics Array)QVGA  320*240 (Quarter VGA)HVGA  480*320 (Half-size VGA)SVGA  800*600 (Super VGA)5:3WVGA  800*480 (Wide VGA)16:9FWVGA 854*480 (

2012-12-03 14:27:54 5512

原创 JE WakeLock [android][sogou]

Exception Class: Java (JE)Exception Type: data_app_wtfBacktrace: Process: com.sohu.inputmethod.sogouFlags: 0xbe44Package: com.sohu.inputmethod.sogou v131 (3.3)Subject: PowerManagerandroi

2012-11-06 17:53:55 2125

原创 emma 小记

--简介EMMA 是一个用于检测测试代码覆盖率和报告 JAVA 代码覆盖率的开源工具。它不但能很好的用于小型项目,很方便得得出覆盖率报告,而且适用于大型企业级别的项目。EMMA 有许多优点,首先你能免费得到它,并把它用于自己项目的开发。它支持许多种级别的覆盖率指标:包,类,方法,语句块(basic block)和行,特别是它能测出某一行是否只是被部分覆盖,如条件语句短路的情况。它能

2012-11-06 17:35:57 716

原创 bat 小记

批处理文件,在MS-DOS中,.bat文件是可执行文件,由一系列命令构成,其中可以包含对其他程序的调用。 --work use--常用命令--灰常简单的一个例子@echo offD:cd\batcd cat1cd cat2dirPAUSE

2012-11-06 17:28:21 493

原创 Google Chrome 导入IE和Firefox的收藏夹和浏览记录

设置->用户->导入书签和设置

2012-10-31 16:37:55 876

原创 CTS test 小记

step1: 下载CTS test 包 http://source.android.com/compatibility/cts-intro.htmlstep2: 按照url说明的做相关配置step3:到目录tools下面执行cts-tradefed(不能android版本的可能不同)step4:> run cts (或在后面加相关参数)会生成log到result目录.

2012-10-25 15:15:45 664

原创 monkeyrunner Stress Test

1 Environment Setup Install latest Android SDK 2 Phone Environment Eable Mobile/Modem log Ensure adb is OK3 Phone Time verification (same with Computer)  adb shell date -s? %date:~0,4%%dat

2012-10-17 11:04:08 886

转载 android Monkey的使用

转载自:http://www.eoeandroid.com/forum.php?mod=viewthread&tid=188050&reltid=8006&pre_thread_id=0&pre_pos=2&ext=monkey 压力测试adb -d shell monkey -p your.package.name -v 6000一、  什么是Monkey    Monk

2012-10-15 12:57:39 814

原创 git revert 撤销提交

Git的一些常用的撤销提交版本的的命令:git revert HEAD                  撤销前一次 commit git revert HEAD^               撤销前前一次 commit git revert commit (比如:fa042ce57ebbe5bb9c8db709f719cec2c58ee7ff)撤销指定的版本,撤销也会作为一次提交进行

2012-09-27 13:59:50 12692

原创 chapter6:python 抽象

1 Fibonacci 斐波那契序列 & callable() & __doc__ & help()#note:如果使用raw_input,则返回的是plain string,需要进行int转换def fib(): num = input('how many numbers you want to get? ') fibs = [0,1] for i in range

2012-09-14 18:06:32 647

原创 chapter9: python 类的方法,属性,迭代器(new[old]-type class,[un]bound method,super,protocol,property,iterators)

chapter 9:Magic Methods, Properties, and Iterators1 new-type class & old-type class参考:http://ebkk.blog.163.com/blog/static/194135085200972692621216/从python 2.2 起,如果一个类继承自object 对象(或者它是任何内建类型

2012-09-12 17:41:30 1399

原创 chapter1:python 基础(数据类型,运算符,常用内置函数,模型,strings等)

第一章:python基础 1 运算符 >>1+2*3>>7 整除>>1/2>>0 浮点数除,任何一方浮点即可>>1/2.0>>0.5 取余>>7%5>>2 求幂>>2**3>>8 注意:幂结合度比负号大>>-2**2>>-4 扩充:__future__用于导入python未来支持的语言特征

2012-09-12 14:51:50 1099

原创 linux 下安装/卸载软件

$ tar -xzvf Python-2.5.tgz$ cd Python-2.5$ ./configure --prefix=$(pwd)  $ make$ make install $ make uninstall usr/bin 下查看所有可启动文件的执行命令usr/local 一般放置安装软件,prefix可指定安装路径如:./configure –

2012-09-11 17:26:05 622

原创 dos cd 命令无法切换目录

可能其他盘没有cd盘符 直接输入D: 试试 C:\Documents and Settings>D:D:\>

2012-09-11 14:12:18 3508

原创 Beginning Python - Chapter10 : Batteries included

#Chapter10:Batteries included# Question :regular expression#1 simple example about moduleimport syssys.path.append('E:\pycode')import hello         #excute hello.py and a new file appears (h

2012-09-05 16:47:33 784

原创 Beginning Python - Chapter7 : Exceptions

#Chapter8:Exceptions#Question:Warning?#1 The raise statement# raise Exception('test')import exceptionsprint dir(exceptions) # built-in exceptions in the module exceptions(as well as in the b

2012-09-03 14:05:22 658

原创 Beginning Python - Chapter6 : More Abstraction

#Chapter5:more abstraction#1 The magic of objects# polymorphism means having multiple forms.# encapsulation# inheritance#2 making your own classesclass Person:    def setName(self,name):

2012-08-31 18:08:12 497

原创 Beginning Python - Chapter6 : Abstraction

#Chapter5:abstraction#1 Creating Your Own Functions# -1.1- Documenting Functionsdef hello(name):    'this is comments' #docstring:comment of this fuc, can be show using .__doc__    'this is

2012-08-31 14:07:05 505

原创 Beginning Python - Chapter5 : conditinals,loops,and some other statements

#Chapter5:conditinals,loops,and some other statements# Questions:about namespace with exec#1 more about print & import# -1.1- printprint 'hello', \      'world' #same withprint 'hello',p

2012-08-29 18:00:39 1145

原创 互联网常见英文缩写

A        A2DP Advanced Audio Distribution Profile             有A2DP的耳机就是蓝牙立体声耳机。声音能达到44.1kHz,一般的耳机只能达到8kHz。如果手机支持蓝牙,只要装载A2DP协议,就能使用A2DP耳机了。     AMR Automatic Mobile Robot 主移动机器人              A

2012-08-29 14:28:23 4797

原创 Beginning Python - Chapter2 : Lists and Tuples

------------chapter2:----------1 six built-in types of sequenceslisttuplesstringsunicode stringsbuffer objectsxrange objects----------2 list VS tupleslist can be changedtuples can

2012-08-29 14:22:06 640

原创 Beginning Python - Chapter3 : Strings

------------chapter3: Strings----------basic string operationsall sequences' operations ; but cannot be changed----------string formatting:the short version--------generic formattingNote:If

2012-08-29 14:19:23 530

原创 Beginning Python - Chapter4 : Dictionaries

# chapter4: dictionaries# Question: why can not use dict function to init seq like dict(seq)# dicts have no order#1 initdict={'lili':'01','lucy':'02'}print dict['lili']#2 basic dictionay o

2012-08-29 14:16:25 684

原创 microsoft Viso 调节画板大小

ctrl 画板上会出现箭头 , 拖动即可~~ 可以进行大小调整、方向旋转

2012-06-07 09:40:42 3289

翻译 VOA Special English " Facebook Stock Goes on Sale" (中英文对照)

This is the VOA Special English Economics Report.这里是美国之音慢速英语经济报道。Facebook is the world's biggest social network. It has over nine hundred million users worldwide. And it reported three point sev

2012-05-29 15:45:43 1350

原创 打印机设置为双面打印

1 控制面板 -> 打印机和传真    选择打印机 , 右键 属性 - > 打印机首选项 -> 选择 “双面打印”   ps: 有的打印机不是在 “打印机首选项” 里面设置,不过右键属性是没错,找找就ok 2 文档打印 界面 有属性选择 ,进去然后同上面步骤

2012-05-29 15:40:24 1810

原创 excel 让单元格上的文字全部显示(英文版)

单元格上右键 ->format cells->alignment - text control 选wrap text

2012-03-15 15:28:02 1715

原创 excel 冻结行 在拖动的时候有的行固定有的行隐藏 (中英文版)

英文版view -> Freeze Panes中文版视图-> 冻结行

2012-03-15 13:06:59 2091

原创 给刚出校门到29岁间程序员间的程序员看,亲身体会

首先为什么把岁数定位呢,身边这些人数居多,个人鄙见,无接触的不敢涉及过广。。。文笔菜,见识浅,献丑了。。。 拿个人举例,权当抛砖引玉 。24岁,近3年的开发经验,换家新公司,机缘巧合最近转做PM;当然了不同公司对PM的定位不甚相同,我们公司定位就是ProjectManager,定位一般偏上; 和从本公司转进的PM比,业务人脉不甚熟悉;我不是悲观,也相信,业务和人脉这些东西是

2012-02-22 18:49:42 1577

原创 UE(ultral edit)快捷键 -- 用键盘快速移动光标(适用其他文本编译器)

移动一个单词  (或者说移动至有空格的地方更准确,不过上面说法更直白啦)ctrl + 左箭头←  或者ctrl + 右键头 → 移动至行首home (注意哦,用小键盘的时候,要lock num哦)移动至行尾end (home的邻居) 移动至文件首ctrl + home移动至文件尾ctrl + end(当然还有PgUp 和PgDn) -

2012-02-17 16:31:12 2894

原创 UE(ultraEdit)快捷键--插入日期

1 右键->Date/Time --English Version ; similar with chinese version2 F7    --ok,just F7 O(∩_∩)O~ 2012-2-17 11:43:06

2012-02-17 11:45:16 1350

原创 linux下查看软件安装路径

whereis eclipse  --注意where is 不能分开;有时会查的也不是特别准确,聊表记录使用

2012-02-16 14:54:17 927

原创 linux下查看使用过的命令,并使用

上箭头,下箭头,就不必说了,选中Enter; :history --查看使用过的命令,会对使用过的命令按顺序标号  如: 521 ls  522 cd:!521 --执行第521个对应的命令

2012-02-16 14:50:55 1371 2

原创 android adb 常用命令使用介绍 (【un】install push pull logcat devices remount shell monkey)

adb(android debug bridge)adb devices --查看当前连接的模拟器/设备adb remount --模拟器/设备重新启动,保证能用adb push src des  -- 例如:adb push src sdcard/  说明:src表示是source要拿的文件的的路径,des表示destination,目的地adb pull des s

2012-02-16 14:46:20 2528

原创 eclipse添加project(英文版,中文也适用)

Just follow this steps:  File -> Import -> General -> Existing Projects into Workspace ->select root directory -> finish

2012-02-10 17:06:05 833

原创 UE(ultraEdit)设置不产生.bak文件(内含中英文版本)

英文版按照如下顺序设置:Menu: Advanced --> Confiugration --> File Handling --> Backup --> Select No Backup option 中文版按照如下顺序设置:高级--> 配置 --> 文件处理 --> 备份,选择右侧的不备份即可

2012-02-07 16:39:41 3179 2

转载 引用和指针的区别 | summary from web

一:概念说明指针从本质上讲就是存放变量地址的一个变量,在逻辑上是独立的,它可以被改变,包括其所指向的地址的改变和其指向的地址中所存放的数据的改变。引用是一个别名,它在逻辑上不是独立的,它的存在具有依附性,所以引用必须在一开始就被初始化,而且其引用的对象在其整个生命周期中是不能被改变的(自始至终只能依附于同一个变量)。 二:函数参数传递使用在C++中,指针和引用经常用于函数的参数

2011-11-14 16:07:22 736

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除