自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(30)
  • 资源 (4)
  • 收藏
  • 关注

转载 可拖动的悬浮div,兼容手指触摸和鼠标点击

html>head> meta charset="UTF-8"> title>适配移动端的拖动效果title> style> /* #div1{ height: 1000px; }*/ #div2{ position: absolute; top:0;

2018-01-29 15:19:18 3154 1

原创 Python Scrap安装

wheellxml (http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml)PyOpenssl(https://pypi.python.org/pypi/pyOpenSSL#downloads)Twisted(http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted)Pywen32(https://sou

2018-01-29 10:19:45 984

原创 Python3 Cookie爬虫

自动登录更新这里写代码片定时验证筛选这里写代码片提供外部接口这里写代码片Cookies 池架构帐号队列—生成器—-Cookies队列—定时器

2018-01-28 16:19:49 332

原创 python3代理爬虫

抓取索引页内容这里写代码片代理设置这里写代码片分析详情页内容这里写代码片将数据保存到数据库完整代码import requestsfrom urllib.parse import urlencodefrom pyquery import PyQuery as pqfrom setting import *import pymy

2018-01-28 10:27:35 597

原创 centos安装redis

yum install epel-releaseyum install redisvim /etc/redis.conf注释bind 127.0.0.1设置密码requirepass 123456systemctl start redis.service开机启动chkconfig redis on

2018-01-27 21:39:30 177

原创 selenium&&pyquery&&pymongo

search.pyfrom selenium import webdriverfrom selenium.common.exceptions import TimeoutExceptionfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.support.ui import WebDriverWai

2018-01-27 19:52:10 271

转载 centos7 安装mongodb

安装步骤如下:cd /usr/local mkdir -p tools cd tools wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-3.2.4.tgz tar -zxvf mongodb-linux-x86_64-rhel70-3.2.4.tgz mv mongodb-linux-x86_64-

2018-01-27 13:53:07 222

原创 python 爬虫

request => response =>html json等解析 => 保存指定格式 自动模拟selenium&&webdriver || splash || PyV8、Ghost.py 保存数据:纯文本||关系型数据库||非关系型数据库||二进制文件 HTTP请求测试网站http://httpbin.org/from selenium import webdriverdrive

2018-01-24 11:20:59 183

原创 python 爬虫环境

urllib re //正则表达式 requests selenium //浏览器自动化测试工具 chromedriver.exe||phantomjs.exe //浏览器驱动 lxml beautifusoup4||pyquery //解析html pymsql ||pymongo||redis flask django jupyter //强大的记事本安装以上所有

2018-01-24 09:56:58 205

原创 vue2&nodejs&webpack

webstorm 按Ctrl+shift+A 输入 terminal 打开 输入 npm init npm i webpack vue vue-loader css-loader style-loader url-loader file-loader

2018-01-23 08:38:34 298

原创 spring mvc 与 struts2

spring mvc -> servlet -> controller 单例 struts2 -> filter -> action 多例

2018-01-23 08:23:32 149

原创 ajax 长链接,能够同时send图文,稳定性没有websocket好

function uploadSendTextAll(link,content,name) { var count = ""; var id_start = $("#id_start").val(); var id_end = $("#id_end").val(); $.

2018-01-22 14:42:43 221

原创 spring boot&websocket &微信小程序

注册import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.web.socket.server.standard.ServerEndpointExporter;@C

2018-01-20 18:15:46 6546 1

原创 linux发布jar后台运行

nohup java -jar XXX.jar >temp.txt &nohup 不挂断运行>temp.txt 打印log& 后台运行ps -ef|grep javaps 含义:下面对命令选项进行说明:-e 显示所有进程。-f 全格式。-h 不显示标题。-l 长格式。-w 宽输出。

2018-01-19 08:52:15 239

原创 linux yum mysql 安装

wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpmyum -y localinstall mysql57-community-release-el7-11.noarch.rpm yum -y install mysql-community-serversystemctl start mys

2018-01-18 11:12:34 112

原创 jfinal+junit5

/** * 2018-01-17 * GUXUKAI */package com.test;import org.junit.jupiter.api.AfterAll;import org.junit.jupiter.api.BeforeAll;import com.jfinal.kit.PropKit;import com.jfinal.plugin.activerecord

2018-01-17 10:15:25 410

转载 java 使用线程池进行多线程编程

package com.gxk;import java.util.concurrent.ExecutorService;import java.util.concurrent.Executors;import java.util.concurrent.ThreadPoolExecutor;public class ExecutorTest { private static I

2018-01-15 15:24:59 279

原创 centos配置jenkins

sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo  sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key  yum install jenkins  sudo service j

2018-01-15 09:42:02 262 1

转载 centos7防火墙

1、firewalld的基本使用启动: systemctl start firewalld查看状态: systemctl status firewalld 停止: systemctl disable firewalld禁用: systemctl stop firewalld 2.systemctl是CentOS7的服务管理工具中主要的工具,它融合之前service和chkc

2018-01-15 09:40:44 223

原创 mysql查看没有主键的表

SELECT * FROM information_schema.tables AS tLEFT JOIN (SELECT DISTINCT table_schema, table_name FROM information_schema.`KEY_COLUMN_USAGE` ) AS kt ON kt.table_schema=t.table_schema AND kt.table_name

2018-01-05 17:21:39 5027

原创 动态更改@keyframes

var cssRule;  function getRule() {      var rule;      var ss = document.styleSheets;      for (var i = 0; i           for (var x = 0; x               rule = ss[i].cssRules[x];          

2018-01-02 10:43:54 4327 1

转载 curl使用

https://www.cnblogs.com/xing901022/p/4652624.html

2017-12-19 09:00:59 99

原创 mysql字符查看

mysql字符集

2017-12-18 13:10:02 120

原创 Spring boot 1.5.9 结合 Swagger2 2.7.0 一步一个脚印

Spring boot 1.5.9 结合 Swagger2 2.7.0 一步一个脚印 pom.xmldependency> groupId>io.springfoxgroupId> artifactId>springfox-swagger2artifactId> version>2.7.0version>

2017-12-11 16:55:20 2564 1

原创 log4j常用日志配置

#FATAL      0 - 严重错误  #ERROR      3 - 错误#WARN       4 - 警告#INFO       6  -一般信息#DEBUG      7  -调试信息log4j.rootLogger=WARN, stdout, file# Output to the File#log4j.appender.file=org.apache.l

2017-11-06 16:22:35 243

原创 图标

http://fontello.com/

2017-11-03 16:48:27 149

转载 jboot

http://blog.csdn.net/Servlet905/article/details/73822680?locationNum=1&fps=1

2017-11-02 17:09:19 376

转载 css3基本图形

http://blog.sina.com.cn/s/blog_4abb9bba0101acsx.html

2017-10-20 15:56:53 230

转载 freemark

http://blog.csdn.net/fhx007/article/details/7902040/

2017-10-12 14:06:46 158

转载 mysql常用函数

http://www.cnblogs.com/dengyg200891/p/6032771.html

2017-10-12 13:55:39 213

window服务

window服务。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

2017-12-19

高效的svg绘图插件pasition.js

高效的svg绘图插件pasition.js,可以实线图形动态变换

2017-11-17

高效的svg绘图插件vivus

高效的svg绘图插件vivus,文档地址http://www.jq22.com/jquery-info9266

2017-11-16

成熟的bootstrap3.3.0

bootstrap3.3.0基础文件,包含两个基础文件bootstrap3.3.0中的.mim.js和.min.css

2017-11-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除