正则表达式(Regular Expression ,RE)是处理字符串的方法,它是以行为单位来进行字符串的处理行为,通过一些特殊符号的辅助,可以让用户轻易达到查找,删除,替换某特定字符串的处理程序。#!/bin/bashif [ $# == 0 ];then echo "Please inpu...
分类:
系统相关 时间:
2015-08-07 01:45:38
阅读次数:
139
Objects are structures allocated on the heap. Special rules apply to the use of objects to ensure they are properly garbage-collected.Objects are neve...
分类:
编程语言 时间:
2015-08-06 16:28:30
阅读次数:
136
I encountered this error after installing Intellij IDEA Ultimate 14.1 and opening an existing Android project I had created using Android Studio. It turns out I just had to add the Android SDK to m...
分类:
移动开发 时间:
2015-08-05 10:52:32
阅读次数:
1305
机子里的otp是新装的看了一下main是在util:ensure_started一堆app的时候死讯了,按照顺序是sasl crypto asn1 public_key ssl发现是public_key,时报了crypto没启动,但是application:start(crypto)就没报错后来发现...
分类:
其他好文 时间:
2015-08-04 18:47:56
阅读次数:
222
1、定义
python函数以关键字def标识 def test(name):
print 'hello %s'%(name)
name=raw_input('please input your name: ')
test(name)
PS:在python中代码块以缩紧的方式进行标识,所以缩进对齐的语句为一个代码块,这比像C++\j...
分类:
编程语言 时间:
2015-08-04 15:42:56
阅读次数:
126
问题1:# Please enter a commit message to explain why this merge is necessary,# especially if it merges an updated upstream into a topic branch.## Lines ...
分类:
其他好文 时间:
2015-08-04 02:02:09
阅读次数:
244
Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ...
分类:
编程语言 时间:
2015-08-03 18:15:05
阅读次数:
202
#include void test(){//1+2+3+4+.....+100 int a,b; a=0; b=0; for ( ; a#includeint main(){int n,i,k;printf("please enter a integer number:n=?");scan...
分类:
编程语言 时间:
2015-08-02 15:08:37
阅读次数:
130
package sort;import java.util.Scanner;public class ShellSort { public static int arr[]; static{ System.out.println("Please enter the arra...
分类:
编程语言 时间:
2015-08-02 11:35:09
阅读次数:
127
#!/bin/bash# BY kerryhu# MAIL:king_819@163.com# BLOG:http://kerry.blog.51cto.com# Please manual operation yum of before Operation.....#===============...
分类:
其他好文 时间:
2015-08-02 00:51:40
阅读次数:
177