1.首先我们比较简单的选择器我们就点点就好了:比较常用的选择器 (1). id选择器 (2)类选择器 (3)元素选择器。 2.比较不常用的: (1). * 匹配任何元素 $("*") (2). selector1,selector2,selectorN 将每一个选择器匹配到的元素合并后一起返回。 例 ...
分类:
Web程序 时间:
2017-01-19 19:48:43
阅读次数:
755
博客园: 博客服务接口: http://wcf.open.cnblogs.com/blog/help 新闻服务接口: http://wcf.open.cnblogs.com/news/help 知乎日报API: https://github.com/izzyleung/ZhihuDailyPurif ...
分类:
Windows程序 时间:
2017-01-19 13:58:16
阅读次数:
1017
在微信小程序中,如果想把子页面设置成打开程序的第一眼页面而不是首页,只需要在公共json文件中的pages里面的第一位设置成你想要的页面路径即可: "pages":[ "pages/index/index",//把要放在启动第一位显示的页面路径放在此处。 "pages/logs/logs", "pa ...
分类:
微信 时间:
2017-01-19 09:30:56
阅读次数:
548
转自:http://www.infoq.com/cn/news/2015/02/apache-samza-top-project Apache Samza是一个开源、分布式的流处理框架,它使用开源分布式消息处理系统Apache Kafka来实现消息服务,并使用资源管理器Apache Hadoop Y ...
分类:
数据库 时间:
2017-01-18 10:50:54
阅读次数:
298
Python 2.7.9+ and 3.4+ Good news! Python 3.4 (released March 2014) and Python 2.7.9 (released December 2014) ship with Pip. This is the best feature o ...
分类:
其他好文 时间:
2017-01-16 14:29:06
阅读次数:
155
jQuery 的选择器可谓之强大无比,这里简单地总结一下常用的元素查找方法 $("#myELement") 选择id值等于myElement的元素,id值不能重复在文档中只能有一个id值是myElement所以得到的是唯一的元素 $("div") 选择所有的div标签元素,返回div元素数组 $(" ...
分类:
Web程序 时间:
2017-01-13 12:51:45
阅读次数:
289
js脚本ajax请求news.xxx.com请求www.xxx.com获取登录状态信息$.ajax({type:"GET",url:‘http://www.xxx.com/index.php?m=member&‘+Math.random(),data:{},dataType:"Html",xhrFields:{withCredentials:true//为真而执行跨域名请求},success:function(html){//返回登录信息$(..
分类:
Web程序 时间:
2017-01-13 01:29:26
阅读次数:
169
实体类: package com.etc.entity; public class News { private int id; private String title; private String content; public int getId() { return id; } publi... ...
分类:
其他好文 时间:
2017-01-12 18:24:44
阅读次数:
280
此文档是本人学习时使用的,采用一个实例作为引导进行安装测试。 实例下载地址如下: https://github.com/sans-serif/scrapy-german-news#introduction 解压之后为:scrapy-german-news-master 修改requirements. ...
分类:
系统相关 时间:
2017-01-12 11:41:35
阅读次数:
297
CentOS源不能安装libmcrypt-devel,由于版权的原因没有自带mcrypt的包。 有两种方法解决,一种是使用第三方源,这样还可以使用yum来安装,简单方便,坏处是第三方源多少有中不可靠的感觉。 解决办法一1、安装第三方yum源wget http://www.atomicorp.com/ ...
分类:
其他好文 时间:
2017-01-11 13:12:34
阅读次数:
174