window.screen.availWidth 返回当前屏幕宽度(空白空间)window.screen.availHeight 返回当前屏幕高度(空白空间)window.screen.width 返回当前屏幕宽度(分辨率值)window.screen.height 返回当前屏幕高度(分辨率值)wi...
分类:
Web程序 时间:
2015-10-06 15:21:48
阅读次数:
151
一、背景系统管理员经常需要SSH 或者telent 远程登录到Linux 服务器,经常运行一些需要很长时间才能完成的任务,比如系统备份、ftp 传输等等。通常情况下我们都是为每一个这样的任务开一个远程终端窗口,因为它们执行的时间太长了。必须等待它们执行完毕,在此期间不能关掉窗口或者断开连接,否则这个...
分类:
系统相关 时间:
2015-10-05 10:25:01
阅读次数:
269
1.nohup命令功能:不挂断地运行命令,忽略HUP信号。语法:nohup command &实例:nohup ping www.google.com &转自:http://blog.csdn.net/v1v1wang/article/details/68555522. 使用screen等。。
分类:
系统相关 时间:
2015-09-29 16:49:34
阅读次数:
215
@media only screen andonly(限定某种设备)screen是媒体类型里的一种and被称为关键字,其他关键字还包括not(排除某种设备)/* 常用类型 */类型 解释all 所有设备braille 盲文embossed 盲文打印handheld 手持设备print 文档打印或打印...
分类:
其他好文 时间:
2015-09-28 22:27:04
阅读次数:
222
1、Smartphones (竖板和横板)@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { /* 你的样式写在这里 */ }2、Smartphones (横板)@media on...
分类:
Web程序 时间:
2015-09-28 08:44:25
阅读次数:
193
rem 是css3中的属性,ie8下不兼容。rem是相对于根元素 这就意味着我们只需要在 根目录加入以下css代码。 默认单位为16px,我们需要在用rem的时候除以16 就是rem的值。 比如字体是20px, 20÷16 = 1.25rem即可。@media only screen and (ma...
分类:
其他好文 时间:
2015-09-25 17:56:35
阅读次数:
165
今天听同学说了这个命令好奇的不行了。一起来研究下吧下载:yum install -y screen查看: rpm -qa|grep screenscreen-4.0.3-18.el6.x86_64开始使用:Screen命令后跟你要执行的程序=================screen vi scr...
分类:
其他好文 时间:
2015-09-24 16:00:23
阅读次数:
166
今天在处理项目中相关警告的时候发现了很多问题,包括各种第三方库中的警告,以及各种乱七八糟的问题 先说说标题中的问题 Category is implementing a method which will also be implemented by its primary class 这个警告的意...
分类:
移动开发 时间:
2015-09-23 18:36:59
阅读次数:
5306
9.7 Implement the "paint fill" function that one might see on many image editing programs. That is, given a screen (represented by a two-dimensional a...
分类:
其他好文 时间:
2015-09-23 11:47:21
阅读次数:
219
#include<stdio.h>#include<time.h>#include<stdlib.h>intmain(){intrandom=0;intinput=0;intstart=1;while(start){printf("*********************\n");printf("**1start0.exit**\n");printf("*********************\n");printf("请选择:>");scanf("%d",&..
分类:
编程语言 时间:
2015-09-23 01:23:38
阅读次数:
141