码迷,mamicode.com
首页 >  
搜索关键字:get    ( 75501个结果
根据osdid 查询磁盘是ssd盘还是sas盘
前置条件:1.安装LSI的Megacli软件包Megacli642.安装scsi设备的查询工具lsscsiapt-get install lsscsi步骤:1.根据osdid 查找 盘符ceph-disklist|grep-A1-B1osd.0|egrep"^/dev/sd*\b"|cut-d':'...
分类:其他好文   时间:2016-01-20 13:07:51    阅读次数:327
CURL函数的GET和POST方式的两种写法(实现ajax跨域调用)
POST请求function curl_post($url='',$postdata='',$options=array()){ $ch=curl_init($url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); ...
分类:Web程序   时间:2016-01-20 11:17:26    阅读次数:141
Jan 19 - Unique Paths; Array; DP;
first of all, we're goin to create a 2D array(int[][] grid) to store the number of paths to each position. we get the minimum value of m and n, mark i...
分类:其他好文   时间:2016-01-20 09:59:46    阅读次数:123
Exchange 2013恢复已禁用用户邮箱
今天误操作,将一个用户的AD和邮箱给禁用了。刚刚禁用的邮箱账户在ECP“连接”的时候是看不到的,只能通过EMS来恢复。1、首先查看这个用户在哪个邮箱数据库中,Get-MailboxDatabase|Get-MailboxStatistics|Where{$_.DisplayName-eq"阮国平"}|flDisconnectReason,DisconnectDate..
分类:其他好文   时间:2016-01-20 06:32:29    阅读次数:303
C++标准库--Pair
头文件:可访问属性:first第一个值second第二个值可访问方法:swap(pair)和另外一个pair交换值其他相关方法:make_pair(val1, val2)接受两个参数,返回一个pairswap(pair1, pair2)交换两个pair的值get(pair)获取pair的属性例子: ...
分类:编程语言   时间:2016-01-20 06:20:48    阅读次数:174
poj 3230 Travel(dp)
DescriptionOne traveler travels among cities. He has to pay for this while he can get some incomes.Now there are n cities, and the traveler has m days...
分类:其他好文   时间:2016-01-19 21:05:53    阅读次数:220
Ubuntu 完全卸载Apache2
安装时候使用的一键安装,很简单apt-get install apache2这两天想配置一个lighttpd,但是一直不能成功,今天在公司用虚拟机里面的Ubuntu配置lighttpd成功了,怀疑是和apache2 的某些东西冲突了。于是乎就准备卸载apache2,然后重新配置lighttpd 试试...
分类:Web程序   时间:2016-01-19 19:00:20    阅读次数:148
THE HANDLER_READ_* STATUS VARIABLES
Because I do a lot of Performance Tuning gigs I get often in contact with these status variables. In the beginning I had a problem to understand them ...
分类:其他好文   时间:2016-01-19 17:07:01    阅读次数:197
关于jQuery的inArray 方法介绍
例如: 代码如下:$.get('aaaaa.ashx',null,function(d){ // 假设d 返回 的值为 1,3,43,23,54,67 var arr = d.split(','); $.inArray(3,arr) ==-1 //true //为什么啊 //如果写成这...
分类:Web程序   时间:2016-01-19 15:54:44    阅读次数:136
获取系统基本信息(psutil模块)
阅读目录使用学习psutil模块的一个总结,通过psutil 模块进行系统信息的查询使用选项:python get_sys_basic_info.py -h-a --all 所有信息-c --cpu cpu信息-u --user ...
分类:其他好文   时间:2016-01-19 15:45:42    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!