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
                             
                         
                    
                        
                            
                            
                                在《Zygote进程【3】——SystemServer的诞生》一文中介绍了SystemServer的诞生,本文来看一下SystemServer中初始化的系统服务。
AccountManagerServiceAccessibilityManagerService
ActivityManagerService
AlarmManagerService
AppWidgetService...
                            
                            
                                分类:
移动开发   时间:
2014-05-03 00:16:21   
                                阅读次数:
404
                             
                         
                    
                        
                            
                            
                                vector : 向量
list : 双向链表容器,提供数据结构中链表的所有功能
queue : 队列容器,提供数据结构中队列的所有功能
stack : 栈容器,提供数据结构中栈的所有功能
deque : 双端栈容器,提供数据结构中栈的所有功能
priority_queue : 优先队列,一种按值排序的队列容器
set : 集合容器
multiset : 允许出现重复元素的集合容器
...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 21:23:00   
                                阅读次数:
298
                             
                         
                    
                        
                            
                            
                                1 package com.example.sqlitetest; 2 3 import 
java.util.ArrayList; 4 import java.util.List; 5 import 
android.content.ContentValues; 6 import and...
                            
                            
                                分类:
移动开发   时间:
2014-05-02 20:35:24   
                                阅读次数:
540
                             
                         
                    
                        
                            
                            
                                题目链接:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3749
Chameleon
Time Limit: 6 Seconds      Memory Limit: 65536 KB
Given n groups of integers(all the integers are distin...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 19:06:34   
                                阅读次数:
447
                             
                         
                    
                        
                            
                            
                                Where's Waldorf? 
Given a m by n grid
 of letters, ( ),
 and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 10:59:15   
                                阅读次数:
514
                             
                         
                    
                        
                            
                            
                                首先看这两类都实现List接口,而List接口一共有三个实现类,分别是ArrayList、Vector和LinkedList。List用于存放多个元素,能够维护元素的次序,并且允许元素的重复。3个具体实现类的相关区别如下:ArrayList是最常用的List实现类,内部是通过数组实现的,它允许对元素...
                            
                            
                                分类:
编程语言   时间:
2014-05-02 09:43:23   
                                阅读次数:
290
                             
                         
                    
                        
                            
                            
                                DbUtility中的方法ExecuteDataTableAsync()得到的是一个DataTable,而我们常见的情况下,我们需要的不是DataTable,而是List或IList,所以现在需要考虑把DataTable转成List或IList,目前暂时有三种方案:方案1:用动软生成代码: 
1 pu...
                            
                            
                                分类:
数据库   时间:
2014-05-02 09:39:03   
                                阅读次数:
480
                             
                         
                    
                        
                            
                            
                                Reverse a linked list from positionmton. Do it 
in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 
2 andn= 4,return1->4->3->2->5->NULL.No...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 09:10:46   
                                阅读次数:
252
                             
                         
                    
                        
                            
                            
                                1.列表框中标题栏(Column)的添加创建一个List 
Control,其ID为IDC_LIST,在其Styles属性项下的View项里选择Report、Align项里选择Top、Sort项里选择None.然后在该List所在对话框的类(头文件)里创建ClistCtrl的一个对象m_list然后在...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 01:50:52   
                                阅读次数:
420