码迷,mamicode.com
首页 >  
搜索关键字:by-path    ( 29634个结果
源码安装程序的注意事项
通过源代码的形式编译安装程序时,需要先安装gcc编译器,通常会在编译安装时通过./configure--help查看帮助信息,并使用--prefix指定安装路径。需要注意的内容如下:1.修改PATH环境变量,以便可以识别此二进制程序所在的路径。方法1:修改/etc/profile文件,增加PATH=$PATH:/pa..
分类:其他好文   时间:2014-07-24 17:53:33    阅读次数:231
Maven项目红色叹号+JavaWeb: 报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java B
昨天写的关于解决JavaWeb: 报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java  Build Path的方案很好的解决了这个错误,但是它没有完全的解决我的问题,Maven项目依然有一个红色叹号存在。红 色叹号存在的原因是:.classpath配置文件引用了某jar包,但是lib里却不存...
分类:编程语言   时间:2014-07-24 17:47:06    阅读次数:247
php学习之道:php中is_file和file_exist的区别,and判断目录is_dir
在PHP中,is_file和file_isexist是有很小区别的  1) is_file:     $path ="/path/to/file/text.txt";    if(file_exists($path))      echo "File Exists";    else      echo "File not Exists";  比如在这个例子中,文件存在会返回true...
分类:Web程序   时间:2014-07-24 17:39:06    阅读次数:262
tomcat学习笔记
tomcat学习笔记环境变量的配置(1)配置CATALINA_HOME:D:\app\apache\apache-tomcat-7.0.54(不带上bin目录);(2)添加bin目录到path中:%CATALINA_HOME%/bin;D:\app\mysql-5.6.16-winx64\bin;%...
分类:其他好文   时间:2014-07-24 17:23:55    阅读次数:216
oracle列合并
在许多场合,我们会需要用到oracle列合并,oracle提供了一些方法用于把某列的多行数据合并成一行。   一、10G以前使用WMSYS.WM_CONCAT   wmsys.wm_concat将字段的值用","来隔开。   select id,wm_concat(name) from tab_name group by id;   二、sys_connect_by_path   s...
分类:数据库   时间:2014-07-24 12:24:35    阅读次数:263
Linux基本命令(3)
1.用绝对路径使用命令,如 $ /bin/ls 2.查看用户预设路径 $ echo $PATH $ /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games 冒号分隔的多个路径,如果一个命令有两个版本的路径存在,如...
分类:系统相关   时间:2014-07-24 10:56:54    阅读次数:332
tornado+ansible+twisted+mongodb运维自动化系统开发(二)
源码: #!/usr/bin/env python #coding:utf-8 import os.path import tornado.locale import tornado.httpserver import tornado.ioloop import tornado.options import tornado.web from tornado.options import defi...
分类:数据库   时间:2014-07-24 10:31:32    阅读次数:314
Method for finding shortest path to destination in traffic network using Dijkstra algorithm or Floyd-warshall algorithm
A method is presented for finding a shortest path from a starting place to a destination place in a traffic network including one or more turn restric...
分类:Web程序   时间:2014-07-24 00:50:17    阅读次数:422
Android_Zip解压缩工具
public class ZipUtil { public ZipUtil(){ } /** * DeCompress the ZIP to the path * @param zipFileString name of ZIP * @param outPathString path to be unZIP * @throws ...
分类:移动开发   时间:2014-07-23 22:31:57    阅读次数:388
C#判断文件和文件夹是否存在 不存在则创建
using System.IO;string path = @"D:\accountDaoRu"; if (Directory.Exists(path) == false) { Directory.CreateDirectory(path); }if (Directory.Exists(Server...
分类:其他好文   时间:2014-07-23 22:13:17    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!