码迷,mamicode.com
首页 >  
搜索关键字:lines    ( 2570个结果
清空文件下的SVN控制文件
代码如下,复制代码为txt文件,更改后缀为“.bat”,把文件放到,需要删除的文件的顶端文件夹内,点击执行。@echo on color 2f mode con: cols=80 lines=25 @REM @echo 正在清理SVN文件,请稍候...... @rem 循环删除当前目录及子目录下所有...
分类:其他好文   时间:2015-04-03 13:16:03    阅读次数:193
Easyui 异步树直接所有展开
初始化异步树直接所有展开代码: $(function(){ $('#tt').tree({ url:'/treeInit', lines:true, onLoadSuccess:function(node,data){ var t = $(t...
分类:其他好文   时间:2015-04-03 10:53:00    阅读次数:131
C# winform 实现删除文件中数据的一行
C#如何能删除文件中数据的一行 不说了直接上代码吧,简单粗暴 List lines = new List(File.ReadAllLines(@"C:\Users\lenovo\Desktop\删除文件一行.txt")); lines.Remove("34 11"); File.WriteAllLines(@"C:\Users\lenovo\Desktop\删除文件一行.txt", lines.ToArray()); @"C:\Users\lenovo\Desktop\删...
分类:Windows程序   时间:2015-04-03 09:39:06    阅读次数:179
判断两条直线的位置关系 POJ 1269 Intersecting Lines
两条直线可能有三种关系:1.共线 2.平行(不包括共线) 3.相交。 那给定两条直线怎么判断他们的位置关系呢。还是用到向量的叉积例题:POJ1269题意:这道题是给定四个点p1, p2, p3, p4,直线L1,L2分别穿过前两个和后两个点。来判断直线L1和L2的关系这三种关系一个一个来看:1......
分类:其他好文   时间:2015-04-02 15:01:43    阅读次数:161
Container With Most Water
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:其他好文   时间:2015-04-02 09:03:25    阅读次数:120
Metro下读取txt文件
情况1:txt是Utf8格式的。读取代码:IList lines = await Windows.Storage.FileIO.ReadLinesAsync(file);//正常读取情况2:txt不是utf8格式的,比如GB2312格式。using (var stream = await file....
分类:其他好文   时间:2015-04-01 12:40:17    阅读次数:191
grep常用用法
grep简介正如linux的man文件中所描述的那样: grep searches the named input FILEs (or standard input if no files are named, or if a single hyphen-minus (-) is given as file name) for lines containing a match to...
分类:其他好文   时间:2015-03-31 22:21:16    阅读次数:167
IAP 中颖单片
void?Int_timer_tf2(?void?)?interrupt?7?using?2 { ???...?source?lines?... } There are two keywords: interrupt x?defines the interrupt number. This number tells compiler which vector a...
分类:其他好文   时间:2015-03-31 18:18:07    阅读次数:178
从csv文件导数据到MySQL
导入:load data local infile 'D:\\top-1m.csv' (注意要加上local)10.21.into table `site`fields terminated by ',' optionally enclosed by '"' escaped by '"'lines....
分类:数据库   时间:2015-03-31 12:06:53    阅读次数:209
Hive学习之动态分区及HQL
Hive动态分区1、首先创建一个分区表create table t10(name string) partitioned by(dt string,value string)row format delimited fields terminatedby '\t' lines terminated ...
分类:其他好文   时间:2015-03-29 22:09:09    阅读次数:154
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!