码迷,mamicode.com
首页 >  
搜索关键字:from file system    ( 153319个结果
sed
sed‘s/^/\//g‘4行首增加指定字符提取网页中的播放地址:#!/bin/bash printf"enteryourdir:" readdir echo"$dirisxx" cd$dir echo`pwd` forfilein`ls.` do if[-d$file];then echo$file cd$file echo`pwd` tree`pwd`|grepplay|sed‘s/.*//g‘>11 tree`pwd`|grepplay|sed‘s/.*//g..
分类:其他好文   时间:2014-05-03 00:53:15    阅读次数:336
Emacs 使用android模式
首先用package system安装android-mode, 然后编辑~/.emacs.d/init.el文件,添加下面几行:(require 'android-mode) (setq android-mode-sdk-dir "/opt/android-sdk-linux/")现在重新启动emacs,然后M-x 中运行命令android-start-emulator此时会提示输入Androi...
分类:移动开发   时间:2014-05-02 22:49:40    阅读次数:561
JAVA之IO技术-字符流对象Writer的子类对象FileWriter的使用
package ioTest.io1; import java.io.File; import java.io.FileWriter; /* * IO技术,按照操作数据的方式分类如下: * 字节流和字符流 * 字节流的两个基类: * InputStream,OutputStream * 字节流的两个基类: * Reader,Writer * 思考一个问题:为什么有了字节流还要出现...
分类:编程语言   时间:2014-05-02 21:55:37    阅读次数:372
二分图匹配
HDU  2063  求一个二分图的最大匹配。 完全的裸题。贴代码。 #include #include #include #include #include using namespace std; vector G[1005]; bool check[1005]; int mac[1005]; int n; void add_edge(int from,int to) { G[f...
分类:其他好文   时间:2014-05-02 20:57:04    阅读次数:359
codeforces A. Shaass and Oskols 题解
Shaass has decided to hunt some birds. There are n horizontal electricity wires aligned parallel to each other. Wires are numbered 1 to n from top to bottom. On each wire there are some oskols sitti...
分类:其他好文   时间:2014-05-02 20:48:26    阅读次数:462
JAVA 常用类System以及Properties类的使用
package ioTest.io1; import java.util.Iterator; import java.util.Properties; import java.util.Set; /* * System: * API描述:public final class System extends Object * System 类包含一些有用的类字段和方法。它不能被实例化。 ...
分类:编程语言   时间:2014-05-02 19:04:18    阅读次数:402
MySQL分页的LIMIT函数
SELECT*FROM表名称LIMITM,N 。其中的m表示从第几条开始,0表示第一条;n表示一共显示几条。mysql_num_rows:取得结果行的数目。table中奇数行变色或偶数行变色:tr:nth_child(odd或even){里面写入颜色};其中odd表示奇数行,even表示偶数行。
分类:数据库   时间:2014-05-02 09:17:24    阅读次数:330
非常坑爹
调试了好久,在MFC内居然不能够解析“Mat”总是显示"Mat"未定义,修改include、lib、依赖库,不断地修改:#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "cv.h"还是不能显示,最后想起来是需要:using namespace cv; using names...
分类:其他好文   时间:2014-05-02 04:55:10    阅读次数:271
perl模块发邮件
vimsendmail.pl#!/usr/bin/perl-wuseMIME::Lite;subperl_sendmail{my$mail_to="$_[0]";收件人邮箱my$from="$_[1]";发件人邮箱my$subject="$_[2]";邮件标题my$data="$_[3]";邮件内容$sendmail=MIME::Lite->new(From=>$from,To=>$mail_to,Subject=>$subject,Data=>..
分类:其他好文   时间:2014-05-02 03:00:15    阅读次数:283
Fedora20下安装vim
$sudoyuminstallvim-enhanced<snipped>Transactioncheckerror:file/usr/share/man/man1/vim.1.gzfrominstallofvim-common-2:7.4.179-1.fc20.x86_64conflictswithfilefrompackagevim-minimal-2:7.4.027-2.fc20.x86_64报错,于是我又更新了一下vi试试$sudoyumupdatevim-min..
分类:其他好文   时间:2014-05-02 02:55:55    阅读次数:285
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!