Using perf, the Linux Performance Analysis tool
on Ubuntu KarmicA lot has been going on with Linux performance counters (now
called performance events...
分类:
其他好文 时间:
2014-05-16 04:06:37
阅读次数:
386
整理下,参考了许多库,谢谢那些无私奉献的大牛,愿上帝保佑你们。1、构造器采用驼峰式命名,并且首字母大写。如:function DialogManager (
config ) { statement;}2、枚举类型变量采用驼峰式命名,并且首字母大写。属性名单词全部大写,单词间以下划线分隔。如:...
分类:
编程语言 时间:
2014-05-15 21:42:06
阅读次数:
385
从客户端检测到有潜在危险的Request.Form值:在webForm中,可以在aspx页面顶部中加一句 ValidateRequest="false"
。或者在web.config文档后面加入这一句: ,例如: 在MVC中,可以在controller里面加[...
分类:
Web程序 时间:
2014-05-15 21:32:22
阅读次数:
398
在ueditor目录下找到uedior.config.js,找到如下三行:,imageUrl:
"/servlet/UploadServlet" //图片上传提交后台对应的地址,imagePath: "/ueditor/"
//图片在服务器上的存储目录,imageFieldName: "upload...
分类:
其他好文 时间:
2014-05-15 13:53:35
阅读次数:
213
重启交换机,按住mode键。flash_initswitch:dirflash:switch:renameflash:config.textflash:config.oldswitch:bootWouldyouliketoentertheinitialconfigurationdialog?[yes/no]:noSwitch>enSwitch#renameflash:config.oldflash:config.textDestinationfilename[config.text]..
分类:
其他好文 时间:
2014-05-15 12:46:02
阅读次数:
279
1、系统环境centos-6.4ipaddr:10.240.240.114gateway:10.240.240.12、关闭selinux(关闭完之后最好进行一次重启)sed-i‘/SELINUX/s/enforcing/disabled/‘/etc/selinux/config关闭防火墙chkconfigiptablesoff3、配置obbleryum源rpm-Uvh‘http://mirrors.ustc.edu.cn/epel/6/i386/..
分类:
其他好文 时间:
2014-05-15 12:40:01
阅读次数:
560
一.NFSserver主要用户linux与unix间的文件共享服务器1.NFS又名网络文件协议:专门用来让linux或unix间进行文件共享2.NFS是基于RPC协议之一,由多个进程共同构成3.客户端与服务器端同时得使用Rpc协议4.RPC=>开启端口不固定,大于1024二.安装NFSServe1.首先需要安装RPC包一般..
分类:
其他好文 时间:
2014-05-15 12:36:26
阅读次数:
239
在确保你安装好git后,我们就可以通过git来下载不同版本的linux kernel了,这时要先说一下...
分类:
系统相关 时间:
2014-05-15 12:12:37
阅读次数:
388
1. 在web.config文件中的<system.web>加入以下设置2.
添加一个页面,页面名称为Defalut.aspx在后台Defalut.aspx.cs页面写以下代码:protected void
Page_Load(object sender, EventArgs e){ AjaxPr....
分类:
Web程序 时间:
2014-05-15 12:04:12
阅读次数:
264
(1)cd
/usr/local/php-5.2.17/ext/mysqli(2)输入/usr/local/php/bin/phpize 回车(3)./configure
--prefix=/usr/local/mysqli --with-php-config=/usr/local/php/bin....
分类:
其他好文 时间:
2014-05-15 09:34:06
阅读次数:
292