码迷,mamicode.com
首页 >  
搜索关键字:file python3    ( 63124个结果)
vi的基本操作
vi的基本操作
分类:其他好文   时间:2014-09-26 20:35:08    阅读次数:117
how to use tar?
In UNIX, tar is the most useful tool to compress files (just like zip in Windows.)To compress, input: tar -cvzf file.tar.gz inputfile1 inputfile2to u....
分类:其他好文   时间:2014-09-26 20:18:28    阅读次数:236
编写who命令
第一个版本:/* who1.c - a first version of the who program * open, read UTMP file, and show results. */#include #include #include #include #include #include...
分类:其他好文   时间:2014-09-26 19:25:29    阅读次数:148
android保存bitmap到指定路径
不难,但用的时候有时候突然会想不起来。。记录一下吧先加权限1 1 private void saveCroppedImage(Bitmap bmp) { 2 File file = new File("/sdcard/myFolder"); 3 if (!file....
分类:移动开发   时间:2014-09-26 19:17:58    阅读次数:242
Multiple build commands for output file
有时候,导入图片的时候,不同文件夹里导入了同一张图片,后面删掉其中一张图片,可是警告里会报Multiple build commands for output file。。。xx.png的错误。是因为copy了多个同名文件。ios机制是所有copy的资源都放置在根目录下。 解决方法:在BuildP....
分类:其他好文   时间:2014-09-26 18:56:48    阅读次数:139
css控制file控件透明 漂浮
css控件透明属性设置IE firefor设置方法导入: ie 设置为FILTER: alpha(opacity:0);firefor 设置为-moz-opacity:0.5;opacity: 0; fun...
分类:Web程序   时间:2014-09-26 18:46:58    阅读次数:198
Java中图片文件和字符串的相互转化
import?java.awt.image.BufferedImage; import?java.io.ByteArrayInputStream; import?java.io.ByteArrayOutputStream; import?java.io.File; import?java.io.IOException; import?java.text.DateFormat; i...
分类:编程语言   时间:2014-09-26 14:39:39    阅读次数:198
Mac下Finder里隐藏/恢复文件
chflags hidden/nohidden [file-name]另,显示或隐藏".*"类型的默认隐藏文件defaults write com.apple.finder AppleShowAllFiles -bool YES/NOkillall finder
分类:其他好文   时间:2014-09-26 14:37:08    阅读次数:179
android中对sd卡的 操作文件问题 创建目录 创建文件到指定目录
步骤1获取sd卡的路径File root =Environment.getExternalStorageDirectory();2确定要写文件的路径String path =root.getAbsolutePath()+"/test2"+"/test3";3再把路径转化为fileFile file ...
分类:移动开发   时间:2014-09-26 14:09:18    阅读次数:139
为OS X增加环境变量
1.创建并以 TextEdit 的方式打开 ~/.bash_profile 文件touch ~/.bash_profile;open -t ~/.bash_profile2.新增环境变量export PATH="$HOME/.rbenv/bin:$PATH"3.让以上所做的配置生效source ~/...
分类:其他好文   时间:2014-09-26 13:20:48    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!