在MAC下切换GCC编译器的办法(MacPorts)这里的办法是通过port命令选项实现的,所以需要先安装MacPorts,具体的安装步骤就不多说了,切换不同版本gcc的命令如下:执行:$ sudo port select --list gcc显示:Password:Available versio...
分类:
其他好文 时间:
2014-07-16 17:39:39
阅读次数:
221
问题:Error: [1146] ORA-01146: cannot start online backup - file 1 is already in backupORA-01110: data file 1: 'C:\ORACLE\ORADATA\ORCL8\SYSTEM01.DBF'以上问题...
分类:
数据库 时间:
2014-07-16 17:37:05
阅读次数:
398
今天在编写model时,突然发现了“Cannot assign to 'self' outside of a method in the init family”问题。后通过搜索解决了此问题,记录之。有时候我们重写父类的init方法时不注意将init后面的第一个字母写成了小写,在这个方法里面又调用父...
分类:
其他好文 时间:
2014-07-16 15:44:36
阅读次数:
193
一般情况下,yii框架的CActiveForm组建的提示是英文的,把它改成中文提示首先在main.php配置文件中,设置'language'=>'zh_cn';这样将会使得cannot be blank显示为不能为空然后再到相应的模型中添加相应的中文注释,这样,提示都将变成中文提示。
分类:
其他好文 时间:
2014-07-16 15:19:26
阅读次数:
221
W?i?n?d?o?w?s?2?0?0?3?建?立?F?T?P?服?务?器: W?i?n?d?o?w?s?2?0?0?3?建?立?F?T?P?服?务?器FTP连接报530User cannotloginhomedirectoryinaccessible的解决方法感谢分享:http:/...
分类:
数据库 时间:
2014-07-16 14:56:43
阅读次数:
213
1.Model compatibility cannot be checked because the EdmMetadata type was not included in the model. Ensure that IncludeMetadataConvention has been add...
分类:
Web程序 时间:
2014-07-16 13:44:15
阅读次数:
255
改变数据库用户sysman(该用户是DB Control Repository 的schema)密码的方法...
分类:
数据库 时间:
2014-07-16 08:05:51
阅读次数:
423
select下拉列表onChange事件之JQuery实现:Java代码JQuery:$(document).ready(function(){$("#selectMenu").bind("change",function(){if($(this).val()=="pro1"){$("#pro1")...
分类:
Web程序 时间:
2014-07-16 00:53:38
阅读次数:
481
编写名为auto_change_gw.sh的脚本,用来自动切换主机网关,相关说明如下:
1)有2个可用的网关地址,分别是主网关192.168.10.254和备用网关192.168.10.253,当前使用的默认网关是192.168.10.254;
2)若当前使用的网关地址192.168.10.254出现问题,自动把网关地址切换为192.168..
分类:
系统相关 时间:
2014-07-15 10:56:45
阅读次数:
312
[root@localhostLiveOS]#mountsquashfs.img/mnt/squashfs/mount:/mnt/sdb1/iso/LiveOS/squashfs.imgisnotablockdevice(maybetry`-oloop‘?)[root@localhostLiveOS]#mount-oloop/mnt/squashfs/mount:can‘tfind/mnt/squashfs/in/etc/fstabor/etc/mtab[root@localhostLiveOS]#mount..
分类:
其他好文 时间:
2014-07-15 10:53:58
阅读次数:
870