自用备份: 1 [rhel-packages] 2 name=packages 3 baseurl=http://172.26.1.84:8080/ 4 enabled=1 5 gpgcheck=0 6 7 [rhel-server] 8 name=server 9 baseurl=http://....
分类:
其他好文 时间:
2014-06-21 15:38:20
阅读次数:
233
通过一周多的学习和总结,终于掌握了casperjs用于自动化的方法,填平了大大小小的各种坑。casperjs是一个新兴的测试框架,网上资料很少,基本上靠翻译英文资料。贡献出来,供大家参考://page.js,存放页面元素//c表示通过css选择元素,x表示通过xpath选择元素var
baseurl...
分类:
Web程序 时间:
2014-06-12 21:56:34
阅读次数:
445
AFNetworking对Path的定义问题:
如果把这一串:https://graph.qq.com/user/get_user_init 定义成baseURL
那么后面加的任何Path,都会在Path前面加上一个/
这个跟NSURL有关系,AF的baseURL是用NSURL实现的,NSURL会把你给的字符串拆分成scheme,host,path,query这些东西
然后AF再处...
HttpClient httpclient = new DefaultHttpClient();
HttpGet httpget = new HttpGet(baseUrl + action); HttpResponse response =
httpclient.execute(httpg...
分类:
其他好文 时间:
2014-06-06 11:45:51
阅读次数:
186
1 配置yum源 vi /etc/yum.repos.d/cloudstack.repo 添加一下内容
[cloudstack] name=cloudstack baseurl=http://cloudstack.apt-get.eu/rhel/4.2/
enabled=1 gpgcheck=02 ...
分类:
其他好文 时间:
2014-06-03 06:26:56
阅读次数:
314
1,普通的DELETE只需加上下述一句code:
[request setRequestMethod:@"DELETE"];2,附带有参数表单的情况(一次删除请求):
ASIFormDataRequest *request;
NSURL *baseURL = [NSURL URLWithString:@"http://www.baidu.com/xx/"];
reque...
分类:
移动开发 时间:
2014-05-21 14:39:37
阅读次数:
321
YUMde使用YUM的使用yum是一个强大的软件管理工具
可以自动解决软件依赖的问题YUM配置文件分析enable 该选项控制该配置文件是否使用 gpgkey 校验文件选项baseurl
yum源的地址YUM常用命令安装软件: yum install -y -y参数表示不使用交互式安装卸载文件...
分类:
其他好文 时间:
2014-05-15 10:26:17
阅读次数:
236
$.ajax({ url: baseURL +
"InvoiceSale/OnQuotaInvoiceSale", //点击核销单号时,点击核销时,交互的页面 type: "POST", data:
JSON.stringify(createTable.r...
分类:
Web程序 时间:
2014-05-09 12:38:10
阅读次数:
898
linux源码升级内核当前环境:[root@localhost~]#uname-r
2.6.18-348.el5配置流程:1、准备yum库安装g++gcc[root@localhost~]#cat/etc/yum.repos.d/rh_5.9.repo
[rhel-server]
name=Redserver
baseurl=file:///misc/cd/Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-..
分类:
系统相关 时间:
2014-05-03 14:40:08
阅读次数:
500
用android 通过http协议提交数据至服务器 content的内容代码如下:private
static JSONObject connUpload(String baseUrl, Map params, String content) throws
IOException, JSONExce...
分类:
其他好文 时间:
2014-04-30 14:06:47
阅读次数:
490