码迷,mamicode.com
首页 >  
搜索关键字:file    ( 50992个结果
Dom4j 读取一个XML文件和将String写成XML文件
dom4j保存文件xml格式和读取XML文件内容,代码如下: package com.qmjs.imut import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import org.apache.log4j.Logger; impor...
分类:其他好文   时间:2014-05-23 01:45:47    阅读次数:267
MS SQL Server分析数据库的I/O性能
本文介绍了如何通过MS SQL Server提供的一些动态管理视图和函数分析磁盘I/O性能。...
分类:数据库   时间:2014-05-23 01:20:50    阅读次数:298
2E08-view-lists-Array(overlay)
介绍一个list滑动时通过一个text提示Array首字母位置的应用 /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
分类:其他好文   时间:2014-05-23 00:58:42    阅读次数:326
2E02-View-Lists-multiple -choice-list
介绍一个多选list /* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
分类:其他好文   时间:2014-05-23 00:52:57    阅读次数:455
2F03-view-progress-indeterminate-in-title-bar
介绍在在title bar上显示indeterminate progress /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ...
分类:其他好文   时间:2014-05-23 00:31:27    阅读次数:352
2H03-view-radio-group-rating-bar
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
分类:其他好文   时间:2014-05-23 00:30:50    阅读次数:415
关于finfo_file函数获取文件mime值验证出错的问题
今天在做图片上传 验证图片mime值时 突然发现  个别特殊情况下finfo_file 获取的MIME值不能直接使用,按照官方的写法是 $finfo=finfo_open(FILEINFO_MIME); $mime=finfo_file($finfo,$file_path); finfo_close($finfo); alert($mime);这样子获得文件mime类型的但是今天发现这样子...
分类:其他好文   时间:2014-05-22 22:37:21    阅读次数:443
ssh 建立github验证
建立ssh无验证连接 Check for SSH keys、 cd ~/.ssh ls Check the directory listing to see if you have a file named either id_rsa.pub or id_dsa.pub 检查有无产生过的key,一台机器只能创建一个。如果重新创建则前一个会被覆盖。 Generate a new SSH ...
分类:其他好文   时间:2014-05-22 18:33:48    阅读次数:261
php 通过ip获取所在城市地址信息 获取计算机外网ip
通过IP获取归属地 请输入ip地址: //获取ip地址 //$ip = $_SERVER['REMOTE_ADDR'];    //自动获取客户端的IP //ip对应的地区 if(!empty($_POST['ip'])){ $ip = $_POST['ip']; //接口地址,这样返回的是一个xml结果集,如图1; $str = file_get_cont...
分类:Web程序   时间:2014-05-22 18:27:26    阅读次数:354
hdu2089不要62(数位dp)
题目大意就是数字中不能出现 62 和4代码:/************************************************************************* > File Name: 2089.cpp > Author: minshik > Cr...
分类:其他好文   时间:2014-05-22 14:28:12    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!