02 2018 档案

摘要:#删除已经删除的软件包的残留配置文件dpkg -l |grep "^rc"|awk '{print $2}' |xargs aptitude -y purge #彻底移除相关信息apt-get -y purge ****(软件名称) #清除依赖关系apt-get autoremove(依赖残存)apt-get autoclean(相关信息清除) 阅读全文
posted @ 2018-02-12 13:40 light-zhang 阅读(440) 评论(0) 推荐(0)
摘要:function isWeiXin(){ var ua = window.navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i ) == 'micromessenger' ){ return true; } else{ return false; } ... 阅读全文
posted @ 2018-02-12 10:46 light-zhang 阅读(137) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-02-12 10:43 light-zhang 阅读(543) 评论(0) 推荐(0)
摘要:ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them you will have to do at least one of the following: - Use the '-force-32bit' 阅读全文
posted @ 2018-02-12 10:28 light-zhang 阅读(211) 评论(0) 推荐(0)
摘要:#科大源deb http://mirrors.ustc.edu.cn/debian/ stretch main non-free contrib deb http://mirrors.ustc.edu.cn/debian/ stretch-updates main non-free contrib deb http://mirrors.ustc.edu.cn/debian/ stretch-ba... 阅读全文
posted @ 2018-02-12 10:18 light-zhang 阅读(2094) 评论(0) 推荐(0)
摘要:忽略:1 http://mirrors.ustc.edu.cn/debian stretch InRelease命中:2 http://mirrors.ustc.edu.cn/debian stretch-updates InRelease命中:3 http://mirrors.ustc.edu.c 阅读全文
posted @ 2018-02-12 10:08 light-zhang 阅读(1692) 评论(0) 推荐(0)
摘要:提高服务器性能有很多方法,比如划分图片服务器,主从数据库服务器,和网站服务器在服务器。但是硬件资源额定有限的情况下,最大的压榨服务器的性能,提高服务器的并发处理能力,是很多运维技术人员思考的问题。 要提高Linux系统下的负载能力,可以使用nginx等原生并发处理能力就很强的web服务器,如果使用A 阅读全文
posted @ 2018-02-08 17:16 light-zhang 阅读(4087) 评论(0) 推荐(0)
摘要:第1步:列出mysql残余文件信息 第2步:依次清理上面列出的残余文件信息 第3步:清除mysql的common,client,server 第4步:清除相关的依赖和相关的信息 阅读全文
posted @ 2018-02-08 10:00 light-zhang 阅读(1858) 评论(0) 推荐(0)
摘要://封装获取cookie function getCookie(name) { var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)"); if (arr = document.cookie.match(reg)) return (arr 阅读全文
posted @ 2018-02-07 16:18 light-zhang 阅读(1803) 评论(0) 推荐(0)
摘要:linux/debian/ubuntu下执行某*.sh出现了 Can't open xxx.sh 执行 阅读全文
posted @ 2018-02-05 14:07 light-zhang 阅读(6346) 评论(0) 推荐(1)
摘要:转自:http://blog.csdn.net/zhongwen7710/article/details/39213377 第一部分:相关的概念 数据类型 Java虚拟机中,数据类型可以分为两类:基本类型和引用类型。基本类型的变量保存原始值,即:他代表的值就是数值本身;而引用类型的变量保存引用值。“ 阅读全文
posted @ 2018-02-05 11:25 light-zhang 阅读(202) 评论(0) 推荐(0)
摘要:第一步:在github上下载压缩包,github下载地址: 第二步:解压文件到具体文件夹,并进入 第三步:利用npm安装 npm install 第四步:利用npm打包 npm build 第五步:修改shells>chrome文件夹下的mainifest.json 中的persistent为tru 阅读全文
posted @ 2018-02-03 10:05 light-zhang 阅读(1367) 评论(0) 推荐(0)
摘要:安装webpack和vue-cli脚手架 创建vue测试项目 进入vue项目根目录安装vue_test需要的依赖 运行项目: 打开http://localhost:8081就能看到搭建成功之后的vue_test项目了 vue项目的打包 使用npm run build进行打包,这个时候你直接打开dis 阅读全文
posted @ 2018-02-02 18:18 light-zhang 阅读(296) 评论(0) 推荐(0)
摘要:推荐第二种安装方式,第一张安装方式会报很多的环境变量出现问题 安装各种g++ c++编译环境等 方式1: 1、下载nodejs安装包 2、解压 3.编译源码 4.检查是否安装成功 方式2: 1.下载编译后的打包文件 2.解压文件到指定的文件目录 /witts/fore_end/ 3.配置环境变量 n 阅读全文
posted @ 2018-02-02 17:01 light-zhang 阅读(6679) 评论(0) 推荐(0)
摘要:基础架构设计大概图: 第一步: 先下载zookpper框架 下载地址: 第二步: 配置zookeeper 新建文件夹命名zookeeper1, 在zookeeper1下面新建data文件夹 data下新建myid文件内容为: 158531 第三步:配置zookeeper-3.4.10下conf目录下 阅读全文
posted @ 2018-02-02 11:40 light-zhang 阅读(1033) 评论(0) 推荐(0)
摘要:... 阅读全文
posted @ 2018-02-02 10:19 light-zhang 阅读(248) 评论(0) 推荐(0)
摘要:import java.sql.Statement; import java.util.Properties; import org.apache.ibatis.executor.statement.StatementHandler; import org.apache.ibatis.logging.commons.JakartaCommonsLoggingImpl; import org.a... 阅读全文
posted @ 2018-02-01 12:57 light-zhang 阅读(2241) 评论(0) 推荐(0)