http://hsx9566.iteye.com/blog/1305052在android上使用ASCII显示特殊符号在xml中表示如下:Java代码¥相应的在代码中表示如下:Java代码tv.setText(R.string.symbol);或直接Java代码charsymbol=165...
分类:
移动开发 时间:
2014-07-16 17:39:56
阅读次数:
242
什么是匿名Service?凡是没有到ServiceManager上注册的Service,都是匿名Service。
还是拿上一篇的例子来举例,看代码:
status_t MediaPlayer::setDataSource(int fd, int64_t offset, int64_t length)
{
status_t err = UNKNOWN_ERROR;
const s...
分类:
移动开发 时间:
2014-07-16 17:17:32
阅读次数:
379
python安装模块时:pythonsetup.pyinstall错误:ImportError:Nomodulenamedsetuptools没有setuptools的模块,安装这个模块即可解决此问题:下载setuptools包wgetthttp://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gztarzxvfsetuptools-0.6c11.tar.g..
分类:
编程语言 时间:
2014-07-16 16:26:03
阅读次数:
231
Description
Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the best s...
分类:
其他好文 时间:
2014-07-16 14:29:06
阅读次数:
195
升级python版本后,运行yum
# yum -y install openssl
提示如下:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Pl...
分类:
编程语言 时间:
2014-07-16 14:04:47
阅读次数:
193
1. 设置iis pool: cls Import-Module WebAdministration Get-ChildItem IIS:\apppools | ForEach-Object{ $name = $_.name Write-Host $_.name $pool = Get-Item I...
分类:
其他好文 时间:
2014-07-16 12:26:18
阅读次数:
1084
无书面授权,请勿转载
第五章 自定义模块
Using a module
Now that we have written our very first module for Ansible, we should give it a
go in a playbook. Ansible looks at several places for its modules: first it looks ...
分类:
其他好文 时间:
2014-07-16 09:14:31
阅读次数:
376
数据库表设计
1.1.1. 模块管理(jk_module)
项
类型
说明
id
long
就是数据库记录idx号
name
string
模块名称
orderid
int
排序id 由小到大显示
deleted
...
分类:
编程语言 时间:
2014-07-16 08:48:52
阅读次数:
261
help(__import__)__import__(...) __import__(name, globals={}, locals={}, fromlist=[], level=-1) -> module 导入一个模块。 globals:决定上下文,不修改。 locals:当前未使用。 ...
分类:
编程语言 时间:
2014-07-16 00:48:27
阅读次数:
302
yumremoveibusyuminstallfcitxfcitx-table-chinesefcitx-gtk2fcitx-gtk3fcitx-libsfcitx-datacd~vi.bash_profile输入以下几行exportGTK_IM_MODULE=fcitxexportQT_IM_MODULE=fcitxexportXMODIFIERS=“@im=fcitx”输入命令killallfcitx&&fcitx&查看/etc/rc.d/rc.loca..
分类:
其他好文 时间:
2014-07-15 12:05:46
阅读次数:
260