10 2015 档案
摘要:方法1 卸载此补丁KB3033889方法2 打补丁,更新 3033889 导致使用日语、 朝鲜语和中文输入法的系统中 Windows 资源管理器停止响应https://support.microsoft.com/zh-cn/kb/3048778或者https://www.microsoft.com/...
阅读全文
摘要:在用管理员执行一个命令后,用Ctrl+Z把命令转移到了后天。导致无法退出root的。输入命令:exit终端显示:There are stopped jobs.解决方法:方法一、输入命令:jobs终端显示:[1]+ Stopped vim /etc/network/interfaces > /home...
阅读全文
摘要:iptables是linux系统自带的防火墙,功能强大,学习起来需要一段时间,下面是一些习iptables的时候的记录。如果iptables不熟悉的话可以用apf,是一款基于iptables的防火墙,挺好用的。请参考:linux apf 防火墙 安装 配置一,安装并启动防火墙[root@linux ...
阅读全文
摘要:这篇文章主要介绍了CentOs6.5中安装和配置vsftp简明教程,需要的朋友可以参考下一、vsftp安装篇复制代码代码如下:# 安装vsftpdyum -y install vsftpd# 启动service vsftpd start# 开启启动chkconfig vsftpd on二、vsftp...
阅读全文
摘要:CentOS6.x安装配置nginxnginx安装nginx的官网:http://nginx.org/相应下载页面:http://nginx.org/en/download.html我这里使用nginx的yum在线安装wget http://nginx.org/packages/centos/6/n...
阅读全文
摘要:1 在终端中输入命令【sudo vim /etc/sysconfig/i18n】来编辑i18n文件, 2 把“zh_CN.UTF-8”修改为“en_US.UTF-8”, 3 保存修改并退出,如果提示这个文件是只读的,用【:wq!】强制写入即可。 4 用【sudo shutdown -r now】命令
阅读全文
摘要:建议:统一使用空格!!!!!!!!!不要TabPython代码缩进这两天python-cn邮件列表有一条thread发展的特别长,题目是《python的代码缩进真是坑爹》(地址),楼主在一台电脑上用KOMODO写的代码到另一台电脑上就不能运行了,调试后才发现是代码缩进的问题,为此楼主表示“真是火大”...
阅读全文
摘要:用python -m py_compile file.pypython -m py_compile /root/src/{file1,file2}.py编译成pyc文件。也可以写份脚本来做这事:Code:import py_compile py_compile.compile('path') //p...
阅读全文
摘要:查看python的版本#python-VPython2.6.6 1.下载Python-2.7.3#wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2 2.解压#tar-jxvfPython-2.7.3.tar.bz2 3.更改工...
阅读全文
摘要:Unit TestsSteve Dower edited this pageon 14 Jul·3 revisionsPages38HomeAzure Remote DebuggingAzureSDKBottle and Azure Table Storage on AzureBottle and ...
阅读全文
摘要:下载地址:http://pan.baidu.com/s/1dDAZJxvSharpDevelop 3.1 now supports converting C# and VB.NET code to IronPython. It can convert a single file or an enti...
阅读全文
摘要:VMware Network Adapter VMnet1和VMnet8 被防火墙认定为未识别的网络,阻隔,无法使用端口映射,虚拟机的80端口无法传入,数据包只能出不能入。且公用网络被限制不能修改为家庭或工作网络。解决办法:1,进入注册表[HKEY_LOCAL_MACHINE\SYSTEM\Curr...
阅读全文
摘要:Who is locking my SQL database?|Deploy a database project with TFS BuildVisual Studio 2012 running slow1 CommentThree months in and my Visual Studio 2...
阅读全文
摘要:SELECT 表名 = case when a.colorder=1 then d.name else '' end, 表说明 = case when a.colorder=1 then isnull(f.value,'') else '' end, 字段序号...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using System.Data; 5 using System.IO; 6 using System.Net; 7 using S...
阅读全文