- 20170326做有价值的事情
李荣强Justin
0.前言来Qunar两年了,收获和成长的地方很多很多,当然犯过的错误,做过的二逼事情也很多很多,觉得还是有必要写下来纪念纪念。PS:本文写于2017年3月26号,发布在我自己的同名公众号中,在这里重新发了一遍,一年后回看,感触还是挺多的。1.做有意义的需求我觉得最大的成长就是意识到要做最有价值的事情,做有意义的需求。很多时候我们做的项目或者需求,在技术人员的角度,一定是要用最牛逼的技术,写最优质的
- (zhuan) Recurrent Neural Network
a1424262219
人工智能sketch
RecurrentNeuralNetwork2016年07月01日DeeplearningDeeplearning字数:24235thisblogfrom:http://jxgu.cc/blog/recent-advances-in-RNN.htmlReferencesRobertDionneNeuralNetworkPaperNotesBaiscImprovements20170326Learn
- 街与人与狗与猫
陈怂客
20160925民大20170210镇江20170214镇江20170221镇江20170222镇江20170223镇江20170224镇江20170312北京20170323民大20170325民大20170326北京
- [莺歌燕舞]《爱的艺术》爱的实践学而思20170326
创造自我
“愿得一人心,白首不分离”,谁都希望有一个爱人能陪伴自己终老,尤其是刚结婚的时候都以为自己找到了那个人,但事实是现在离婚率超高!在爱里尝试占有对方的过程,就是慢慢失去对方的过程,很赞同,男人也好女人也好,对方都不是自己的私有物品,都需要有自己的空间,自己的自由,爱对方就应该让对方轻松快乐,不是占有,就像一把沙捏在手里,捏的越紧漏得越快!婚姻与爱情在期望值不同后就会有所不同,这让我想到一句话“恋爱是
- 《等》
阿芜
20170326安靜国足等了胜利31年,孙悟空等了唐僧500年,易小川等了玉漱2000年,司音等了墨渊7万年,夜华等了白浅三生三世,我等這一縷陽光,等了一個冬天。太陽說:人類是最不專一的動物,春天秋天的時候喜歡它,夏天的時候躲著它,冬天的時候盼著它。季節不一樣對它的態度也是反差很大。那是因為,它不明白,太陽與地球之間有一個合適的距離。這樣才會讓人覺得舒適。人與人之間也需要一個合適的距離。太近了會受
- 20170326反思总结
亮亮_412
今天上午睡到了11点,严重违背了自己的正在追求的习惯,人原本就是这样,惰性太大。需要再次升级自己的系统,提高系统的健壮性及容错能力;下周预告:什么才是人生的头等大事?我个人认为对于提升自己的能力,升级自己的系统,才是头等大事;为什么要提升能力、升级系统?为了实现财富自由?还是为了什么?我们到底追求的应该是什么?人生短短数十年,我们应该做什么更有意义的事情?成为超级个体?还是做到更好的做自己?是为了
- 20170326今日晨读+今日话题+今日感悟
晨光花开
今日晨读1、参与感大学时,班上进行竞选班级管理人员的投票。从小就没有当过班级委员的我,在权衡之下,做出竞选副班长的决定。起初,因为害怕和紧张,所以说话小声,且表达不清楚自身竞选的优势,最终的结果显而易见,是班上另外一名同学竞选成功副班长的职位。而因为参与了这次竞选,我对于本次竞选的结果相当心服口服。因为参与了本次竞选,让我觉得我是这个班级的一员,并在以后的日子里团结学生,尊敬老师,并认真学习有关知
- 让孩子有方向的工作
筱万
20170326星期日晴泉州原创日记第24篇和孩子和睦相处身心感觉很好。早上带孩子上模特和拉丁课,这个春季希望能有一两支成品的拉丁舞蹈。在孩子上课的同时我去上了颈肩调理的瑜伽课。感觉整个人安静下来宁静舒服。下午宝贝的功课情况还是不错的,之前我放手让孩子安排自己周末,希望她作业早点完成,结果啥都没做,只知道看电视。本来说好的放手就这样夭折了。下午我告知她需要完成哪些事,几点前完成,剩下的就是让她自行
- 20170326.周末,休息严重,但还是写写吧
律人
周日晚上的十点,今天的一天都是在家里休息睡觉,早上十一点才起来,起来吃饭等一切乱七八糟的活动,然后继续午睡到晚上七点,到了八点才感觉到时间浪费严重,然后开始锻炼身体,学英语,写作。其实周末应该会有很多的事情需要完成,但是这样的作息一开始就全部的没有完成任何的任务,甚至连写作也才刚开始写。某宝在为了33万去美国各种电话,有理想的人,也算是一种对生活的追求。周末对我来说就是一个时间黑洞,需要我自己去整
- 下好了一个小目标(20170326)
Wisconsin0607
昨天,老妈想了很久的,将金器以旧换新的事情,终于办完了。也第一次见识到了--“真金不怕火炼”。由此句想来,古人云,老人说……的一些谚语应该是有根可循的。老妈虽然性急,但我很佩服的是,她非常迫切地想把一件未完成地事尽快完成。而我的性格,却像了老爸,不慌不忙,顺其自然,拖得无可救药。最近老妈都抱怨我,怎么不看书了?怎么又捧着手机了?我也挺郁闷的……就在我拿着《网络工程师》上床的那一刻,我明白了:老妈在
- 小妞成长记录
Jessica_Love
20170115我爱女巫的高跟鞋背影20170311图片发自App20170325风车20170326迎风而立表情20170421你是人间四月天爱20170429周末一家人公园里搭帐篷晒太阳拍球公园20170430带着小朋友学游泳看看,这是准备游泳还是跳舞?准备游泳20170501五一,欢乐谷游客如织小家伙,注意你的肚子跳跃地安安20170517小家伙敬礼应该哪只手?帅气安安20170604六一虽
- 打卡 | 20170326 凯文·凯利:未来20年的技术趋势(思维导图整理)
米拉之落
今天阅读来自公众号混沌研习社的文章,关于凯文·凯利3月25日在混沌研习社的课程内容简要版的课程笔记。了解凯文·凯利提出的未来20年的趋势和方向,由以下12个关键词组成:形成(becoming)所有的东西都在不断升级知化(Cognifying)与人工智能的合作表现决定你的薪酬屏读(Screening)任何一种平面都可以成为屏幕流动(Flowing)你做的所有生意,都是数据重混(Remixing)大多
- 如何看待“比赛”20170326
红云工坊
今天带学生参加在中国科技馆的讲故事比赛,有的小朋友发挥得很好,有的小朋友一时紧张忘了词。每一次比赛,都是对自我认知的一个提高,也是对家长和老师的一个考验。每次比赛都是一次成长。比赛前,积极准备。下十分的功夫,有的小朋友很用功,把稿子背得滚瓜烂熟,有的小朋友貌似很用功,看了很多遍稿子,但没有走心,时间用了很多,没记住。走心跟没走心肯定不一样。比赛中,轻松应对。看得过重,容易紧张,影响水平的发挥,看得
- 20170326写作训练
泛泛之辈GO
咖喱对于《给支付宝一个场景,它能再造一个阿里吗?》的分析一、文章结构拆解到位,从支付宝的症结和解决办法、谈到场景战争的格局、讨论支付宝做陌生社交的可能性、提出新交易秩序建立可能是未来,新形态交易秩序(围绕交易的沟通)更值得支付宝去做。二、写作风格分析具体详实;..........总结:坚持两周的写作训练,本周明显感觉自己很吃力,跟不上大伙的节奏。本身就对文章的理解存在障碍,加上由于时间安排不合理,
- 元认知学习课(三)20170326
蓝色孤枫
写东西其实是让自己在所学的东西内化整理的过程,分享则是可以得到不同的意见来帮自己修正这样的行为。通过定向的输出,来快速的改变自己的学习状态。自学模型:实作型初学指南——做出小项目——重复做三遍学习并不需要那些看似高大上的书籍,而一本薄薄的实用手册就可以开始,通过一些组块模型拼接处项目的初始样貌。然后重复做来强化自己的认知能力,理解其中的原理。记录错误信息:记录错误信息——不再犯同样的错误——加速前
- 20170326 主日证道 人生的真福
阿姣_9aa4
证道经文:诗篇第一篇不从恶人的计谋,不站罪人的道路,不坐亵慢人的座位,惟喜爱耶和华的律法,昼夜思想,这人便为有福!他要像一棵树栽在溪水旁,按时候结果子,叶子也不枯干。凡他所做的尽都顺利。恶人并不是这样,乃像糠秕被风吹散。因此,当审判的时候、恶人必站立不住;罪人在义人的会中也是如此。因为耶和华知道义人的道路;恶人的道路却必灭亡。(诗篇1:1-6和合本)参:这律法书不可离开你的口,总要昼夜思想,好使你
- 20170326STL08_STL_SGI_config.h
蒲公英24
Postlsgi
config.h:1:sgi是一个公司的简称,有一个操作系统是SGIunix?,商业化的,很难接触到。2:前端部分是版权声明,说明了可以做什么,不可做什么。3:下面一大段注释是解释了整个文档做的事。下面代码基本就没有注释了(这是一个比较老的习惯)。4:SGISTL里面会来检测这与编译器相关的宏是否被定义,从而得出编译器是否支持这些特性,根据这些情况来控制代码,确保跨平台不出错。//Flags://
- 黎明前的黑暗
静宇蓝歆
20170326想到今天下午就要实战演练,我既期待,可内心又是莫名地抗拒。想到自己又将赤裸裸地开始被分析,内心的不安全感又汹涌而来。现在是凌晨4:40!在昨天晚上课程结束前,秋恺老师给我们布置了作业,让我们“回家”画自己想了解的人的信息表,想了解多少就画多少,没有限制。我很贪心,想了解更多家人和我之间的问题。我觉得,要解决问题,首先得从原生家庭开始。我觉得解决了原生家庭的问题,就可以解决大部分的问
- 20170326《文魁大脑读书会》1/13/52 妈祖林默娘
新余宝贝
一开始我比较佩服林默娘,因为她既能懂仙法,还能受到大家的尊重,而且她天性很善良,跟她父母一样一心向佛。因为一心向佛,默娘就拜了一个道人为师傅,学了一年仙法和观天象,技术就比她师傅还好了。那时候我在想,世界上真的有道人会有仙法吗?我不是很相信。但现在回忆起来呢,我想,如果真的有道法仙法的话,我倒想妈祖林默娘或者那个道人满足我两个愿望,第一个愿望呢是,爸爸明天能不用去开会,第二个愿望呢是天天都是双休日
- 第183天,20170326
聂一一
周末匆匆,让自己无暇翻起篇章。想明白了,对于身体而言,落脚只是一个居所,内心才是最重要的寻找。既然落脚哪里都可以,又何必在乎不能沉于心呢?在生活的一段一段时间中,分割开来,慢慢游走,让自己有一种内心的满足,以及充实的过程。我在将规律的规律化,耗费的投入精力,以此获得身心上的成长。每个人都需要时间的磨砺,回看时觉得时间过的太快,展望时又想跳过苦逼的日子,可事实上,正因为经历的苦逼,才使得回看更加美好
- 20170326 听课总结 《怎样做自己的教练?》
jan_ney
--让你轻松实现每一个小目标前几天在一块听听到了《怎样做自己的教练》这一节,简单做个记录:Step1原文:听课笔记:Why为什么要进行自我教练?(激发意愿比教别人怎么做更重要)1、对你来说,这世界上最重要的人有哪些?-最重要的人是自己写下你认为最重要的十个人?(通常会忽略自己或把自己放在靠后的位置)这世界上对我最重要的人,永远是我自己,当把能量放在别人身上,想要去改变别人很难,而把能量放在自己的身
- 20170326 ABAP调用外部webservice 问题
anchangong3418
1.SE80创建企业服务:代理生成:出现错误库处理程序中出现例外错误的值:未知类型参考ns1:ArrayOfMLMatnrResource尝试:一、测试本地文件;---无效1.将网址链接(JAVA发布的webservice通常以?wsdl结尾),另存到本地,保存为xml文件2.修改xml文件,删除下面内容,删除后保存………….3.SE80创建webserviceproxy时,就Selectsour
- 20170326 ABAP调用外部webservice实例
anchangong3418
调用外部webservice使用Tcode;SICFSPROXSET设置创建proxy的权限SE80SOAMANAGER一、目的:调用外部SRM系统的webservice:http://10.4.64.19:8090/srm/service/IMatnrResourceService?wsdl:这个是我们这边测试系统的地址8090是端口号10.4.64.19是服务器地址二、实施**前提:外部提供可
- 毕设学习笔记01-threejs导入模型-20170326
茂茂0311
毕设的时候,刚开始找到了一个大森林场景,想要导出给threejs用,于是查了一下怎么用,以下是碰到的一些问题。1.从unity中导出模型unity有多款插件可以导出模型为各种格式,例如:SceneOBJExporter:https://www.assetstore.unity3d.com/en/#!/content/22250UnitySceneWebExporter:https://github
- 春夏之交接 杂感 20170326
Joan一忆稀薄凉
恍惚间觉得自己已经看到了春天悄然远去的背影和夏日翩然而来的裙角。Howtimealwayslikeanarrowflies.如果我要长得像阳光下的影子一般脚长身细就好了。ifonly啊~Howbeautifulthemorninglightis.晨起计划必须要即日提上日程了。说真的那什么什么考试你要是这次再耍我,我就……哎呀,我也不能咋的你不要太过分!!图片发自App图片发自App图片发自App图
- 20170326人生头等大事
回南少年
人生的大事有很多,家庭,事业,健康,快乐,自我成长,人生价值。人生的头等大事是什么呢,哪一件事是人生最重要的一件事呢。对不同人来说,可能头等大事不一样,对一个乞丐来说可能温饱就是人生的头等大事,对一个盲人来说,可能健康的眼睛就是头等大事,对于一个生活落魄的人来说,可能组建一个幸福的家庭就是头等大事。头等大事因人而异,排除掉个体的差异,有没有一个客观的最重要的事呢。人生是指一个人完整的一生,人生的头
- 【糖果家·幸福笔记】转会后总结
教育者杨敬
糖果家20170326新梦想嘉宝贝家长会总结【杨丽】1.新梦想嘉宝贝幼儿园一贯践行新梦想教育集团家的文化爱的文化!2.新梦想嘉宝贝幼儿园苦修内功,园长利用自身所长帮助教师在专业素养方面快速成长!3.新梦想嘉宝贝的团队行事低调,专业扎实,肯付出肯突破,而且拥有一群有思想肯上进的后备力量!教育就是一群人影响一群人伟大事业!4.新梦想嘉宝贝充分利用资源,以专家引路的方式让家长们快速成长,家园达成步调一致
- 【蜕变新生】学习力践行D11
高汝鑫
【蜕变新生】20170326学习力践行D11:今天上午因为家务各种忙碌,下午跟姥姥视频的时候,宝宝无聊,自己爬上飘窗拿书看,看了我爱爸爸妈妈系列四本,我就是这样爱你两本,小熊宝宝EQ绘本大概七八本,都是看过很多遍的书,就是那样从头翻到尾,也不知道看了些什么,不过看的时间挺久的。晚上我背古诗,问刘十九,听她在那里念叨,红泥小火炉。临睡前继续动作游戏手指谣那一本,玩了里面的手指游戏,手指还很不协调,但
- pandas垃圾数据的处理
heqinglin8
python
#df.dropna()df.fillna()df.isnull()np.any(df.isnull())==Trueimportnumpyasnpimportpandasaspddates=pd.date_range('20170326',periods=6)df=pd.DataFrame(np.arange(24).reshape(6,4),index=dates,columns=['A','
- 20170326今天好事
LiHongxi
1今天早晨参加了李参老师发起组织的周检视的活动,重新计算和统计出了一周以来的习惯方面的基本的数据,很好地进行时间管理系统的转型2早晨在静坐深呼吸之后,去小区在跑步,减轻了疲劳,逐渐地找到了一种很舒服的跑步的节奏,锻炼不是为了受伤而是为了提升自己的能力!3今天我整理了自己的时间管理的专用橱柜,简洁清爽了许多,感恩帮助我的德国的友人和朋友们!4今天完成周检视和下周的计划,坚持就是最好的,一定要相信自己
- 对于规范和实现,你会混淆吗?
yangshangchuan
HotSpot
昨晚和朋友聊天,喝了点咖啡,由于我经常喝茶,很长时间没喝咖啡了,所以失眠了,于是起床读JVM规范,读完后在朋友圈发了一条信息:
JVM Run-Time Data Areas:The Java Virtual Machine defines various run-time data areas that are used during execution of a program. So
- android 网络
百合不是茶
网络
android的网络编程和java的一样没什么好分析的都是一些死的照着写就可以了,所以记录下来 方便查找 , 服务器使用的是TomCat
服务器代码; servlet的使用需要在xml中注册
package servlet;
import java.io.IOException;
import java.util.Arr
- [读书笔记]读法拉第传
comsci
读书笔记
1831年的时候,一年可以赚到1000英镑的人..应该很少的...
要成为一个科学家,没有足够的资金支持,很多实验都无法完成
但是当钱赚够了以后....就不能够一直在商业和市场中徘徊......
- 随机数的产生
沐刃青蛟
随机数
c++中阐述随机数的方法有两种:
一是产生假随机数(不管操作多少次,所产生的数都不会改变)
这类随机数是使用了默认的种子值产生的,所以每次都是一样的。
//默认种子
for (int i = 0; i < 5; i++)
{
cout<<
- PHP检测函数所在的文件名
IT独行者
PHP函数
很简单的功能,用到PHP中的反射机制,具体使用的是ReflectionFunction类,可以获取指定函数所在PHP脚本中的具体位置。 创建引用脚本。
代码:
[php]
view plain
copy
// Filename: functions.php
<?php&nbs
- 银行各系统功能简介
文强chu
金融
银行各系统功能简介 业务系统 核心业务系统 业务功能包括:总账管理、卡系统管理、客户信息管理、额度控管、存款、贷款、资金业务、国际结算、支付结算、对外接口等 清分清算系统 以清算日期为准,将账务类交易、非账务类交易的手续费、代理费、网络服务费等相关费用,按费用类型计算应收、应付金额,经过清算人员确认后上送核心系统完成结算的过程 国际结算系
- Python学习1(pip django 安装以及第一个project)
小桔子
pythondjangopip
最近开始学习python,要安装个pip的工具。听说这个工具很强大,安装了它,在安装第三方工具的话so easy!然后也下载了,按照别人给的教程开始安装,奶奶的怎么也安装不上!
第一步:官方下载pip-1.5.6.tar.gz, https://pypi.python.org/pypi/pip easy!
第二部:解压这个压缩文件,会看到一个setup.p
- php 数组
aichenglong
PHP排序数组循环多维数组
1 php中的创建数组
$product = array('tires','oil','spark');//array()实际上是语言结构而不 是函数
2 如果需要创建一个升序的排列的数字保存在一个数组中,可以使用range()函数来自动创建数组
$numbers=range(1,10)//1 2 3 4 5 6 7 8 9 10
$numbers=range(1,10,
- 安装python2.7
AILIKES
python
安装python2.7
1、下载可从 http://www.python.org/进行下载#wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz
2、复制解压
#mkdir -p /opt/usr/python
#cp /opt/soft/Python-2
- java异常的处理探讨
百合不是茶
JAVA异常
//java异常
/*
1,了解java 中的异常处理机制,有三种操作
a,声明异常
b,抛出异常
c,捕获异常
2,学会使用try-catch-finally来处理异常
3,学会如何声明异常和抛出异常
4,学会创建自己的异常
*/
//2,学会使用try-catch-finally来处理异常
- getElementsByName实例
bijian1013
element
实例1:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/x
- 探索JUnit4扩展:Runner
bijian1013
java单元测试JUnit
参加敏捷培训时,教练提到Junit4的Runner和Rule,于是特上网查一下,发现很多都讲的太理论,或者是举的例子实在是太牵强。多搜索了几下,搜索到两篇我觉得写的非常好的文章。
文章地址:http://www.blogjava.net/jiangshachina/archive/20
- [MongoDB学习笔记二]MongoDB副本集
bit1129
mongodb
1. 副本集的特性
1)一台主服务器(Primary),多台从服务器(Secondary)
2)Primary挂了之后,从服务器自动完成从它们之中选举一台服务器作为主服务器,继续工作,这就解决了单点故障,因此,在这种情况下,MongoDB集群能够继续工作
3)挂了的主服务器恢复到集群中只能以Secondary服务器的角色加入进来
2
- 【Spark八十一】Hive in the spark assembly
bit1129
assembly
Spark SQL supports most commonly used features of HiveQL. However, different HiveQL statements are executed in different manners:
1. DDL statements (e.g. CREATE TABLE, DROP TABLE, etc.)
- Nginx问题定位之监控进程异常退出
ronin47
nginx在运行过程中是否稳定,是否有异常退出过?这里总结几项平时会用到的小技巧。
1. 在error.log中查看是否有signal项,如果有,看看signal是多少。
比如,这是一个异常退出的情况:
$grep signal error.log
2012/12/24 16:39:56 [alert] 13661#0: worker process 13666 exited on s
- No grammar constraints (DTD or XML schema).....两种解决方法
byalias
xml
方法一:常用方法 关闭XML验证
工具栏:windows => preferences => xml => xml files => validation => Indicate when no grammar is specified:选择Ignore即可。
方法二:(个人推荐)
添加 内容如下
<?xml version=
- Netty源码学习-DefaultChannelPipeline
bylijinnan
netty
package com.ljn.channel;
/**
* ChannelPipeline采用的是Intercepting Filter 模式
* 但由于用到两个双向链表和内部类,这个模式看起来不是那么明显,需要仔细查看调用过程才发现
*
* 下面对ChannelPipeline作一个模拟,只模拟关键代码:
*/
public class Pipeline {
- MYSQL数据库常用备份及恢复语句
chicony
mysql
备份MySQL数据库的命令,可以加选不同的参数选项来实现不同格式的要求。
mysqldump -h主机 -u用户名 -p密码 数据库名 > 文件
备份MySQL数据库为带删除表的格式,能够让该备份覆盖已有数据库而不需要手动删除原有数据库。
mysqldump -–add-drop-table -uusername -ppassword databasename > ba
- 小白谈谈云计算--基于Google三大论文
CrazyMizzz
Google云计算GFS
之前在没有接触到云计算之前,只是对云计算有一点点模糊的概念,觉得这是一个很高大上的东西,似乎离我们大一的还很远。后来有机会上了一节云计算的普及课程吧,并且在之前的一周里拜读了谷歌三大论文。不敢说理解,至少囫囵吞枣啃下了一大堆看不明白的理论。现在就简单聊聊我对于云计算的了解。
我先说说GFS
&n
- hadoop 平衡空间设置方法
daizj
hadoopbalancer
在hdfs-site.xml中增加设置balance的带宽,默认只有1M:
<property>
<name>dfs.balance.bandwidthPerSec</name>
<value>10485760</value>
<description&g
- Eclipse程序员要掌握的常用快捷键
dcj3sjt126com
编程
判断一个人的编程水平,就看他用键盘多,还是鼠标多。用键盘一是为了输入代码(当然了,也包括注释),再有就是熟练使用快捷键。 曾有人在豆瓣评
《卓有成效的程序员》:“人有多大懒,才有多大闲”。之前我整理了一个
程序员图书列表,目的也就是通过读书,让程序员变懒。 程序员作为特殊的群体,有的人可以这么懒,懒到事情都交给机器去做,而有的人又可以那么勤奋,每天都孜孜不倦得
- Android学习之路
dcj3sjt126com
Android学习
转自:http://blog.csdn.net/ryantang03/article/details/6901459
以前有J2EE基础,接触JAVA也有两三年的时间了,上手Android并不困难,思维上稍微转变一下就可以很快适应。以前做的都是WEB项目,现今体验移动终端项目,让我越来越觉得移动互联网应用是未来的主宰。
下面说说我学习Android的感受,我学Android首先是看MARS的视
- java 遍历Map的四种方法
eksliang
javaHashMapjava 遍历Map的四种方法
转载请出自出处:
http://eksliang.iteye.com/blog/2059996
package com.ickes;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
/**
* 遍历Map的四种方式
- 【精典】数据库相关相关
gengzg
数据库
package C3P0;
import java.sql.Connection;
import java.sql.SQLException;
import java.beans.PropertyVetoException;
import com.mchange.v2.c3p0.ComboPooledDataSource;
public class DBPool{
- 自动补全
huyana_town
自动补全
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml&quo
- jquery在线预览PDF文件,打开PDF文件
天梯梦
jquery
最主要的是使用到了一个jquery的插件jquery.media.js,使用这个插件就很容易实现了。
核心代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.
- ViewPager刷新单个页面的方法
lovelease
androidviewpagertag刷新
使用ViewPager做滑动切换图片的效果时,如果图片是从网络下载的,那么再子线程中下载完图片时我们会使用handler通知UI线程,然后UI线程就可以调用mViewPager.getAdapter().notifyDataSetChanged()进行页面的刷新,但是viewpager不同于listview,你会发现单纯的调用notifyDataSetChanged()并不能刷新页面
- 利用按位取反(~)从复合枚举值里清除枚举值
草料场
enum
以 C# 中的 System.Drawing.FontStyle 为例。
如果需要同时有多种效果,
如:“粗体”和“下划线”的效果,可以用按位或(|)
FontStyle style = FontStyle.Bold | FontStyle.Underline;
如果需要去除 style 里的某一种效果,
- Linux系统新手学习的11点建议
刘星宇
编程工作linux脚本
随着Linux应用的扩展许多朋友开始接触Linux,根据学习Windwos的经验往往有一些茫然的感觉:不知从何处开始学起。这里介绍学习Linux的一些建议。
一、从基础开始:常常有些朋友在Linux论坛问一些问题,不过,其中大多数的问题都是很基础的。例如:为什么我使用一个命令的时候,系统告诉我找不到该目录,我要如何限制使用者的权限等问题,这些问题其实都不是很难的,只要了解了 Linu
- hibernate dao层应用之HibernateDaoSupport二次封装
wangzhezichuan
DAOHibernate
/**
* <p>方法描述:sql语句查询 返回List<Class> </p>
* <p>方法备注: Class 只能是自定义类 </p>
* @param calzz
* @param sql
* @return
* <p>创建人:王川</p>
* <p>创建时间:Jul