码迷,mamicode.com
首页 >  
搜索关键字:if循环shell case until    ( 11788个结果
Android项目在eclipse中无法打包apk文件[bin目录下没生成apk文件]问题解决
后来我发现在eclipse的Preferences -> Android -> Build中有一项“Skip packaging and dexing until export or launch....”,原来这个选项默认是被勾选的,这个选项的意思是“跳过packing和dexing,直到expo...
分类:移动开发   时间:2014-07-06 19:43:57    阅读次数:203
Leetcode Anagrams
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.题目的意思是:给出一组字符串,按组返回拥有相同变位词的字符串解题思路是: ...
分类:其他好文   时间:2014-07-06 17:47:10    阅读次数:210
postgres 正则表达式
PostgreSQL正则表达式基础:OperatorDescriptionExample~Matches regular expression, case sensitive'thomas' ~ '.*thomas.*'~*Matches regular expression, case insen...
分类:其他好文   时间:2014-07-06 13:31:33    阅读次数:156
HashSet/List 排序
要求:用户从外部导入TXT文件(input textfile),该文件有三列,分别是storeNum,MosrName,MosrNum,如下是一个input textfile的Case:5099,Scoresby,56595250,Scoresby,56595211,Scoresby,5659513...
分类:其他好文   时间:2014-07-06 13:12:43    阅读次数:232
Swift学习——使用if和switch来进行条件操作,使用for,while,和do-while来进行循环(三)
Swift学习——使用if和switch来进行条件操作,使用for,while,和do-while来进行循环 //switch支持任意类型的数据以及各种比较操作——不仅仅是整数以及测试相等 //注意如果去掉default程序会报错 let strings = "hello3" switch strings{ case "hello1": let stringsCo...
分类:其他好文   时间:2014-07-06 12:41:35    阅读次数:186
Case study: word play
For the exercises in this chapter we need a list of English words. There are lots of word lists available on the Web, but the most suitable for our pu...
分类:其他好文   时间:2014-07-05 22:45:55    阅读次数:545
Climbing Stairs
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 有f(n) = f(n - 1) + f(n...
分类:其他好文   时间:2014-07-04 08:39:44    阅读次数:304
如何设置mysql的表不区分你大小写
Linux上安装MySQL默认是数据库的表大小写敏感的。修改很简单,只要该一个mysql的配置文件就可以了。 mysql> show tables; +--------------------------------------+ | Tables_in_cddl                       | +--------------------------------------...
分类:数据库   时间:2014-07-04 07:51:23    阅读次数:264
在asp.net mvc中使用PartialView返回部分HTML段
问题链接: MVC怎样实现异步调用输出HTML页面该问题是个常见的 case, 故写篇文章用于提示新人。在asp.net mvc中返回View时使用的是ViewResult,它继承自ViewResultBase 同一时候它还有个兄弟PartialViewResult相信聪明的你已经知道了它俩的差别了...
分类:Web程序   时间:2014-07-04 00:09:12    阅读次数:4739
sql server 保留小数(续A)
写完上一篇文章后,陆续有朋友给出了其他思路,我在小结在这篇博客中。思路一:转换成字符串后输出(这也是上一篇文章给的思路)1 1 SELECT CASE WHEN @a % @b = 0 THEN CAST(@a / @b AS VARCHAR(16)) 2 2 EL...
分类:数据库   时间:2014-07-02 19:52:12    阅读次数:249
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!