码迷,mamicode.com
首页 >  
搜索关键字:folder    ( 1374个结果
Windows 特殊文件夹
转载:http://www.xue163.com/124/6/1243914.html 1. 目录(Directory)与文件夹(Folder)的区别 目录是DOS时代的产物,DOS文件系统是以目录树的形式将文件组织起来的,文件全部包含在目录里。任何一个文件的全名,由“目录名+文件名”两部分组成,目...
分类:Windows程序   时间:2015-02-06 16:37:18    阅读次数:273
Python 路径
#!\usr\bin\env python# -*- coding: utf-8 -*-import osdef printFiles(folder): #获取当前路径下所有文件 fileList = os.listdir(folder) for file in fileList: # 如果不是是....
分类:编程语言   时间:2015-02-05 20:18:43    阅读次数:144
add jars和add external jars有什么区别
原文add jars和add external jars有什么区别?add jars和add external jars有什么区别?add external jars = 增加工程外部的包add jars = 增加工程内包add library = 增加一个库add class folder = 增...
分类:编程语言   时间:2015-02-04 21:37:19    阅读次数:335
RapidJSON的使用
关于RapidJSON rapidjson项目地址:https://github.com/miloyip/rapidjson 项目下载完成后,打开readme.md文件,查看项目说明。 RapidJSON is a header-only C++ library. Just copy the `include/rapidjson` folder to system or project's include path. RapidJSON是一个只有头文件的C++ JSON库,只需要拷贝“include/...
分类:Windows程序   时间:2015-02-03 11:15:29    阅读次数:1301
尝试在virtualbox fedora21 下安装additions和mount share folder
安装这个additions的过程,基本上可以参照http://gamblisfx.com/how-to-install-virtualbox-guest-additions-on-fedora-21/拷贝一份过来就是,1. 先更新内核yum update kernel*2. 重启reboot3. 安...
分类:其他好文   时间:2015-02-01 23:06:43    阅读次数:257
【玩转Golang】beego下实现martini中的透明式静态文件服务(static folder)效果。
出于效率等原因,最近将web框架由martini切换为了beego,其他地方都很平顺,只是两个框架的handler签名不一致,需要修改,所以耗时较长,这是预计到的。但是有一个地方没有预计到,也耗费了较多时间,那就是静态文件的服务。 用过martini的tx都知道,在mairtini中如果我们设...
分类:其他好文   时间:2015-01-30 15:05:42    阅读次数:146
Nodejs下如何判断文件夹的存在以及删除文件夹下所有的文件
代码如下: 1 var folder_exists = fs.existsSync('./cache'); 2 3 if(folder_exists == true) 4 { 5 var dirList = fs.readdirSync('./cache'); 6 7 dirLi...
分类:Web程序   时间:2015-01-28 19:23:50    阅读次数:14018
Using ASIHTTPRequest in an iOS project
1) Add the filesCopy the files you need to your project folder, and add them to your Xcode project. An overview of the ASIHTTPRequest source files app...
分类:移动开发   时间:2015-01-26 11:29:36    阅读次数:211
Android getResources的作用和须要注意点
今天做一个Android的文件管理器,里面用到非常多的地方用到了getResources。Drawable currentIcon = null;currentIcon = getResources().getDrawable(R.drawable.folder);currentIcon = ge....
分类:移动开发   时间:2015-01-26 10:12:27    阅读次数:188
Vagrant 使用 samba 共享文件夹
在windows下使用Vagrant时可以使用samba方式共享文件夹。配置如下: config.vm.synced_folder "./", "/path/to/web/root", type: "smb", smb_username: "user", smb_password: "pass...
分类:其他好文   时间:2015-01-23 17:45:29    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!