- 前端技术简介
2401_83916204
程序员前端
“前端开发”是从“网页制作”演变而来的。从2005年开始,互联网进入web2.0时代,由单一的文字和图片组成的静态网页已经不能满足用户的需求,用户需要更好的体验。在web2.0时代,网页有静态网页和动态网页。所谓动态网页,就是用户不仅仅可以浏览网页,还可以与服务器进行交互。举个例子,你登陆新浪微博,要输入账号密码,这个时候就需要服务器对你的账号和密码进行验证通过才行。web2.0时代的网页不仅包含
- 周杰伦十大“冰度”歌曲
L香味
首先我个人声明,我是个04年就开始的JAY粉,榜单是我根据某狗音乐杰伦的热度榜上(live版)除外来排名的,看看你们都听过没?一、《麦烝玮》词:Jay曲:Jay麦烝玮,是经常出现在周杰伦身边的一个得力舞角,这首歌是周杰伦即兴创作歌曲,并于2011年5月18日通过小麦新浪微博首发,这歌是周杰伦写词谱曲诙谐调侃小麦。相信听过这首歌的人不会很多。二、《天台的月光》词:方文山曲:Jay《天台的月光》,作为
- 「DR」他爱的,只是你爱他的感觉/Aniel-Vega
箫凌
全世界只有不到3%的人微信搜索并且关注了箫凌你真是个特别的人策划:箫凌「fromOvertureStudio/角一文化」姓名:Aniel-Vega出生年月日:1996年6月1日星座:双子座把我想的,都说给你听。模特,演員,自由撰稿人,大二學生,2017亞洲小姐.花椒忘憂家族簽約主播,開平影視文化協會理事,廣東微電影聯盟會員,林涧樹洞創始人,開平潮人主編,新浪微博頭條文章作者,新浪微遊戲平台綜合版版
- 我玩腾讯微博也有10年了,腾讯微博即将停止运营和服务,我的青春说没就没了
媒体人蔡林芮
据腾讯微博官网2020年9月4日发布官方公告称:由于业务调整,腾讯微博将于2020年9月28日晚23时59分停止服务和运营,届时用户将无法登录,如有需要,可在停止服务前备份自己的相关信息。这件事还顺利上了新浪微博的热搜。据悉,腾讯微博早已停止功能开发,维持基本运营。腾讯微博2020年9月4日发布微博停服公告看到腾讯微博发布这样的公告,让我感到非常的诧异,我以为腾讯微博早就停止运营。回想起腾讯微博的
- 千万级规模高性能、高并发的网络架构经验分享
搬砖养女人
网络架构经验分享
主题:INTO100沙龙时间:2015年11月21日下午地点:梦想加联合办公空间分享人:卫向军(毕业于北京邮电大学,现任微博平台架构师,先后在微软、金山云、新浪微博从事技术研发工作,专注于系统架构设计、音视频通讯系统、分布式文件系统和数据挖掘等领域。)架构以及我理解中架构的本质在开始谈我对架构本质的理解之前,先谈谈对今天技术沙龙主题的个人见解,千万级规模的网站感觉数量级是非常大的,对这个数量级我们
- L1-100 四项全能
大道戏
PTA团体程序设计天梯赛算法PTA
作者陈越单位浙江大学新浪微博上有一个帖子给出了一道题:全班有50人,有30人会游泳,有35人会篮球,有42人会唱歌,有46人会骑车,至少有()人四项都会。发帖人不会做这道题,但是回帖有会做的:每一个才艺是一个技能点,一共是30+35+42+46=153个技能点,50个人假设平均分配,每人都会3个技能那也只有150,所以至少有3人会四个技能。本题就请你写个程序来自动解决这类问题:给定全班总人数为n,
- iOS 第三方登录
YQ_苍穹
第三方登录原理友盟登录1.在友盟下载SDK下载SDK2.查看如何配置SDK3.将SDK(UMSocial_SDK)拖拽到项目中,然后按照友盟文档做相应的配置:如:修改plist文件,让其支持HTTPS请求为APP瘦身导入依赖框架指明那个应用集成登录在友盟官方文档中直接拷贝,三方登录代码就ok了新浪微博登录SSO授权不跳转到微博登录了,直接授权配置步骤:在上面友盟登录的基础上,将之前下载的SDK里面
- 2024年Python最新Python爬虫教程-新浪微博分布式爬虫分享(2)
2401_84584682
程序员python爬虫新浪微博
开发语言:Python2.7开发环境:64位Windows8系统,4G内存,i7-3612QM处理器。数据库:MongoDB3.2.0、Redis3.0.501(Python编辑器:Pycharm;MongoDB管理工具:MongoBooster;Redis管理工具:RedisStudio)爬虫框架使用Scrapy,使用scrapy_redis和Redis实现分布式。分布式中有一台机充当Maste
- ios加载html富文本编辑器,IOS - 富文本解决方案(上)
Mr.括号
ios加载html富文本编辑器
概述针对富文本来说,一直都是移动端的痛。虽然网上的解决方案很多,但是大多数都是基于展示,真正可以进行编辑的,却很少。而这些少数的实现中,适合我使用就没有了。所以我决定自己研究,并实现。需求需求说起来很简单,就是要设计一款IOS、Androd、PC端通用的富文本编辑器。模仿新浪微博中-头条文章。调研经过多次的分析和调研,有过这么几套方案。使用UIWebView来实现使用内嵌js编辑器实现使用html
- 移动花卡宝藏版流量卡,19元每个月200G流量,你用过吗?
全网优惠分享
移动花卡宝藏版流量卡,19元每个月200G流量,你用过吗?关注微•信•公•众•号"卡泡泡"就知道啦!移动花卡宝藏卡19元每个月200G流量。那是哪些软件能用这些流量?1、套餐优惠内容。30G的定向流量包,这里包括有中国移动精品APP以及阿里系、百度系、网易系、腾讯系、抖音系、芒果TV、快手、哔哩哔哩、喜马拉雅、新浪微博、VIVO等超过100款的APP。移动热门大流量卡推荐:动感地带花卡宝藏版19元
- 大数据毕业设计hadoop+spark+hive微博舆情情感分析 知识图谱微博推荐系统
qq_79856539
javaweb大数据hadoop课程设计
(一)Selenium自动化Python爬虫工具采集新浪微博评论、热搜、文章等约10万条存入.csv文件作为数据集;(二)使用pandas+numpy或MapReduce对数据进行数据清洗,生成最终的.csv文件并上传到hdfs;(三)使用hive数仓技术建表建库,导入.csv数据集;(四)离线分析采用hive_sql完成,实时分析利用Spark之Scala完成;(五)统计指标使用sqoop导入m
- 圣人与凡夫
c592ef8896a6
此文转发新浪微博中毉大夫博文2020-12-21阅读21406近来中国文化的兴起,本来是一件好事,大家都应该积极的参于,人人都应该尽力的去挖掘,人人都应该去分享,可是事实上却不是这样,很多人打击中国传统文化,说是封建迷信,不科学,有的人说中国传统文化装神弄鬼,近来又有人传找到了孔子的遗书,好像兴灾乐祸一样,今天我再谈一下,什么才是中国传统文化,圣人之道。首先我们在聊中国传统文化之前,必须的要分清,
- 失去“新浪热搜”的这一周,生活受到什么影响了吗?
玉妃说
1月27日,国家互联网信息办公室指导北京市互联网信息办公室约谈新浪微博负责人,新浪微博热搜榜、热门话题榜、微博问答功能等板块暂时下线一周进行整改。很多人知道,也有很多人不知道。在PGONE被四大党媒联名批评之时,其粉丝误以为批评者之一紫光阁是餐饮饭店,计划制造“紫光阁地沟油”的热搜来整垮对方,讨论聊天记录被截屏暴露,第二天“紫光阁地沟油”果然上了新浪热搜。然而……其实新浪买热搜、造热搜并不是什么新
- 2020-04-30:闲话
驿舟
之一:骂战爆发疫情以来全世界的新闻不仅单调了也明显少了在有限的新闻中最多的是骂战也有人说得冠冕堂皇谓之媒体战之二:不知道是怎么一回事新浪微博上无法打开别人的链接不知道是怎么一回事是不是又莫名地设置了什么限制一些无形的绳索总是把我们束缚刚才又试了一下这一次竟能打开之三:绿皮车与白衬衫微博上我特别关注的有两个其中之一是绿皮车与白衬衫绿皮车与白衬衫好久不来了今天我特意去他微博看了看好多好诗我一一点了赞之
- 微博评论点赞可以购买吗,微博评论点赞提升的方法有几种
爱吃菠萝的鱼
新浪微博是国内最大的社交网络服务平台,很多用户都在用微博来记录生活,分享自己的喜怒哀乐。最近有很多人问我微博可以买点赞吗,可以买微博评论点赞吗?答案是肯定的,虽然不是很贵,但是也要给我带来一些帮助。我这里提供几种办法帮助你:第一种、在网上找点赞数高的微博,这种办法一般都是要花钱的。微博点赞:17762069205(长按微信号可复制粘贴)微博评论点赞购买1、在微博中寻找一条点赞数高的微博,一般都是要
- 荐诗丨像这样细细地听(茨维塔耶娃)
李译
孩子遥望记忆的远方像这样细细地听,如河口凝神倾听自己的源头。像这样深深地嗅嗅一朵小花。直到知觉化为乌有。像这样,在蔚蓝的空气里溶进了无底的渴望。像这样,在床单的蔚蓝里孩子遥望记忆的远方。像这样。莲花般的少年默默体验血的温泉。……就像这样,与爱情相恋就像这样,落入深渊。(飞白译)新浪微博:@木子译
- 微博热搜榜单被撤下整改 突然感觉生活少了点什么......
英语学习社
昨日,微博热搜突然下线整改,这个消息传出可谓是几家欢喜几家愁啊,对新浪微博早就有意见的网友无不拍手称快。新浪的热搜榜,热门话题榜,微博问答功能,热门微博榜明星和情感板块,广场头条栏目情感版块都齐齐下线整改一周后再重新上线。China'sWeibosocialmediasitesuspendsportalsafterreprimand[1][1]reprimand:1)V-TIfsomeoneisr
- 外星小哥哥自己做的火箭“炮”日内竟然自己吃掉了?
做个吃的
不可描述的食物你看了能受的了吗?想了解更多视频,欢迎关注新浪微博@做个吃的_吃星妄想~外星小哥哥自己做的火箭“炮”日内竟然自己吃掉了?
- 我可以既不是男人,又不是女人吗?
柒号寡妇
去年年初,科幻片《上海堡垒》上映前,电影质量尚待论,网络上却热火朝天地议论起鹿晗的长相。图源新浪微博“现在的小鲜肉怎么都那么娘?““中国出现了男孩危机”“女装大佬男不男,女不女的,恶心“上述这些对男女气质形象的讨论被李银河老师称为“中性化社会焦虑症“。但你知道吗,Facebook注册提供的性别选项早已超过五十种:脸书其中一页比如跨性别者(Transgender):指心理上不认同自己与生俱来性别的人
- 高敏感人群-怎么能让自己活的不那么累
咖啡就要不加糖
打开新浪微博,有一个关于敏感的相关话题,叫做:"和敏感的人相处有多累",这个话题有接近1100万的阅读量。话题里主要的焦点在于-如果对着一个敏感的人,说一句话都怕他多想,想前想后想五百年,他累,整得自己也跟着累,时时刻刻都紧张。所以敏感,就成了一个贬义词,通常和多愁善感、玻璃心、脆弱连在一起。敏感的人也很委屈:明明我是在关心你处处以你也中心,甚至处心积虑的在讨好你,观察入微你的那个动作那个眼神,揣
- 应用架构文章
这小子
ServiceOriented的iOS应用架构新浪微博iOS客户端架构与优化之路糯米移动组件架构演进之路文化碰撞:函数式、面向协议、面向对象编程的最佳实践探索Swift中的MVC-N模式Code-T沙龙资料高速公路换轮胎——为遗留系统替换数据库围观神仙打架,反革命工程师《iOS应用架构谈组件化方案》和蘑菇街Limboy的《蘑菇街App的组件化之路》的阅读指导iOS组件化方案探索iOS应用架构谈组件
- Python爬虫开源项目代码(爬取微信、淘宝、豆瓣、知乎、新浪微博、QQ、去哪网 等等)...
lyc2016012170
pythonjava大数据编程语言数据库
文章目录1、简介2、开源项目Github2.1、WechatSogou[1]–微信公众号爬虫2.2、DouBanSpider[2]–豆瓣读书爬虫2.3、zhihu_spider[3]–知乎爬虫2.4、bilibili-user[4]–Bilibili用户爬虫2.5、SinaSpider[5]–新浪微博爬虫2.6、distribute_crawler[6]–小说下载分布式爬虫2.7、CnkiSpid
- L1-027 出租分数 20
想了半天也不知道取什么名字
每日两题算法
下面是新浪微博上曾经很火的一张图:一时间网上一片求救声,急问这个怎么破。其实这段代码很简单,index数组就是arr数组的下标,index[0]=2对应arr[2]=1,index[1]=0对应arr[0]=8,index[2]=3对应arr[3]=0,以此类推……很容易得到电话号码是18013820100。本题要求你编写一个程序,为任何一个电话号码生成这段代码——事实上,只要生成最前面两行就可以
- Redis缓存设计与性能优化
逍遥白亦
1.缓存设计在使用Redis场景中,最常见的问题就是缓存雪崩、缓存穿透和缓存击穿,后果都是由于各种情况导致大量请求直接访问DB,使得DB压力巨增,从而DB服务瘫痪,导致整体服务有问题。(参见新浪微博明星、大V的推送)1.1缓存雪崩缓存雪崩指的是大批量缓存在同一时间失效或者是缓存层支撑不住宕机,导致流量直接涌入数据库中,会造成数据库压力过大甚至挂掉。1.1.1解决方案把每个key的失效时间都加个随机
- Markdown基本语法的总结
H_jb23
Markdown基本语法总结标题:从一级到六级的标题XXXXXXXXXXXXXXXXXX无序列表:XXXXXXXXX有序排序列表:1、XXX2、XXX链接和图片:新浪微博[图片上传失败...(image-4d30d5-1517704756832)]引用:printfscanfdoubleintchar...粗体和斜体:普通的字体斜体粗体表格:dogbirdcatfoofoofoobarbarbar
- apicloud config配置
夏茵儿
Widget的名称。如:QQ、新浪微博、微信等(必选)Widget的简单描述信息(可选)Widget的作者信息(可选)
- 编码安全风险是什么,如何进行有效的防护
德迅云安全-文琪
安全
2011年6月28日晚20时左右,新浪微博突然爆发XSS,大批用户中招,被XSS攻击的用户点击恶意链接后并自动关注一位名为HELLOSAMY的用户,之后开始自动转发微博和私信好友来继续传播恶意地址。不少认证用户中招,也导致该XSS被更广泛地传播。状况持续至21时左右。在这期间共有3W多名微博用户受到攻击。根据分析,此XSS攻击事件其实是一个利用了新浪微博的一处漏洞进行的CSRF攻击。在软件开发过程
- 冯绍峰赵丽颖官宣结婚 ,微博瘫痪,微博技术专家如何应对?
top100case
技术案例分享微博瘫痪冯绍峰赵丽颖
今日上午10时左右,新浪微博推送了一条消息,赵丽颖冯绍峰官宣,晒出结婚证!小编立马点了进去,没想到微博(手机端)又打不开了。微博作为国内第一媒体,拥有超过3.6亿的月活用户,也是当前社会热点事件传播的最主要平台。本来明星出轨、宣传结婚等热点事件出来就会对微博服务器产生很大影响,甚至造成瘫痪。当年鹿晗和关晓彤恋情曝光致微博瘫痪,就有微博搜索架构师丁振凯在婚礼上还在修复bug,并成功登上自家热搜榜。2
- 为了新中国,请向我开炮
c592ef8896a6
为了新中国,请向我开炮节选:新浪微博中毉大夫文章回想起小时候看电影,战士被敌人包围了,战士为了中国的解放,向上级请示,向我开炮,可惜在今天无烟的战场上,我们也被层层的包围着,中国的崛起,中国的振兴,在国外有多国联合围堵,在国内也被层层设防围堵打压,上边也知道百姓的困境,才告知要理直气壮的学习中国传统文化,要做排头兵,要杀出一条血路出来。可是在今天的中国电视,纸媒有几人再看,网络平台遍地开花,已经主
- 名人也有生老病死
梦之荒原
早晨无意中浏览了手机uc推送的一条新闻,著名央视主持李咏去世了,当时想一定是假新闻,之后又翻看了微信公众号里文章,在澎湃新闻也有一条这样的消息,同为哈文微博发文:永失我爱。下午又在新浪微博官方也看到了新闻,其它新闻也都跟风而来。毫无疑问,这是事实了。印象最深的是李咏的春晚主持,当时总觉得那是一张马脸,外加长卷发,好似外国人,一个油腻的中年大叔形象,去年突然看到剪发形象,委实觉得是越来越帅,越来越年
- 开发者关心的那些事
圣子足道
ios游戏编程apple支付
我要在app里添加IAP,必须要注册自己的产品标识符(product identifiers)。产品标识符是什么?
产品标识符(Product Identifiers)是一串字符串,它用来识别你在应用内贩卖的每件商品。App Store用产品标识符来检索产品信息,标识符只能包含大小写字母(A-Z)、数字(0-9)、下划线(-)、以及圆点(.)。你可以任意排列这些元素,但我们建议你创建标识符时使用
- 负载均衡器技术Nginx和F5的优缺点对比
bijian1013
nginxF5
对于数据流量过大的网络中,往往单一设备无法承担,需要多台设备进行数据分流,而负载均衡器就是用来将数据分流到多台设备的一个转发器。
目前有许多不同的负载均衡技术用以满足不同的应用需求,如软/硬件负载均衡、本地/全局负载均衡、更高
- LeetCode[Math] - #9 Palindrome Number
Cwind
javaAlgorithm题解LeetCodeMath
原题链接:#9 Palindrome Number
要求:
判断一个整数是否是回文数,不要使用额外的存储空间
难度:简单
分析:
题目限制不允许使用额外的存储空间应指不允许使用O(n)的内存空间,O(1)的内存用于存储中间结果是可以接受的。于是考虑将该整型数反转,然后与原数字进行比较。
注:没有看到有关负数是否可以是回文数的明确结论,例如
- 画图板的基本实现
15700786134
画图板
要实现画图板的基本功能,除了在qq登陆界面中用到的组件和方法外,还需要添加鼠标监听器,和接口实现。
首先,需要显示一个JFrame界面:
public class DrameFrame extends JFrame { //显示
- linux的ps命令
被触发
linux
Linux中的ps命令是Process Status的缩写。ps命令用来列出系统中当前运行的那些进程。ps命令列出的是当前那些进程的快照,就是执行ps命令的那个时刻的那些进程,如果想要动态的显示进程信息,就可以使用top命令。
要对进程进行监测和控制,首先必须要了解当前进程的情况,也就是需要查看当前进程,而 ps 命令就是最基本同时也是非常强大的进程查看命令。使用该命令可以确定有哪些进程正在运行
- Android 音乐播放器 下一曲 连续跳几首歌
肆无忌惮_
android
最近在写安卓音乐播放器的时候遇到个问题。在MediaPlayer播放结束时会回调
player.setOnCompletionListener(new OnCompletionListener() {
@Override
public void onCompletion(MediaPlayer mp) {
mp.reset();
Log.i("H
- java导出txt文件的例子
知了ing
javaservlet
代码很简单就一个servlet,如下:
package com.eastcom.servlet;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.net.URLEncoder;
import java.sql.Connection;
import java.sql.Resu
- Scala stack试玩, 提高第三方依赖下载速度
矮蛋蛋
scalasbt
原文地址:
http://segmentfault.com/a/1190000002894524
sbt下载速度实在是惨不忍睹, 需要做些配置优化
下载typesafe离线包, 保存为ivy本地库
wget http://downloads.typesafe.com/typesafe-activator/1.3.4/typesafe-activator-1.3.4.zip
解压r
- phantomjs安装(linux,附带环境变量设置) ,以及casperjs安装。
alleni123
linuxspider
1. 首先从官网
http://phantomjs.org/下载phantomjs压缩包,解压缩到/root/phantomjs文件夹。
2. 安装依赖
sudo yum install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6
3. 配置环境变量
vi /etc/profil
- JAVA IO FileInputStream和FileOutputStream,字节流的打包输出
百合不是茶
java核心思想JAVA IO操作字节流
在程序设计语言中,数据的保存是基本,如果某程序语言不能保存数据那么该语言是不可能存在的,JAVA是当今最流行的面向对象设计语言之一,在保存数据中也有自己独特的一面,字节流和字符流
1,字节流是由字节构成的,字符流是由字符构成的 字节流和字符流都是继承的InputStream和OutPutStream ,java中两种最基本的就是字节流和字符流
类 FileInputStream
- Spring基础实例(依赖注入和控制反转)
bijian1013
spring
前提条件:在http://www.springsource.org/download网站上下载Spring框架,并将spring.jar、log4j-1.2.15.jar、commons-logging.jar加载至工程1.武器接口
package com.bijian.spring.base3;
public interface Weapon {
void kil
- HR看重的十大技能
bijian1013
提升能力HR成长
一个人掌握何种技能取决于他的兴趣、能力和聪明程度,也取决于他所能支配的资源以及制定的事业目标,拥有过硬技能的人有更多的工作机会。但是,由于经济发展前景不确定,掌握对你的事业有所帮助的技能显得尤为重要。以下是最受雇主欢迎的十种技能。 一、解决问题的能力 每天,我们都要在生活和工作中解决一些综合性的问题。那些能够发现问题、解决问题并迅速作出有效决
- 【Thrift一】Thrift编译安装
bit1129
thrift
什么是Thrift
The Apache Thrift software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and s
- 【Avro三】Hadoop MapReduce读写Avro文件
bit1129
mapreduce
Avro是Doug Cutting(此人绝对是神一般的存在)牵头开发的。 开发之初就是围绕着完善Hadoop生态系统的数据处理而开展的(使用Avro作为Hadoop MapReduce需要处理数据序列化和反序列化的场景),因此Hadoop MapReduce集成Avro也就是自然而然的事情。
这个例子是一个简单的Hadoop MapReduce读取Avro格式的源文件进行计数统计,然后将计算结果
- nginx定制500,502,503,504页面
ronin47
nginx 错误显示
server {
listen 80;
error_page 500/500.html;
error_page 502/502.html;
error_page 503/503.html;
error_page 504/504.html;
location /test {return502;}}
配置很简单,和配
- java-1.二叉查找树转为双向链表
bylijinnan
二叉查找树
import java.util.ArrayList;
import java.util.List;
public class BSTreeToLinkedList {
/*
把二元查找树转变成排序的双向链表
题目:
输入一棵二元查找树,将该二元查找树转换成一个排序的双向链表。
要求不能创建任何新的结点,只调整指针的指向。
10
/ \
6 14
/ \
- Netty源码学习-HTTP-tunnel
bylijinnan
javanetty
Netty关于HTTP tunnel的说明:
http://docs.jboss.org/netty/3.2/api/org/jboss/netty/channel/socket/http/package-summary.html#package_description
这个说明有点太简略了
一个完整的例子在这里:
https://github.com/bylijinnan
- JSONUtil.serialize(map)和JSON.toJSONString(map)的区别
coder_xpf
jqueryjsonmapval()
JSONUtil.serialize(map)和JSON.toJSONString(map)的区别
数据库查询出来的map有一个字段为空
通过System.out.println()输出 JSONUtil.serialize(map): {"one":"1","two":"nul
- Hibernate缓存总结
cuishikuan
开源sshjavawebhibernate缓存三大框架
一、为什么要用Hibernate缓存?
Hibernate是一个持久层框架,经常访问物理数据库。
为了降低应用程序对物理数据源访问的频次,从而提高应用程序的运行性能。
缓存内的数据是对物理数据源中的数据的复制,应用程序在运行时从缓存读写数据,在特定的时刻或事件会同步缓存和物理数据源的数据。
二、Hibernate缓存原理是怎样的?
Hibernate缓存包括两大类:Hib
- CentOs6
dalan_123
centos
首先su - 切换到root下面1、首先要先安装GCC GCC-C++ Openssl等以来模块:yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel2、再安装ncurses模块yum -y install ncurses-develyum install ncurses-devel3、下载Erang
- 10款用 jquery 实现滚动条至页面底端自动加载数据效果
dcj3sjt126com
JavaScript
无限滚动自动翻页可以说是web2.0时代的一项堪称伟大的技术,它让我们在浏览页面的时候只需要把滚动条拉到网页底部就能自动显示下一页的结果,改变了一直以来只能通过点击下一页来翻页这种常规做法。
无限滚动自动翻页技术的鼻祖是微博的先驱:推特(twitter),后来必应图片搜索、谷歌图片搜索、google reader、箱包批发网等纷纷抄袭了这一项技术,于是靠滚动浏览器滚动条
- ImageButton去边框&Button或者ImageButton的背景透明
dcj3sjt126com
imagebutton
在ImageButton中载入图片后,很多人会觉得有图片周围的白边会影响到美观,其实解决这个问题有两种方法
一种方法是将ImageButton的背景改为所需要的图片。如:android:background="@drawable/XXX"
第二种方法就是将ImageButton背景改为透明,这个方法更常用
在XML里;
<ImageBut
- JSP之c:foreach
eksliang
jspforearch
原文出自:http://www.cnblogs.com/draem0507/archive/2012/09/24/2699745.html
<c:forEach>标签用于通用数据循环,它有以下属性 属 性 描 述 是否必须 缺省值 items 进行循环的项目 否 无 begin 开始条件 否 0 end 结束条件 否 集合中的最后一个项目 step 步长 否 1
- Android实现主动连接蓝牙耳机
gqdy365
android
在Android程序中可以实现自动扫描蓝牙、配对蓝牙、建立数据通道。蓝牙分不同类型,这篇文字只讨论如何与蓝牙耳机连接。
大致可以分三步:
一、扫描蓝牙设备:
1、注册并监听广播:
BluetoothAdapter.ACTION_DISCOVERY_STARTED
BluetoothDevice.ACTION_FOUND
BluetoothAdapter.ACTION_DIS
- android学习轨迹之四:org.json.JSONException: No value for
hyz301
json
org.json.JSONException: No value for items
在JSON解析中会遇到一种错误,很常见的错误
06-21 12:19:08.714 2098-2127/com.jikexueyuan.secret I/System.out﹕ Result:{"status":1,"page":1,&
- 干货分享:从零开始学编程 系列汇总
justjavac
编程
程序员总爱重新发明轮子,于是做了要给轮子汇总。
从零开始写个编译器吧系列 (知乎专栏)
从零开始写一个简单的操作系统 (伯乐在线)
从零开始写JavaScript框架 (图灵社区)
从零开始写jQuery框架 (蓝色理想 )
从零开始nodejs系列文章 (粉丝日志)
从零开始编写网络游戏 
- jquery-autocomplete 使用手册
macroli
jqueryAjax脚本
jquery-autocomplete学习
一、用前必备
官方网站:http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
当前版本:1.1
需要JQuery版本:1.2.6
二、使用
<script src="./jquery-1.3.2.js" type="text/ja
- PLSQL-Developer或者Navicat等工具连接远程oracle数据库的详细配置以及数据库编码的修改
超声波
oracleplsql
在服务器上将Oracle安装好之后接下来要做的就是通过本地机器来远程连接服务器端的oracle数据库,常用的客户端连接工具就是PLSQL-Developer或者Navicat这些工具了。刚开始也是各种报错,什么TNS:no listener;TNS:lost connection;TNS:target hosts...花了一天的时间终于让PLSQL-Developer和Navicat等这些客户
- 数据仓库数据模型之:极限存储--历史拉链表
superlxw1234
极限存储数据仓库数据模型拉链历史表
在数据仓库的数据模型设计过程中,经常会遇到这样的需求:
1. 数据量比较大; 2. 表中的部分字段会被update,如用户的地址,产品的描述信息,订单的状态等等; 3. 需要查看某一个时间点或者时间段的历史快照信息,比如,查看某一个订单在历史某一个时间点的状态, 比如,查看某一个用户在过去某一段时间内,更新过几次等等; 4. 变化的比例和频率不是很大,比如,总共有10
- 10点睛Spring MVC4.1-全局异常处理
wiselyman
spring mvc
10.1 全局异常处理
使用@ControllerAdvice注解来实现全局异常处理;
使用@ControllerAdvice的属性缩小处理范围
10.2 演示
演示控制器
package com.wisely.web;
import org.springframework.stereotype.Controller;
import org.spring