08 2010 档案
摘要:The voice of the so-called inanimate!
阅读全文
摘要:Defining a class in Python is simple. As with functions, there is no separate interface definition. Just define the class and start coding. A Python class starts with the reserved word class, followed...
阅读全文
摘要:1. ~QQ上多了,什么企鹅没见过。2. 从今天开始,我只讨厌你一个人,欺负你,虐待你,你开心我就弄的你不开心,你不开心我就超级开心,别人欺负你我就在第一时间出来踩你,对你说的每一句话都是假话,答应你的每一件事都懒得去做 3. 有人把你放心上、有人把你放床上 4. 如果你的心里装的下另外一个女人 那么 我的床上就可以睡下另外一个男人 5. 珍爱生命 远离天蝎 6.我爱你时,你说什么就是什么。我不爱...
阅读全文
摘要:1. 定量预测:回归分析和时间序列分析2. 现金流量表3. 敏感性分析4. 概率分析5. 项目比选6. 价值评估
阅读全文
摘要:Python has two ways of importing modules. Both are useful, and you should know when to use each. One way is import module,The other way is From Module Import to accomplishes the same thing, but it has...
阅读全文
摘要:解题步骤:第一步,选择净现值(NPV)和内部收益率(IRR)作为分析指标,现金流量表第二步,计算影响因素不变时的净现值(NPV)与内部收益率(IRR) 从以上计算上可以看出,在因素不变时此项目的净现值大于0,且数值较大;而且IRR也大于投资者所要求的内部收益率。因此该项目具有较大的吸引力。第三步,选择敏感性因素,并确定变动幅度。 经过分析我们得知,对于此类项目的成本效益影响较大的因素主...
阅读全文
摘要:1. 折旧和摊销不计入现金流2. 计算所得税时要减去折旧和摊销3. 借款和存款利息支出与收入要算入现金流量表4. 机会成本算入现金流量表,为流出项。5. 机会成本不算入所得税6. 流动资金回收不需要交所得税7. 所得税=(营业收入-经营成本-折旧)*税率。 注意:不应减去增值税8. 营业税 = 营业收入*税率9. 经营成本=总成本-折旧-摊销-利息(财务费用)。利息是代价费用,折现中已经体现,所以...
阅读全文
摘要:1. 根据所给定的时间序列数据,绘制散点图 注意:序号一定要从有实际数据的那一栏开始标注2. 设定时间序列分析数学模型 通常为Y=T*S*C*I T:长期趋势因素 S:季节趋势因素 C:周期变化因素 I:不规则变化因素Attention: 1)其中T与C为长期变化因素,SI为短期变化因素,短期变化因素通常通过移动平均消除2)S、C、I分别表示季节、周期、不规则因素在序列t的趋势值的基础上变化的百分...
阅读全文
摘要:1. 确定变量,绘制散点图 从散点图中直观判断出选择哪种数学回归模型2. 选择适当的数学回归模型,建立样本方程 通常采用一元一次方程:Y=a+bt3. 运用最小二乘法计算系数a和b 在Excel选择【数据】->【数据分析】->【回归】,当然你需要先加载宏,不然不会看见数据分析的菜单4. 确定样本回归方程5. 检验 1)t检验 若P-Value小于显著水平(default:5%),...
阅读全文
摘要:When mozilla.org first came online in 1998, one of the first products that was released was Bugzilla, an open source bug system implemented using freely available open source tools. Bugzilla was origi...
阅读全文
摘要:If you cannot sure the method of a datatype, then you can use dir function to list all methods of this datatype代码Note: 1)format: dir(variable), it is included by()2)the returned list contains the name...
阅读全文
摘要:Intel,60%溢价,你又造就了一批千万甚至亿万富翁!AMD,你准备如何还击呢!!!----------------------------------------------------------------------------------------------2010年8月20日,全球最大晶片制造商英特尔计划以76.8亿美元收购全球第二大防毒软件公司迈克菲 (McAfee)。 英特尔表示,计划以每股48美元现金,收购迈克菲全部普通股,收购价较上个交易日收市价有60%溢价。英特尔指出,双方董事会已经批准有关交易进行。 英特尔又指出,收购完成后,迈克菲将以全资附属公司继续营运,并直接
阅读全文
摘要:[代码]Notes:1)String is transfered to a List by split method2)List can be joined a string by join method
阅读全文
摘要:代码Notes:The keys method of a dictionary returns a list of all the keys. The list is not in the order in which the dictionary was defined (remember that elements in a dictionary are unordered), but it ...
阅读全文
摘要:1. DefinitionA tuple is an immutable list. A tuple can not be changed in any way once it is createdNote:1)It is include by"()"2)Cannot be changed after it is defined3)No method(like remove,append,inde...
阅读全文
摘要:卡农卡农Canon是一种曲式的名称,这种曲式的特征是间隔数音节不停重复同一段乐曲。一般的演奏法是以大提琴启奏,三把小提琴间隔八拍先后加入,小提琴全部拉奏完全相同旋律,前后也只有三段不同的旋律,每段更是仅有两小节的旋律供重复拉奏;大提琴的调子从头到尾只有两小节,重复达廿八次之多,可是听者却陶醉在这旋律之中,丝毫不会感到单调。I Believe众所周知,<<我的野蛮女友>>种背景音乐之一.琴声悠扬,音调舒缓!美女与野兽来自格林童话。故事中的王子被巫婆施了魔法而变成野兽的模样,只有他在玫瑰花凋谢之前,学会爱别人和被别人爱,才能打破巫婆的咒语!天空之城每一个音符都静静像我们诉说
阅读全文
摘要:今天发现觉先博主发表的外企那点事,有些内容有关项目管理,很有参考价值,转载如下:转自:http://www.cnblogs.com/forfuture1978/archive/2010/08/04/1791660.html每年过年后的一段时间内,便是一年一度论功行赏的时候了。年终奖一般设置在年前,而加薪设置在年后,却是一种蛮不错的设计,从而年前大家皆大欢喜,一片祥和,年后又带来新的一年的希望,并激...
阅读全文
摘要:Modules are objects, and all modules have a built-in attribute __name__. A module's __name__ depends on how you're using the module. If you import the module, then __name__ is the module's filename, w...
阅读全文
摘要:Notes:Importing the Sys module makes all of its functions and attributes availableYou can add a new directory to Python's search path at runtime by appending the directory name to sys.path, and then P...
阅读全文
摘要:4)Search5)delete代码>>> ListTest['Value1', 'Value2', 'two', 'Value3', 'Value4', 'Value21', 'Value22']>>> ListTest.remove('two')>>> ListTest['Value1', 'Value2', 'Value3', 'Valu...
阅读全文
摘要:1. DifinitionNote: 1)It is included by [] 2)Divied by comma2.UsageNote:The ordinal number is increased from 0 to n-1Note:The ordinal number is decreased from-1 to -n3. Basic Operation 1)append 2)inser...
阅读全文
摘要:代码Note that the keyword def starts the function declaration, followed by the function name, followed by the arguments in parentheses. Multiple arguments (not shown here) are separated with commas. Als...
阅读全文
摘要:1.Difinition[代码]Note: 1)it is included by"{}" 2)it is one to one relationship 3)format:"key":"value" 4)Divied by comma 5)key: Case senstive2.Usage1)single>>DictTest["key"]Value2)>>print Di...
阅读全文
摘要:Finish to enjoy RapidSVN and install SVN server, now, it is time to enjoy python, Let's dive into python together!http://diveintopython.org/Thanks Mark Pilgrim, CoderZh and Patrick, you are all my clo...
阅读全文
摘要:1. Unrecognizable Code in webpage if including chinese characterJust run the command: yum groupinstall "Chinese Support" and then reboot2. Chinese menu and document 1)root previliege 2)vim /etc/system...
阅读全文
摘要:You must install subversion at first1)tar zxvf subversion-1.6.12.tar.gz2)cd subversion-1.6.122)./configure --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apr/bin/apr-1-config --with-apr...
阅读全文
摘要:By default Bugzilla sets the maximum size of attachments and patches to 1 MB.In order to increase this you need to make a change to both Bugzilla and MySQL1. Change the maxattachmentsize and maxpatchs...
阅读全文
摘要:Intergrate Bugzilla and SVN7. SCMbug installation 1)rpm -ivh --force --nodeps scmbug-0.26.18-1.src.rpm rpm -ivh --force --nodeps scmbug-common-0.26.18-1.noarch.rpm rpm -ivh --force --nodeps scmbug-ser...
阅读全文
摘要:bugzilla installation6.1 bugzila installation 1)tar zxvf bugzilla-3.6.1.tar.gz 2)cd bugzilla-3.6.1 3)mv bugzilla-3.6.1 /usr/local/apache2/htdocs/bugs 4)cd /usr/local/apache2/htdocs/bugs 5)./checksetup...
阅读全文
摘要:在配置Linux的 Apache服务时,经常会遇到http403错误,我今天配置测试时也出现了,最后解决了,总结了一下。http 403错误是拒绝访问的意思,有很多原因的。我总结的主要有4种原因!1. 访问的文档权限不够。要755以上权限。解决方法:用命令chmod 755 /var/www/ 或其他相应目录。2. SELinux或防火墙的原因。解决方法:先关闭SELinux和让防火墙通过WWW服...
阅读全文
摘要:MYSQL常用命令列表 1、系统管理 mysql -h主机地址 -u用户名 -p 连接MYSQL(在mysql/bin) exit 退出MYSQL命令 mysqladmin -u用户名 -p旧密码 password新密码 修改密码(在mysql/bin) grantselect[insert][,update][,delete]on数据库.*to用户名@localhost("%"...
阅读全文
摘要:1.首先确认服务器出于安全的状态,也就是没有人能够任意地连接MySQL数据库。 因为在重新设置MySQL的root密码的期间,MySQL数据库完全出于没有密码保护的 状态下,其他的用户也可以任意地登录和修改MySQL的信息。可以采用将MySQL对 外的端口封闭,并且停止Apache以及所有的用户进程的方法实现服务器的准安全 状态。最安全的状态是到服务器的Console上面操作,并且拔掉网线。 2....
阅读全文
摘要:Linux环境变量设置--总结 1、引言在 linux系统 下,如果你下载并安装了应用程序,很有可能在键入它的名称时出现“ command not found ”的提示内容。如果每次都到安装目标文件夹内,找到可执行文件来进行操作就太繁琐了。这涉及到环境变量 PATH 的设置问题,而 PATH 的设置也是在 linux 下定制环境变量的一个组成部分。本文基于 RedHat 9...
阅读全文
摘要:--------------------------------------------------------make: *** [dbdimp.o] Error 1 CAPTTOFU/DBD-mysql-4.016.tar.gz /usr/bin/make -- NOT OKSkipping test because of notest pragmaRunning make install M...
阅读全文
摘要:rpm -qpl xxxxxx.rpm 1.怎么安装rpm软件包 rmp软件包的安装能使用程式rpm来完成。执行下面的命令 rpm -i your-package.rpm 其中your-package.rpm是你要安装的rpm包的文件名,一般置于当前目录下。 安装过程中可能出现下面的警告或提示: ... conflict with ... 可能是要安装的包里有一些文件可能会覆盖现有 的文件,缺省时...
阅读全文
摘要:***prerequisite***Install all softwares with root privilige1. Apache1.1 Apache installation1) tar zxvf httpd-2.2.15.tar.gz2) cd scrlib/apr3) ./configure --prefix=/usr/local/apr/ --enable-so --enable-d...
阅读全文

浙公网安备 33010602011771号