经验学习
supperstar_love
这个作者很懒,什么都没留下…
展开
-
数据库优化(Oracle)SQL
--查看CUP的占用率select c.spid spid, b.osuser osuser, b.machine machine, b.username username, ''''||b.sid||','|| b.serial#||'''' sid, a.sql_text from v$sqltext a, v$session b, v$process c wh...2009-09-05 14:56:32 · 82 阅读 · 0 评论 -
wiki配置管理
def __init__(self, siteid): """ Init Config instance """ self.siteid = siteid self.cache = CacheClass() from MoinMoin.Page import ItemCache self.cache.me...2009-09-04 11:32:17 · 66 阅读 · 0 评论 -
wiki配置管理
def _makeConfig(name): """ Create and return a config instance Timestamp config with either module mtime or farmconfig mtime. This mtime can be used later to invalidate older caches....2009-09-04 11:31:14 · 79 阅读 · 0 评论 -
wiki配置管理
# -*- coding: iso-8859-1 -*-""" MoinMoin - Multiple configuration handler and Configuration defaults class @copyright: 2000-2004 Juergen Hermann , 2005-2008 MoinMoin:Tho...2009-09-04 11:30:35 · 207 阅读 · 0 评论 -
wiki配置管理
## EnableMMAP and EnableSendfile: On systems that support it, # memory-mapping or the sendfile syscall is used to deliver# files. This usually improves server performance, but must# be turned...2009-09-04 11:28:57 · 61 阅读 · 0 评论 -
wiki配置管理
# # ScriptSock: On threaded servers, designate the path to the UNIX # socket used to communicate with the CGI daemon of mod_cgid. # #Scriptsock logs/cgisock## "C:/Apa...2009-09-04 11:10:11 · 69 阅读 · 0 评论 -
wiki配置管理
# # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # #...2009-09-04 11:09:03 · 88 阅读 · 0 评论 -
wiki配置管理
LoadModule isapi_module modules/mod_isapi.so#LoadModule ldap_module modules/mod_ldap.so#LoadModule logio_module modules/mod_logio.soLoadModule log_config_module modules/mod_log_config.so#LoadM...2009-09-04 11:07:59 · 68 阅读 · 0 评论 -
wiki配置管理
# This is the main Apache HTTP server configuration file. It contains the# configuration directives that give the server its instructions.# See for detailed information.# In particular, see ...2009-09-04 11:06:52 · 71 阅读 · 0 评论 -
wiki配置管理
#! C:/Python/python# -*- coding: gb18030 -*-""" MoinMoin - CGI Driver Script @copyright: 2000-2005 by Juergen Hermann , 2008 by MoinMoin:ThomasWaldmann @license: ...2009-09-04 11:04:12 · 93 阅读 · 0 评论 -
wiki配置管理员
# IMPORTANT: grant yourself admin rights! replace YourName with # your user name. See HelpOnAccessControlLists for more help. # All acl_rights_xxx options must use unicode [Unicode] ...2009-09-04 11:02:44 · 954 阅读 · 0 评论 -
wiki配置管理
# check if python-xapian is installed if self.xapian_search: try: import xapian except ImportError, err: self.xapian_search...2009-09-04 11:33:27 · 120 阅读 · 0 评论 -
wiki配置管理
# lazily load iwid(_full) def make_iwid_property(attr): def getter(self): if getattr(self, attr, None) is None: self.load_IWID() return get...2009-09-04 11:34:13 · 125 阅读 · 0 评论 -
wiki配置说明
wiki所有配置所存的几个目录Wiki安装之后需要配置或修改的几个文件:1、wikiconfig.py -- 对应的目录 Moin\mywiki\wikiconfig.py2、moin.cgi -- Moin\mywiki\moin.cgi3、httpd.conf -- Apache\conf\httpd.conf4、multiconfig.py...2009-09-04 11:59:49 · 377 阅读 · 0 评论 -
wiki配置管理
'openid_server': ('OpenID Server', 'These settings control the built-in OpenID Identity Provider (server).', ( ('enabled', False, "True to enable the built-in OpenID server.")...2009-09-04 11:58:35 · 76 阅读 · 0 评论 -
wiki配置管理
'xapian': ('Xapian search', "Configuration of the Xapian based indexed search, see HelpOnXapian.", ( ('search', False, "True to enable the fast, indexed search (based on the Xapian ...2009-09-04 11:58:06 · 80 阅读 · 0 评论 -
wiki配置管理
('language_default', 'en', "Default language for user interface and page content, see HelpOnLanguages."), ('language_ignore_browser', False, "if True, ignore user's browser language settings,...2009-09-04 11:55:32 · 82 阅读 · 0 评论 -
wiki配置管理
('url_prefix_action', None, "Use 'action' to enable action URL generation to be compatible with robots.txt. It will generate .../action/info/PageName?action=info then. Recommended for intern...2009-09-04 11:54:14 · 83 阅读 · 0 评论 -
wiki配置管理
# Standard buttons in the iconbar ('page_icons_table', { # key pagekey, querystr dict, title, icon-key 'diff': ('page', {'action': 'diff'}, _("Diffs"), "diff...2009-09-04 11:53:04 · 87 阅读 · 0 评论 -
wiki配置管理
('supplementation_page', False, "if True, show a link to the supplementation page in the theme"), ('supplementation_page_name', u'Discussion', "default name of the supplementation...2009-09-04 11:51:58 · 1303 阅读 · 0 评论 -
wiki配置管理
options_no_group_name = { # ========================================================================== 'session': ('Session settings', "Session-related settings, see HelpOnSessions.", ( ('s...2009-09-04 11:46:54 · 105 阅读 · 0 评论 -
wiki配置管理
Make sure your data directory path is correct, check permissions, andthat the data/plugin directory has an __init__.py file.""" % { 'path': pdir, 'err': str(err),} raise e...2009-09-04 11:45:25 · 72 阅读 · 0 评论 -
wiki配置管理
for name in decode_names: attr = getattr(self, name, None) if attr: # Try to decode strings if isinstance(attr, str): ...2009-09-04 11:35:40 · 92 阅读 · 0 评论 -
wiki配置管理
# -*- coding: gb18030 -*-# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a# western country and you don't know that you use utf-8, you probably want to# use iso-8859...2009-09-04 11:00:52 · 265 阅读 · 0 评论 -
将Java换行转换成VBscript换行符
这是一段处理: 将Java换行换成VBscript中的换行效果 String tempStr = "test\n123\n\till\nsdf"; if(tempStr.indexOf("\n") >= 0) { tempStr = tempStr.replaceAll("\n", "\" &chr(10) &chr(13) & \""); }2009-08-25 09:45:57 · 134 阅读 · 0 评论 -
Java连接MySql,Oracle,SQL Server
Class.forName("com.mysql.jdbc.Driver");String url = "jdbc:mysql://127.0.0.1/myDatabase";String user = "user";String password = "password";Connection conn = DriverManager.getConnection(url, use...原创 2009-08-24 20:49:07 · 90 阅读 · 0 评论 -
IDE(Eclipse)快捷键 (二)
导航作用域 功能 快捷键 Java编辑器 打开结构 Ctrl+F3 全局 打开类型 Ctrl+Shift+T 全局 打开类型层次结构 F4 全局 打开声明 F3 全局 打开外部javadoc Shift+F2 全局 打开资源 Ctrl+Shift+R 全局 后退历史记录 Alt+← 全局 前进历史记录 Alt+→ 全局 上一个 Ctrl+, 全局 下一个...2009-07-20 14:42:47 · 60 阅读 · 0 评论 -
IDE(Eclipse)快捷键 (一)
Eclipse快捷键指南编辑作用域 功能 快捷键 全局 查找并替换 Ctrl+F 文本编辑器 查找上一个 Ctrl+Shift+K 文本编辑器 查找下一个 Ctrl+K 全局 撤销 Ctrl+Z 全局 复制 Ctrl+C 全局 恢复上一个选择 Alt+Shift+↓ 全局 剪切 Ctrl+X 全局 快速修正 Ctrl1+1 全局 内容辅助 Alt...2009-07-20 14:40:00 · 50 阅读 · 0 评论 -
JQuery学习网站
JQuery学习网站,有必要时可以看看http://www.visualjquery.com/index.xml 很好的API查询站点 http://jquery.com/demo/thickbox/ 知道lightBox吧,看看Jquery是怎样实现相同的东西 http://www.codylindley.com/blogstuff/js/jtip/ Jtip,实用的提示工具 ...2009-07-17 15:40:56 · 85 阅读 · 0 评论 -
PC子系统
PC子系统是BOSS系统的一个重要子系统,内容主要涉及产品、商品、服务、参数等具体配置,以及相应的各种资费和优惠,短信模板,合同,品牌等业务功能PC以产品和商品为中心,映射出其它各种需求与配置,PC的主要作用与目的是完成产品与商品的个性化配置,满足用户需求。PC的主要内容:一个目的,查看两个销售渠道,两类合同三类产品,三类短信,四种服务多种资费...2009-07-17 14:31:25 · 116 阅读 · 0 评论 -
数据库导入导出
Oracle以dmp文件导入导出:1. 导出(一个*.bat文件) exp topeng(用户名)/topeng(密码)@BOSS_DB(SIN,数据库连接名称) file=topeng.dmp(导出的文件命名) log=topeng.log(数据导出时所打印的日志信息) buffer=40000 owner=topengexp ccare/ccare@BOSS_DB file=...2009-07-17 11:33:03 · 69 阅读 · 0 评论 -
并发与并行
并发: 一个CPU处理多个事务并行: 多个CPU处理多个事务SVN地址http://fangzhi.inspurworld.com/repo_fangzhiSVN 文件名称:Setup-Subversion-1.5.1.en-us.msiTortoiseSVN-1.6.5.16974-win32-svn-1.6.5.msiSDK文件名称: ...2009-11-25 17:02:08 · 109 阅读 · 0 评论 -
abcd(3)
select * from payment; 付费记录表TRANS_ID 8TRANS_TYPE PREBATCH_NO 42CUST_ID 1000020001003ACCT_ID 4000020001004SUB_ID 2000020001001MSISDN 01101110000100TELE_TYPE 21CHANNEL_ID 0...2009-09-14 15:17:59 · 297 阅读 · 0 评论 -
abcd(2)
1, 根据菜单Customer Care->Business Accept->New Postpaid Sub即可进入后付费用户开户页面,此时folw_id为1201,根据select a.flow_id,b.flow_name,a.opertype_id,c.entrance_action,c.remark,a.order_no from ccare.inf_busiflowcomp_r...2009-09-14 13:58:29 · 173 阅读 · 0 评论 -
abcd(1)
2.1 首先,导入autopay文件 LoadOutsideFileAction1. convert.checkReload 查询 LOG_PASSIVE_AUTOPAY 判断是否已经导入过2. uploadFile 读取文件 形成 listcheckHeadTail 校验文件头尾3. loadConvertFile insertZip...2009-09-14 13:54:00 · 132 阅读 · 0 评论 -
abcd
2009-2-25进入华为工作BOSS总体介绍:1, BOSS子系统包括:a) CC(Customer Care):提供客户资料管理,业务受理和变更以及客户相关信息的查询功能,完成客户接触功能。b) AR(Account Receivable):通过多种渠道完成收费、过帐、调帐等功能。c) Inventory(IV):资源存量管理,包括机卡号码终端的资源生命周期的入库、出库和调...2009-09-14 13:18:45 · 198 阅读 · 0 评论 -
IDE(Eclipse)快捷键 (三)
项目作用域 功能 快捷键 全局 全部构建 Ctrl+B 源代码作用域 功能 快捷键 Java编辑器 格式化 Ctrl+Shift+F Java编辑器 取消注释 Ctrl+\ Java编辑器 注释 Ctrl+/ Java编辑器 添加导入 Ctrl+Shift+M Java编辑器 组织导入 Ctrl+Shift+O Java编辑器 使用try/catch...2009-07-20 14:43:18 · 110 阅读 · 0 评论 -
去除mysql乱码问题
CREATE DATABASE `struts_db`(数据库名) DEFAULT CHARACTER SET gbk COLLATE gbk_chinese_ci;jdbc:mysql://localhost:3306/struts_db?autoReconnect=true&useUnicode=true&characterEncoding=GBKmysql连接驱动Cl...2009-07-22 15:15:48 · 64 阅读 · 0 评论 -
Java,JavaScript,Oracle,MySql,VBscript的换行符
vbCr Chr(13) 回车符。 vbCrLf Chr(13) & Chr(10) 回车符与换行符。 vbFormFeed Chr(12) 换页符;在 Microsoft Windows 中不适用。 vbLf Chr(10) 换行符。 vbNewLine ...2009-08-22 16:07:24 · 176 阅读 · 0 评论 -
Eclipse代码格式插件(下)
将以上的配置Copy到一个xml文件中,然后将该文件放入Eclipse中的,Eclipse就可以使用 Ctryl + Shift + F 来将代码进行格式化了。...2009-08-19 11:57:12 · 109 阅读 · 0 评论