1.在根部局给一个id,然后直接设置就行了layout.setSystemUiVisibility(View.INVISIBLE); 状态栏就没有了。 2.如果你只是想改变状态栏颜色的也可以 View类提供了setSystemUiVisibility和getSystemUiVisibility方法, ...
分类:
移动开发 时间:
2017-11-01 16:32:12
阅读次数:
498
1、修改 vi /etc/yum.repos.d/CentOS-Media.repo baseurl=file:///mnt/cdrom 地址gpgcheck=0 检查版本号 0为不检查enabled=1 是否生效 1为生效 2、mount -t iso9660 -o ro /dev/cdrom / ...
分类:
其他好文 时间:
2017-10-30 18:28:15
阅读次数:
157
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Management; using Sys... ...
分类:
其他好文 时间:
2017-10-29 21:54:35
阅读次数:
241
1.建scrapy工程 scrapy startproject python123demo 2.在工程中写一个爬虫文件 cd python123demo scrapy genspider demo python123.io 3.写爬虫的配置文件 4.运行爬虫 scrapy crawl demo 运行 ...
分类:
其他好文 时间:
2017-10-29 11:18:10
阅读次数:
462
说明: 已在CentOS 7.2 上编译安装nginx 1.13.6 -- 练手!!! [root@rainjin scripts]# /application/nginx/sbin/nginx -Vnginx version: nginx/1.13.6built by gcc 4.8.5 2015 ...
分类:
其他好文 时间:
2017-10-28 19:52:44
阅读次数:
150
--开启执行计划: set autotrace on SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled 找不到会话标识符,启用检查SP2-0611: Error enabling STATIST ...
分类:
其他好文 时间:
2017-10-27 20:37:50
阅读次数:
191
FAILED => Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this. Please add thi ...
分类:
其他好文 时间:
2017-10-27 19:55:29
阅读次数:
358
查看SELinux状态:1、/usr/sbin/sestatus-v##如果SELinuxstatus参数为enabled即为开启状态
SELinuxstatus:enabled
sestatus##直接执行命令
SELinuxstatus:enabled2、getenforce##也可以用这个命令检查
enabled关闭SELinux:1、临时关闭(不用重启机器):
setenforce0##设置SEL..
分类:
系统相关 时间:
2017-10-27 17:55:17
阅读次数:
250
1...不可写 setenforce 0 2.。。不支持Gd yum -y install mysql mysql-server mysql-devel php-mysql gd gd-devel httpd php php-gd yum install gd php-mysql php-gd ph ...
分类:
系统相关 时间:
2017-10-27 13:23:38
阅读次数:
179
<repositories>
<repository>
<id>jboss</id>
<name>JBossRepository</name>
<url>http://repository.jboss.org/maven2</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
&..
分类:
其他好文 时间:
2017-10-26 22:49:15
阅读次数:
123