1 public void toggleFullscreen(boolean fullScreen) 2 { 3 //fullScreen为true时全屏 4 5 WindowManager.LayoutParams attrs = getWindow().ge...
分类:
移动开发 时间:
2015-11-25 23:25:49
阅读次数:
176
脚本如下:#!/bin/bashx=0while [ $x -lt 10 ]doecho $xx=`echo "$x+1" | bc`done请问这里的-lt是什么意思,请大家指点一二,谢谢。-lt less than 小于-gt great than 大于-ge great equal大于等于.....
分类:
其他好文 时间:
2015-11-25 19:23:50
阅读次数:
130
FROM >dual is a table that contains a single row. The following outputfrom the DESCRIBE command shows the structure of the dual table, along with a qu...
分类:
数据库 时间:
2015-11-24 14:40:43
阅读次数:
207
整数比较-eq 等于,如:if [ "$a" -eq "$b" ]-ne 不等于,如:if [ "$a" -ne "$b" ]-gt 大于,如:if [ "$a" -gt "$b" ]-ge 大于等于,如:if [ "$a" -ge "$b" ]-lt 小于,如:if [ "$a" -lt "$b"...
分类:
系统相关 时间:
2015-11-24 12:36:08
阅读次数:
164
条件选择:if…else…fi case…in…esac数值比较操作符符号说明-eq等于-ne不等于-gt大于-lt小于-ge大于等于-le小于等于如运行报错:[: -le: unary operator expected究其原因,是因为如果变量值为空,那么就成了 [ = 数值,而[和数值并不相等....
分类:
其他好文 时间:
2015-11-23 16:26:34
阅读次数:
134
string iosUrl = "https://itunes.apple.com/cn/app/yi-hao-huo-che-tong-cheng/id946723843?mt=8"; string androidUrl = "http://www.yihaohuo...
分类:
其他好文 时间:
2015-11-23 09:59:42
阅读次数:
148
1.判断List中课程是否存在/** * 测试List的contains方法 * @param args */ public void testListContains(){ Course course=(Course)coursesToSelect.ge...
分类:
编程语言 时间:
2015-11-22 15:44:55
阅读次数:
190
aspcms里提供了右侧悬浮伸缩式客服窗口,客户同时点名要求页面中间弹(ling)窗(hao)式(gan)客服。在懒人图库当了个基本款的js代码,去读他的结构,发现里面同时有右侧和中间的形式,有些功能也用不上。还是回到cms所提供的样式上,看是否能做添加工作。首先,考虑弹窗式客服的功能需要:当且仅当...
分类:
其他好文 时间:
2015-11-20 23:01:00
阅读次数:
288
jQuery-AJAX get()和post()方法是通过http get 和 http post请求从远程服务器上请求数据的。两种在客户端和服务端请求-响应的常用方法是get和postget:从指定的资源请求数据,get是用来从服务器上获取(取回)数据,但要注意获取或取回的可能是缓存数据,因为ge...
分类:
Web程序 时间:
2015-11-20 21:35:50
阅读次数:
150
Problem JJin Ge Jin Qu [h]ao(If you smiled when you see the title, this problem is for you ^_^)For those who don't know KTV, see:http://en.wikipedia.o...
分类:
其他好文 时间:
2015-11-20 16:45:51
阅读次数:
212