- 五月记录
胡红梅River
20180510图片发自App图片发自App1、冥想:在车上冥想顺便小憩一会儿,冥想的中途真的睡着了。今天主题是初心:放空自己,带着接纳的姿态。像孩子一样开心;像第一次做饭一样做料理;像游客一样观察周边的事物。2、Skintreatment面膜+防晒3、吴晓波频道今天说巴菲特在投资大会里回答:错过亚马逊(因为他觉得是奇迹,谨慎观看,和价值投资不吻合所以不投);加密货币(比特币)不产生价值,老鼠药做
- iOS组件化__03
LD_左岸
1.组件化的资源处理1.1使用podlibcreate创建的组件工程showinFinder,有个Assets文件夹,把图片放这Snip20180507_1.png1.2修改spec文件Snip20180507_2.png1.3在组件中使用组件内的图片资源Snip20180507_10.png1.4组件中的xib资源1.4.1改spec文件Snip20180510_2.png1.4.2打标签推送到
- 丰盛日记03 20180510
Vipassana
20180510江如圭Su.c.【丰盛日记】0031、[感受自我内在丰盛]爱人很多时候在外地,回来的时候我们都非常珍惜两人相处的时候。我们俩爱好口味习惯差异挺大的,他回来,他就是我的王,所有的安排都是以他为主。我们出行他一定紧牵我的手,暖柔的大手很有安全感。有时两人闹一点小矛盾,互相冷战几分钟,他的手还是会不自禁地就牵过来。。哈哈哈哈。。他常很深情的跟我说:你是我的女神~我也常常跟他说:你是我的神
- 2018-05-10
杨凤娟_5e5c
137累积法【子扬妈妈】第23天【20180510】读经内容1.易经周易下经33___34卦2.大学中庸第2章节3.少年儿童诗词启蒙91---100首4.成语接龙第4节。读经人:妈妈、宝宝。这几天没有正常读经,断断续续的。奶奶病重,家里的人多。今天接玩宝宝回到家,就开始读经了。
- 20180510
YF学习集锦
细节:小习惯成就大前程细节之细,在于习惯。小小的好习惯,千金不换;良好的习惯应该成为每个人的成功秘诀。凡事复核,养成一个好习惯。比如,我们开票/写报销单时养成复核的良好习惯,那么我们出错的几率将会降低;我们在录入信息或数据时养成复核的良好习惯,那么我们修改的次数将会减少;我们在收款的时候养成复核的良好习惯,那么我们将会降低收到假钱的可能。以上这些例子,是我们能力范围外的吗?不是,这是我们不够细心又
- 刘小明日记025-20180510
刘小明攻城狮
01今日工作总结配合电工铺设化油设备电缆、配电柜安装漏保及接地线;继续进行磨粉生产;到夏庄王俊利处、河崖鞋底厂回访样品使用情况、回访平度环球输送带公司样品检测情况;对细磨4号机,6号机进行维修,调换磨盘后开机生产。今日产能400kg。4号机运行顺畅,4,5,6号机测温不准;整理集装箱,并对物品分类摆放;化油罐遮雨棚进行结构搭建;陪同投资机构到访;02明日工作计划钢丝分离机堵铁丝,初步判定因为返料铁
- 乐pro3 android8.0,乐视Pro3 安卓7.1.2 魅族Flyme6刷机包 最新6.8.3.20R紫火版 于20180510更新...
职景
乐pro3android8.0
本包是乐视X720(乐Pro3)公开版适配版,属于安卓7.1.2系列Flyme6.8.3.20R版本,是魅族全新制作的一个版本,更直接的内容设计,更全面的安全保护,更强大的智能思维引擎。2018年2月10日更新的版本开始采用安卓7.1.2,与以前的版本有区别,相当于重新制作的版本,BUG可能相对安卓6.0制作版来说多一点。Flyme包大约一周更新一次,经常用的可以多关注一下这个帖子,刷机之前请删除
- ACE家庭教育小微课20180510:【亲子教育】爸妈需警惕:你们身体和情绪的垃圾也会流入孩子的身体里!
ACE教育为国之未来
有人说:“如果父母关系不好,或者家里气氛急躁、慌乱的,这些对小孩子的体质都会有影响,容易感冒、发烧、睡觉不安宁,已经生病的容易加重,治起来也不顺利。”现代人很少和自然环境接触,在人造的购物中心、娱乐中心驰骋畋猎也会有爽的感觉,但是可能更容易令人发狂。想要孩子身心健康,需要让孩子能慢慢地和这些东西保持可以调节的距离。一个被太多信息扰乱的爸爸和一个身体出现阻滞的孩子我的好朋友,他儿子四岁,身体一直不是
- React Native 项目过程问题
Snoopy008
一、Debug时在Chrome显示“CachedBundles”这个问题是由于浏览器缓存问题引起的,只需要在Chrome清除缓存
[email protected]二、Debug时Realm报出“Failedtoloadcreate_session”IMG_0042.PNG这个问题是跨域请求引起的,有两种解决方式1、在Chrome退出的情况下直接在终端输入open-aGoogle\Ch
- 20180510-什么重要,什么更重要
e237262360d2
李笑来这样说过,价值观就是你认为什么重要,什么更重要。针对一个事情,每个人的看法不一样,有些人认为把项目按时完成,给老板一个好的交代最重要,而有些人尤其在意这事到底是他做还是我做,纠结在这,从而在老板看来,不顾大局,导致项目中断。这观点的不一样,导致了领导对你的看法不一样,导致了结局的不一样。不要让领导觉得你更看重分工,把责任往外推,而不是终点把这个项目推前推进。不得重点,就很麻烦。客户端舌头设别
- 20180510
春雨_373c
记录一下青岛之行的点滴,8号8点40开船,坐了7个小时的船到达烟台,到烟台已是下午3点半准点到达。下了船打车去烟台南,花了50块钱,到烟台南买了去青岛的车,路上的时间还比较紧凑,4点半到烟台南,下了车去买了5点零几分的动车票去的青岛,从青岛下车已是6点40多,去老妈疙瘩汤吃饭,吃饭好饿啊,吃了好多,吃完饭在朋友家住的,我订的酒店好远啊,放弃了。流水账似的,在朋友家住了一晚,第二天出去溜达又找了一个
- 20180510共读第十四周第四天
荣成二实中
下班了,还没发链接,是不是有的人又忘了,是不是今天又蹭过去了,是不是又可以抓小辫子了?哈哈,可惜的是,我又想起来了!
- 日记+20180510
坚持_c8b9
今天上午应聘笔试,中午,班级里安静的很,只有几个吃鸡的小伙伴小声交流,其它人在睡觉,可我心里依旧慌的很。我不明白为什么,我一个已经有了offer的人。算算上一次打通我对象电话已经是18天以前了,可能我真的有些愚钝吧,还有7天是我们一周年纪念,我也不知道送她什么礼物好,距离四级考试还有36天,想想更心塞了。我想亚信的offer是本世纪最好的信息了。在我看来,她第一,赚钱第二,其它都靠后站。可她不理我
- 【七月未央】20180510学习力践行D311
七妈_haiyan
【七月未央】20180510学习力践行D3111.阅读:古诗:听了我唱录的《咏柳》和《春晓》,复习了《村居》,新增的《大林寺桃花》,可以接出每一句的最后三个字。绘本:词汇训练(第一次有模有样地指着书里面的字照着念爸爸妈妈,爷爷奶奶。看到书里的宝宝哭,主动拍着宝宝说要安慰宝宝。现在只要家里有人说哪里疼,他就主动跑上前去要求安慰别人。自己不舒服了,也会要求安慰,真是萌萌哒。2.唱歌:今天会唱完整地歌了
- 投射20180510
程玉娥
投射今天是美好的一天!儿子上课能勤于思考!投射儿子多做习题广开思路,无论文综还是理综均能整体提高!投射儿子在校爱老师爱同学!投射儿子考上黄石二中!投射女儿找到适合她的工作!投射女儿走上社会后遇见贵人相助!投射女儿遇见义人,不遇见恶人!投射老公心情好,脾气好,早日招到员工!投射我一天心态平和,做事一丝不苟!投射我手中的工作能顺利完成!投射哥哥有时间去参加男士营!投璇子婚姻幸福!投射父母身体健康,和睦
- 忆……
桐江幽居
【七绝:首句平起入韵】忆……文/君子剑兰20180510春光熠熠慢渐离,夏日炎炎却未迟。试问君心何处去,相思又忆旧年时。
- 2018-06-08
麻红英
第384期乐观组日期:2018年6月7日姓名:麻红英公司:吉林省龙都广告有限公司【日精进打卡第29天】【知~学习】无【经典名句】让爱传递!二、齐家:(对家庭和家人)无三、建功:(对工作)1.全力完成5月份工资计算{积善}:无【省~觉悟】感性的烦恼又来了【感谢】无【发愿】每日进步一点点一件事,一群人,一辈子,一起走,在一起,飞更远。【打卡始于20180510,持续打卡志2019年5月9日】
- 20180510 今日思考 快乐的成本
逄格亮
跟一个有钱的朋友交流,发现他居然开心不起来,我问起你为何这么不开心,他说老婆最近又嚷着换房,我说你不是住豪宅了吗,为何还要换,他说邻居都已经住上别墅了。。。。。欲望这个东西很有趣,他给自己带来的感觉是两个极端:快乐和痛苦满足欲望就是快乐,满足不了就是不爽和痛苦。之前就思考过,除去我们生存所需的基础资源外,我们其他资源获得的动力其实跟生存是无关的,而是后天形成的非生存欲望,即:我们现在大部分欲望是人
- KETTLE-从ftp上下载csv文件插入到数据库
zxj19880502
数据库servlet大数据数据仓库
使用kettle从另一台服务器上的ftp上下载txt文件到本地然后将数据插入到数据库中ftp的目录是动态的每天都会生成一个时间目录如20180510文件就放在这下面我们文件名是不变的所以整个kjb的思路就是先获取动态时间作为变量在ftp组件中使用下载到本地后清空表(我们是全量导入所以清空)然后再导入数据总图这是获取ftp路径的ktr也就是为了获取动态时间的目录这是将txt数据输入到数据库中的ktr
- 20180510临近缺口
教你做趋势
今天大盘在外围股市普遍上涨的带动下,两市大盘小幅高开,随后中国石油、石化拉升带动主板最高上攻到3176点附近,但市场热点一直集中在原油价格上涨受益的石油和煤炭板块,连新能源都没有被拉起,说明场外资金参与意愿不强,创业板冲高以后一路走弱,率先回补了早盘向上的缺口,带动中小板、深市、沪市纷纷回落补缺,下午2点以后,券商突然拉升,大盘逐步走强,最终,沪市以上涨15个点报收,两市62只个股涨停,2只个股跌
- 2018-05-11 configure-caffe.sh-20180510
七点水Plus
configure-caffe.sh-20180510CUDA9.1cuDNN7.1.3OpenCV3.3.0Python2.7Pleaseuncommenteachlineofthescriptforsinglestepruntomakesurenoerror.#!/bin/bash#addvariablesi1=0if["$1"];theni1=$1fi#addfunctionsfunctio
- Golang调用阿里云CDN刷新缓存
一个运维小青年
go语言专栏golang阿里云缓存
Golang调用阿里云-SDK-CDN刷新缓存参考官网文档https://next.api.aliyun.com/api/Cdn/直接上源代码//Thisfileisauto-generated,don'teditit.Thanks.packagemainimport("fmt"cdn"github.com/alibabacloud-go/cdn-20180510/v2/client"openap
- 2018-05-28
于小鱼521
姓名:于勇公司:长春市朝阳市政工程建设股份有限公司【日精进打卡第18天】【知~学习】《六项精进大纲》1遍《大学》1遍【经典名句】努力过好每一天做到问心无愧二、齐家:(对家庭和家人)去超市买点日用品给孩子买点酸奶三、建功:(对工作)1做好自己该做的本分事{积善}:下雨天让行人先走【省~觉悟】【感谢】感谢爱我的人【发愿】每日进步一点点坚持到底【打卡始于20180510,持续打卡志2019年5月
- 20180510《及其忙碌的一天》
angela玲
早上起来发现今天要做的事情有好多,一件一件的排着也需要工作到晚上。而手机里一遍一遍收到明天一早的航班信息,想起来跟老大请假她没有回复我,有点心急。昨天的书写“遭到表扬”还是很开心的,老师用一句:“享受着安玲的文字,伴我深夜入眠”令我开心。有同伴夸我的文字进步很大,短时间内就这样带着力量在前行很值得称赞,我也觉得有一些欣慰。还要几个小时的睡眠时间,行李没有收拾好,生怕错过了今天晚上十二点打卡日期。字
- 人事处
贾玲
20180510星期四5每一天如何效能工作,是我这段时间需要提升精进的功课。5.1后重新制定成长计划,较之过去有了明显的提升,内心充实感满满。不过总有突发事件考验历练我,总是不能按计划工作,内心还是此起彼落的浮动。今天又有事加塞,迫使我原计划不能完成。心有无奈还需面对。结果事情完美的解决,还有意外收获。感悟:任何事情的背后都蕴藏着一个相反的结果,就看我们使用哪一面?感恩:好姐妹把我的事当自己的事,
- #小确幸#20180510-17
也知也非
074你终于找到了那个人昨晚和闺蜜联系,她告诉我在这三个月中,她已经有男友,而且还订婚了。五味杂陈。冒上心头的第一个想法是:我算是合格的闺蜜吗?竟然这么大的事都没有第一时间知道。想起前两个月埋头在社群中,潇君提醒过我两三次该和她联系了。我都没有理会,只在一些走神的瞬间静静地想她一会。她急急地问我,发生了哪些大事,有了什么新的生活。我竟无言以对,我有大事吗?能言说的成长其实都不足挂齿,那些经历过的痛
- RIA作业五 20180510-葵娜
葵娜Qualla丶
《卖轮子》一些人认为,本之所以生意做得好,只不过是因为他易于相处,和别人关系处得好。然而,这些人的看法是非常错误的。没错,本是个热心肠。他经常满面笑容,跟人握手总是握得很紧,并且在适当的时候,他甚至会亲切地拍你的后背,以示亲切。本总是在骆驼俱乐部用午餐,并且经常替人付账单。他还经常请别人去看角斗士比赛,或鳄鱼比赛、帆船比赛之类的。而且所有认识他的人都知道,他能讲好多笑话。然而,建设者本的核心,在于
- 南昌铜锣湾商场20180510
王蔚的世界
地处红谷滩新区,占地144.5亩,总建筑面积486800平米。商业部分规划面积:约102600㎡;其中主体商业面积约85700㎡,商业街及其它商业面积约16900㎡。5A顶级商务楼面积:59500㎡,43层,将成为南昌国际级门户商务地标建筑。住宅面积185000㎡,总套数约1500套。高层住宅共9栋、规划户数约1436户,建筑面积约172800㎡,户型包括超大平层、三房、两房以及少部分一房、,主力
- 20180510_家长开放日
陌忘微笑_243e
早上女儿说“妈妈,我想让你和爸爸一起去学校,看我哪里做的好,哪里做的不好”“宝贝,爸爸,今天很忙,抽不出时间,等下次让爸爸也去可以吗?妈妈会把视频拍下来发给爸爸,让爸爸看的,好吗?”“好吧”女儿在学校里认真做早操,吃点心、玩区域都比较有次序,表现还是让我欣慰的,只是上课时候时不时会转过头来看我、举手不够积极。到家后“宝贝,我们来聊聊你今天在学校里的表现吧。妈妈,看到你在学校里能有次序的去拿点心、水
- 20180510小西妈双语工程1604期95号Ann打卡
宝兰儿
tin和can的区别:tinn.锡;罐头,罐;(一般装的是饼干蛋糕之类的固体)cann.罐头,开罐器(罐子里装的是液体,例如饮料之类的)情绪觉察日记:郁闷,想法:我是不是该写个总结,我有啥可总结的呢?大项目运作有待提升吧!行动:学习、充电再行动。
- ztree异步加载
3213213333332132
JavaScriptAjaxjsonWebztree
相信新手用ztree的时候,对异步加载会有些困惑,我开始的时候也是看了API花了些时间才搞定了异步加载,在这里分享给大家。
我后台代码生成的是json格式的数据,数据大家按各自的需求生成,这里只给出前端的代码。
设置setting,这里只关注async属性的配置
var setting = {
//异步加载配置
- thirft rpc 具体调用流程
BlueSkator
中间件rpcthrift
Thrift调用过程中,Thrift客户端和服务器之间主要用到传输层类、协议层类和处理类三个主要的核心类,这三个类的相互协作共同完成rpc的整个调用过程。在调用过程中将按照以下顺序进行协同工作:
(1) 将客户端程序调用的函数名和参数传递给协议层(TProtocol),协议
- 异或运算推导, 交换数据
dcj3sjt126com
PHP异或^
/*
* 5 0101
* 9 1010
*
* 5 ^ 5
* 0101
* 0101
* -----
* 0000
* 得出第一个规律: 相同的数进行异或, 结果是0
*
* 9 ^ 5 ^ 6
* 1010
* 0101
* ----
* 1111
*
* 1111
* 0110
* ----
* 1001
- 事件源对象
周华华
JavaScript
<!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&q
- MySql配置及相关命令
g21121
mysql
MySQL安装完毕后我们需要对它进行一些设置及性能优化,主要包括字符集设置,启动设置,连接优化,表优化,分区优化等等。
一 修改MySQL密码及用户
 
- [简单]poi删除excel 2007超链接
53873039oycg
Excel
采用解析sheet.xml方式删除超链接,缺点是要打开文件2次,代码如下:
public void removeExcel2007AllHyperLink(String filePath) throws Exception {
OPCPackage ocPkg = OPCPac
- Struts2添加 open flash chart
云端月影
准备以下开源项目:
1. Struts 2.1.6
2. Open Flash Chart 2 Version 2 Lug Wyrm Charmer (28th, July 2009)
3. jofc2,这东西不知道是没做好还是什么意思,好像和ofc2不怎么匹配,最好下源码,有什么问题直接改。
4. log4j
用eclipse新建动态网站,取名OFC2Demo,将Struts2 l
- spring包详解
aijuans
spring
下载的spring包中文件及各种包众多,在项目中往往只有部分是我们必须的,如果不清楚什么时候需要什么包的话,看看下面就知道了。 aspectj目录下是在Spring框架下使用aspectj的源代码和测试程序文件。Aspectj是java最早的提供AOP的应用框架。 dist 目录下是Spring 的发布包,关于发布包下面会详细进行说明。 docs&nb
- 网站推广之seo概念
antonyup_2006
算法Web应用服务器搜索引擎Google
持续开发一年多的b2c网站终于在08年10月23日上线了。作为开发人员的我在修改bug的同时,准备了解下网站的推广分析策略。
所谓网站推广,目的在于让尽可能多的潜在用户了解并访问网站,通过网站获得有关产品和服务等信息,为最终形成购买决策提供支持。
网站推广策略有很多,seo,email,adv
- 单例模式,sql注入,序列
百合不是茶
单例模式序列sql注入预编译
序列在前面写过有关的博客,也有过总结,但是今天在做一个JDBC操作数据库的相关内容时 需要使用序列创建一个自增长的字段 居然不会了,所以将序列写在本篇的前面
1,序列是一个保存数据连续的增长的一种方式;
序列的创建;
CREATE SEQUENCE seq_pro
2 INCREMENT BY 1 -- 每次加几个
3
- Mockito单元测试实例
bijian1013
单元测试mockito
Mockito单元测试实例:
public class SettingServiceTest {
private List<PersonDTO> personList = new ArrayList<PersonDTO>();
@InjectMocks
private SettingPojoService settin
- 精通Oracle10编程SQL(9)使用游标
bijian1013
oracle数据库plsql
/*
*使用游标
*/
--显示游标
--在显式游标中使用FETCH...INTO语句
DECLARE
CURSOR emp_cursor is
select ename,sal from emp where deptno=1;
v_ename emp.ename%TYPE;
v_sal emp.sal%TYPE;
begin
ope
- 【Java语言】动态代理
bit1129
java语言
JDK接口动态代理
JDK自带的动态代理通过动态的根据接口生成字节码(实现接口的一个具体类)的方式,为接口的实现类提供代理。被代理的对象和代理对象通过InvocationHandler建立关联
package com.tom;
import com.tom.model.User;
import com.tom.service.IUserService;
- Java通信之URL通信基础
白糖_
javajdkwebservice网络协议ITeye
java对网络通信以及提供了比较全面的jdk支持,java.net包能让程序员直接在程序中实现网络通信。
在技术日新月异的现在,我们能通过很多方式实现数据通信,比如webservice、url通信、socket通信等等,今天简单介绍下URL通信。
学习准备:建议首先学习java的IO基础知识
URL是统一资源定位器的简写,URL可以访问Internet和www,可以通过url
- 博弈Java讲义 - Java线程同步 (1)
boyitech
java多线程同步锁
在并发编程中经常会碰到多个执行线程共享资源的问题。例如多个线程同时读写文件,共用数据库连接,全局的计数器等。如果不处理好多线程之间的同步问题很容易引起状态不一致或者其他的错误。
同步不仅可以阻止一个线程看到对象处于不一致的状态,它还可以保证进入同步方法或者块的每个线程,都看到由同一锁保护的之前所有的修改结果。处理同步的关键就是要正确的识别临界条件(cri
- java-给定字符串,删除开始和结尾处的空格,并将中间的多个连续的空格合并成一个。
bylijinnan
java
public class DeleteExtraSpace {
/**
* 题目:给定字符串,删除开始和结尾处的空格,并将中间的多个连续的空格合并成一个。
* 方法1.用已有的String类的trim和replaceAll方法
* 方法2.全部用正则表达式,这个我不熟
* 方法3.“重新发明轮子”,从头遍历一次
*/
public static v
- An error has occurred.See the log file错误解决!
Kai_Ge
MyEclipse
今天早上打开MyEclipse时,自动关闭!弹出An error has occurred.See the log file错误提示!
很郁闷昨天启动和关闭还好着!!!打开几次依然报此错误,确定不是眼花了!
打开日志文件!找到当日错误文件内容:
--------------------------------------------------------------------------
- [矿业与工业]修建一个空间矿床开采站要多少钱?
comsci
地球上的钛金属矿藏已经接近枯竭...........
我们在冥王星的一颗卫星上面发现一些具有开采价值的矿床.....
那么,现在要编制一个预算,提交给财政部门..
- 解析Google Map Routes
dai_lm
google api
为了获得从A点到B点的路劲,经常会使用Google提供的API,例如
[url]
http://maps.googleapis.com/maps/api/directions/json?origin=40.7144,-74.0060&destination=47.6063,-122.3204&sensor=false
[/url]
从返回的结果上,大致可以了解应该怎么走,但
- SQL还有多少“理所应当”?
datamachine
sql
转贴存档,原帖地址:http://blog.chinaunix.net/uid-29242841-id-3968998.html、http://blog.chinaunix.net/uid-29242841-id-3971046.html!
------------------------------------华丽的分割线--------------------------------
- Yii使用Ajax验证时,如何设置某些字段不需要验证
dcj3sjt126com
Ajaxyii
经常像你注册页面,你可能非常希望只需要Ajax去验证用户名和Email,而不需要使用Ajax再去验证密码,默认如果你使用Yii 内置的ajax验证Form,例如:
$form=$this->beginWidget('CActiveForm', array( 'id'=>'usuario-form',&
- 使用git同步网站代码
dcj3sjt126com
crontabgit
转自:http://ued.ctrip.com/blog/?p=3646?tn=gongxinjun.com
管理一网站,最开始使用的虚拟空间,采用提供商支持的ftp上传网站文件,后换用vps,vps可以自己搭建ftp的,但是懒得搞,直接使用scp传输文件到服务器,现在需要更新文件到服务器,使用scp真的很烦。发现本人就职的公司,采用的git+rsync的方式来管理、同步代码,遂
- sql基本操作
蕃薯耀
sqlsql基本操作sql常用操作
sql基本操作
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 2015年6月1日 17:30:33 星期一
&
- Spring4+Hibernate4+Atomikos3.3多数据源事务管理
hanqunfeng
Hibernate4
Spring3+后不再对JTOM提供支持,所以可以改用Atomikos管理多数据源事务。Spring2.5+Hibernate3+JTOM参考:http://hanqunfeng.iteye.com/blog/1554251Atomikos官网网站:http://www.atomikos.com/ 一.pom.xml
<dependency>
<
- jquery中两个值得注意的方法one()和trigger()方法
jackyrong
trigger
在jquery中,有两个值得注意但容易忽视的方法,分别是one()方法和trigger()方法,这是从国内作者<<jquery权威指南》一书中看到不错的介绍
1) one方法
one方法的功能是让所选定的元素绑定一个仅触发一次的处理函数,格式为
one(type,${data},fn)
&nb
- 拿工资不仅仅是让你写代码的
lampcy
工作面试咨询
这是我对团队每个新进员工说的第一件事情。这句话的意思是,我并不关心你是如何快速完成任务的,哪怕代码很差,只要它像救生艇通气门一样管用就行。这句话也是我最喜欢的座右铭之一。
这个说法其实很合理:我们的工作是思考客户提出的问题,然后制定解决方案。思考第一,代码第二,公司请我们的最终目的不是写代码,而是想出解决方案。
话粗理不粗。
付你薪水不是让你来思考的,也不是让你来写代码的,你的目的是交付产品
- 架构师之对象操作----------对象的效率复制和判断是否全为空
nannan408
架构师
1.前言。
如题。
2.代码。
(1)对象的复制,比spring的beanCopier在大并发下效率要高,利用net.sf.cglib.beans.BeanCopier
Src src=new Src();
BeanCopier beanCopier = BeanCopier.create(Src.class, Des.class, false);
- ajax 被缓存的解决方案
Rainbow702
JavaScriptjqueryAjaxcache缓存
使用jquery的ajax来发送请求进行局部刷新画面,各位可能都做过。
今天碰到一个奇怪的现象,就是,同一个ajax请求,在chrome中,不论发送多少次,都可以发送至服务器端,而不会被缓存。但是,换成在IE下的时候,发现,同一个ajax请求,会发生被缓存的情况,只有第一次才会被发送至服务器端,之后的不会再被发送。郁闷。
解决方法如下:
① 直接使用 JQuery提供的 “cache”参数,
- 修改date.toLocaleString()的警告
tntxia
String
我们在写程序的时候,经常要查看时间,所以我们经常会用到date.toLocaleString(),但是date.toLocaleString()是一个过时 的API,代替的方法如下:
package com.tntxia.htmlmaker.util;
import java.text.SimpleDateFormat;
import java.util.
- 项目完成后的小总结
xiaomiya
js总结项目
项目完成了,突然想做个总结但是有点无从下手了。
做之前对于客户端给的接口很模式。然而定义好了格式要求就如此的愉快了。
先说说项目主要实现的功能吧
1,按键精灵
2,获取行情数据
3,各种input输入条件判断
4,发送数据(有json格式和string格式)
5,获取预警条件列表和预警结果列表,
6,排序,
7,预警结果分页获取
8,导出文件(excel,text等)
9,修