在Eclipse中导出Android apk文件

下安装到Android手机上的apk需要签名,本文描述了如何创建自己的签名及从Eclipse中导出apk。 在Eclipse中选择一个Android工程,然后点击鼠标右键菜单中的“Export”: 选择“Android”->;“Export Android Application”,点击“Next”: 由于我们之前已经选择了工程,所以直接点击“Next”, 由于我们...

Read More

Excel中获取指定区域的位置

获取指定区域的开始行 获取指定区域的结束行 获取指定区域的开始列 获取指定区域的结束列 获取指定区域的开始行 通过Row属性来获取 Function StartRow(rng As Range) As Integer StartRow = rng.Row End Function 获取指定区域的结束行 先找到最后一行,再通过Row属性获取其对应的行数 F...

Read More

Edit registory file in Vim

Windows registry files (*.REG) are encoded in UTF-16le with BOM. So we need to config vim to read registry files correctly. Add the following lines to vimrc file. set encoding=utf-8 set fileencod...

Read More

Typedef Declaration

Syntax Examples A typedef declaration is a declaration with typedef as the storage class. The declarator becomes a new type. You can use typedef declarations to construct shorter or more mea...

Read More