- 2020-08-04《自我的本质》
芡实
这本书由世界知名认知心理学家布鲁斯.胡德告诉我们,是什么真正塑造了“自我”?这个问题可以通过以下的绕舌来揭示:“你以为你以为的你就是真的你吗?”胡德说:“我不是我以为的我,我也不是你以为的我,我是我以为你以为的我。”作者认为:婴儿不能拥有自我意识,儿童学习敏感期就是大脑发展的“关键期”,自我不是在我们两三岁时的某一天突然出现在大脑中的,大脑通过神经元连接大量周遭环境的影响和建立经验、活动模式,以完
- 2020-08-04
二宝197309252230
人生几何,大家何苦互相难为,既然大家从四面八方聚在一起工作,就是有缘,不是有那句老话吗,有缘千里来相会,无缘对面不相识。即然在一起,大家就好好相处,自己有啥事都说出来,把事情都摆在桌面上,一起来商量,不要因为一己之利,损坏大家利益人生是短暂的,大家彼此要珍惜在一起日子,多留给别人些温暖,多留给别人些笑容,多做些有益的事情,少一些报怨,少一些烦恼,不做伤害别人的事,拉近彼此间距离,让人与人之间充满爱
- 2020-08-04
像风一样又像云一样
望着窗外的雨,总是莫名的烦躁,空气中弥漫着潮湿的气息,充斥在肺中,让人无法呼吸;曾经有一位哲人说过,不是雨在动,而是你的心在动,在这个喧嚣的世界,怎么去寻找内心的宁静,这是个值得考虑的问题;曾经的我以为能够心静如水,看淡世间万物,后来才知道我也只不过人世一俗人,逃不过喜怒哀乐,酸甜苦辣,做一个俗人也挺好。
- 2020-08-04
潘jane
姓名:潘珊群公司:宁波市镇海承迪文具有限公司盛和塾第456期六项精进反省一组成员(日精进打卡第583天)【知~学习】:《六项精进》背诵0遍共30遍.《大学》背诵0遍共30遍.朗读0遍共0遍.学习强国每天早上和晚上累计1小时以上······【经典名句分享】奇迹,是努力的另一个名字!【行~实践】一、修身:(对自己个人)1.晨起一杯温开水2.早睡早起3.多喝水4.每天一粒钙片5.饭后水果二、齐家:(对家
- 2020-08-04
老憨头
青春正在萌芽一当我记事时父亲讲了我的“小名”的来历,说我不满二岁时就经历了三次大病,尤其是最后一次有点传奇色彩,让我至今难忘。1964年正月,我患上了一种怪病,浑身长满了红斑,高烧不退,从二十里外请来了大夫,大夫看后说没有见过这种病,凭经验开了一些药也无济于事;父母亲整日以泪洗面,轮番抱着我,给我用土方法降温,都没有任何效果,一直到了第七天半夜时,感觉我死了没有气了,就准备天亮时请我的远房九爸把我
- 2020-08-04
锅炉工的自我修养
reviewer1模拟不含电流和漂移影响在文章开始mention开始是指,introduction?simulationsetup,说过不含漂移选择的反常属于系数被证明是合适的,在AUG-U上于实验装置对比(VRozhansky2009)阅读建议的文献,发现该文献,为本文采用的适应的输运系数,提供了理论支持在输运系数对应位置添加建议的参考文献line120,修改鞘层边界和电势降存疑进一步证明:ho
- (2020-08-04周二)养儿先养根,养根在感恩(427)
云庆亲子教育
养儿先养根,养根在感恩主持人问:父母在生活当中如何正确地引导孩子建立感恩意识呢?孙老师答:这就是要给孩子进行孝道教育,应该有意识地给他讲一些孝道方面地故事,跟他讲父母生养他就是最大地恩德,子女行孝是最大的积福,一定要从小给孩子树立这样一个观念。孩子能做的,父母一定不能替她做。孝道里有四个字---养性养正,是父母一开始就要知道的。孩子要养性养正,父母也要有正知正见,因为孩子是父母的翻版。那么父母怎么
- 淮阳焦点二期李雯分享第104天2020-08-04
L雯2020
昨天临睡前,儿子提醒我:“妈妈,你还没有进行表扬环节呢!”我一愣,没想到儿子对这件事这么上心,这么期待。看来,睡前对孩子一天的好表现做一个总结,这件事我做对了。人人都希望被鼓励,这样才有努力和进步的动力。对于孩子而言,更是如此。通过睡前表扬,孩子明确了自己哪些地方做的好,还会朝着好的方向努力。对我来说,这是一种成本很低的教育方式:无需耳提面命,不会鸡飞狗跳,只需用赞赏的心态关注他们言行,就可以收到
- 2020-08-04
32ada2313e7e
打卡哈利·波特吃饭的餐厅在《哈利·波特》系列电影中,霍格沃茨魔法学校有一个宏伟庄重的餐厅,餐厅穹顶布满星星。在这个餐厅中,哈利、罗恩、赫敏等主人公参加新生入学晚宴、“分院”仪式、圣诞节晚餐、学生舞会等,平日用餐时,他们还暗暗地商讨对付对手的“特别计划”。而这个餐厅的原型就是牛津大学基督学院食堂,也被称为“大礼堂”。基督学院创立于1525年,是牛津大学最大的学院,也是世界上唯一一所教堂式学院,其学生
- 2020-08-04 android应用程序访问I2C接口
fjasmin
Javacodepackagexxxxxxx.xx;importandroid.app.Activity;importandroid.os.Bundle;importandroid.util.Log;publicclassI2cRadioTestextendsActivity{privatestaticfinalStringTAG="I2cRadioTest";/**Calledwhentheac
- 2020-08-04
红蕖千娇
这几天没有心情写东西,几天没亮写东西,想写点什么忽然觉得写一点东西变得很陌生,真的很陌生。就像遇到一个特别熟悉的人,看着对方连打招呼的事都忘了。隔壁床是一个小胖子,听到他给他爸爸打电话:“喂,爸爸,你干嘛呢?”电话里传来声音“我在睡觉。”小胖子又问:“爸爸,你睡着没有?”电话里的声音:“我睡着还能说话吗?”小胖子开始让他爸爸给他带什么好吃的来。住院部一个病人只允许有一个陪护,而且是必须做核酸检测的
- 2020-08-04 紫菀
钥茵
药名:紫菀别名:青苑、返魂草根、夜千牛、紫菀茸药用部位:根及根茎药材性状:本品根茎呈不规则块状,大小不一,顶端有茎、叶的残基,质稍硬。根茎簇生多数细根,长3~15cm,直径0.1~0.3cm,多编成辫状;表面紫红色或灰红色,有纵皱纹;质较柔韧。气微香,味甜、微苦。产地:河南、甘肃性味归经:温;辛、甘、苦;归肺经功能主治:润肺下气,消痰止咳。用于痰多喘咳,新久咳嗽,劳嗽咳血。用法用量:内服:煎汤,5
- 2022-01-17
解宗会
牛饲料怎么配有奖励写回答共3个回答成都英美尔2020-08-04百度认证:成都英美尔农牧科技有限公司官方帐号已关注成为第6412位粉丝推荐关注大白话本人野生脱口秀演员非著名影评人关注阿丽莎感情运势法定代表人,阿丽莎(广州)文化传播有限公司、星座领域创作者关注哎呀酋长TA获得超过676个赞关注摄影师EDITA获得超过111个赞关注茂源星座星座领域创作者关注王桂真营养师营养师关注WarOH协虎TA获得
- 2020-08-04
因何凭栏
我总在观察自己。我不是个讨人喜欢的人。我总觉得自己可以忘记很多,但是他人片刻的恶意就足够我想很久,便难再忘。这样会让我难过。很快陷入自我怀疑和自厌的情绪。幸亏已经学会忘记,困扰只在这一刻,这一段。我不自觉的时候哼歌总在哼曲婉婷的mylittlefriend说不上多喜欢,只是不自觉“comesitwithme,mylittlefriend,helpmeunderstand~~”大概是契合的吧
- 2020-08-04
岩栋
武乡培训随想武乡培训归来已过数日,每日杂事缠身,今终得半刻清闲,写下些许所感所悟,当作一小结吧。结缘与武乡结缘是在十几年前,毕业后第一份工作即来到武乡,以实习生的身份进入武乡烟草公司。短暂的三个月时间让我对武乡有了一份特殊的感情。曾记得多次走到八路军纪念馆,爬上背后的凤凰山远眺武乡县城,那时的武乡远没有现在的繁华,马牧河也没有现在的清辙。能故地重游要感谢长治素质教育的李萍老师,机缘巧合将此次培训安
- 2020-08-04 vimrc设置
YPCHEN1992
配置linux.vimrc"YPCHEN'ssample.vimrcfile"showlinenumberssetnumber"enablesyntaxhighlightingsyntaxon"colorschemecolodarkblue"sutoindentingsetautoindent"showtheeditingmodeonthelastlinesetshowmode"highlight
- 2020-08-04从西丽到福田
彩色围巾
今天是星期二,约了冬下班去西丽吃她抽中的霸王餐,牛肉火锅,吃的饱饱的,饭后还买了老婆饼,然后告别各自开车回家了。我几乎没什么机会开夜车,开出去一阵才发现连车灯都没打开,跟着导航从西丽回福田,真没想到这么远的,先是让我从南头收费站上了高速,走G4京港澳高速,我看这架势怎么跟回老家肇庆那么像,心里是有点慌的,但是车在高速上只能一条直路走到头了,硬着头皮踩着油门往前开。路上车不多,我一边开还能一边看看深
- 第九节属性、方法、下标、继承、多态
天明天
一.全局变量1.内存地址的计算截屏2020-08-04上午10.17.20.png计算0xc34f(%rip)的内存地=下一行的地址(0x100001961)+0xc34f这里是16进制=0x10000DCB0classCar{//存储类型属性,默认就是lazy的,只初始化一次,底层使用的是`dispatch_once`方法这里的类型属性(前面加上static)本质就是全局变量,只不过前面可以加上
- 2020-08-04 马迪奥 尼古拉 还有我
dina影子
一直到晚上,坐在电脑前,才安静下来。一直没有更新,因为慌乱,因为失望和沮丧。总是展现开颜的一面,这大概是种修养但当一个人面对自己喜欢夜窗外的月亮,当有它存在时,我就有点小小的窃喜那种私自的存在但它不在,我就有些小小的紧张和无助喜欢美好的东西,我内心充盈小人书里的侠义和善良的美好常常觉得自己就是马迪奥我也是尼古拉我不是与世界打斗,我哪有那种勇气我也没有自不量力事实上我一直讨好他我一直适应它我想他能接
- 中原焦点团队中19胡利娜坚持分享第385天2020-08-04
星辰小屋
今天应女儿的要求过阳历的生日。本是开开心心的一天,最后咋就变成这样子了呢?看着女儿越来越像我的样子,心里难受极了。以前只是说话的语气态度像,现在更是灵魂像[流泪][流泪][流泪]女儿的“不知道咋了就是不想听你们的话”深深的震撼了我,虽然听出来她也很困惑,但还是忍不住想指责,那种恨铁不成钢的心态让我很多时候无法自控。这种种迹象不禁又让我伤心起来,我知道都是我不好,我不是位称职的妈妈,虽然我很也很努力
- 2020-08-04 交易简单复盘
树毛竹
康德莱冲高没出,后急跌出。也想着大盘震荡,个股震荡,却没细想自己的个股波动幅度会不会加剧。难道就是因为自己买了,就对自己的票有信心了?早卖就冲,等就打脸,最终归结到自己对大盘,氛围或个股的了解预判不够清晰上,自己的交易计划执行和买卖策略上。急涨,或急跌,如何处理?急涨,买入怎么买?卖出呢?什么情况下卖(弱市,个股弱)?急跌呢?买,不考虑买。卖呢?看节奏和氛围。但真正细化和操作还得多花时间琢磨琢磨。
- 强烈推荐!5个简单实用的微信小程序开发技巧
极乐叔
前段时间在下开发了个微信小程序,开发过程中总结了一些我觉得对我有用的小技巧,提炼出来,相当于一个总结复盘,也希望可以帮助到大家。如果对大家确实有帮助,别忘了点赞哦~微信开发者工具版本:1.03.2006090(2020-06-19)基础库版本:v2.12.1(2020-08-04)1.开发中可能遇到的坑以及Tips本来想写个小技巧的,结果我总结了一堆坑,没上手之前完全想象不到微信小程序的开发体验是
- 强烈推荐的几个微信小程序开发小技巧,简单又实用
奇舞周刊
javapython编程语言小程序移动开发
前段时间在下开发了个微信小程序,开发过程中总结了一些我觉得对我有用的小技巧,提炼出来,相当于一个总结复盘,也希望可以帮助到大家。如果对大家确实有帮助,别忘了点赞哦????~微信开发者工具版本:1.03.2006090(2020-06-19)基础库版本:v2.12.1(2020-08-04)1.开发中可能遇到的坑以及Tips本来想写个小技巧的,结果我总结了一堆坑,没上手之前完全想象不到微信小程序的开
- 2020-08-04
fe5f14a89a81
每天舌诊学习(二)——小儿(图片孩子的舌尖偏向一边,如果是大人有这种情况,要考虑血瘀,孩子因为舌头比较灵活,抓拍时偏了属于正常。)此孩子的舌两侧明显有翘起来的状况,考虑:️这种情况多代表肝火比较旺,脾气比较大️气滞点,表示肝气不舒,舌右侧有肝郁点,是长期情志不畅导致️舌前端肺区有凹陷,代表正气不足,抗邪的能力不足,容易外感(感冒)️舌前端有凹陷,心气不足,会胸闷、气短、心悸️舌根凹陷,肾气不足,这
- 2020-08-04
美文共读
什么是孝顺?孝顺二字出自《国语·楚语上》,原指爱敬天下之人﹑顺天下人之心的美好德行。后多指尽心奉养父母,顺从父母的意志。现多指孝敬的口语。孝顺现在应该理解为,孝敬父母长辈,顺应天理善意。什么是孝,什么是顺?老爸退休了。我们姐妹俩一个在北京一个在杭州,为了让他们安享退休生活,我们与他们商量要么在杭州湘湖边买一套房,气候适宜,离老妹近些好有个照应,他们死活不愿意,说大城市车来车往也没朋友,不愿意离开家
- 2020-08-04
李惠民_f695
寻人启事:16岁小男孩,身高170。在万荣县后土祠黄河流域不慎落水,沿途有发现者第一时间联系,必有重谢。联系电话:武139341699291315299667013935963872
- 2020-08-04
张启发_41bb
图片发自App图片发自App图片发自App收割谷子成熟啦,天天都很热,到了明天早晨,我就去收割。我的爱也成熟啦,但愿你亲爱的,就是那收割的人……一一裴多菲
- 2020-08-04
周村中心小学张小格
师德线上培训心得体会周村小学张小格7月28日,我参与了高新区2020师德师风线上学习,听了五位师德模范的先进事迹报告,受益匪浅。“教师”一个多么贴切的名字,遥指一算它已陪我整整走过了26个春秋,里头有艰辛,有泪水,也有欢笑与甜蜜。张玉滚老师,默默地在大山里奉献着自己的青春,他深深地爱着这座大山及大山里的孩子们,“信念是不值钱的,但一旦认定它就立即升值。“在繁多的工作中,他本着平和的心态,用他的爱他
- 2020-08-04
坚持记录
当你知道自己像要什么能舍弃什么就自信了往往不自信是因为你什么都想要也是愿与对自己的认知互联网的两端用户和客户最难的是相信别人从而让别人越来越自信越来越好我们常说的不求回报通常说的是金钱上不求回报内心的满足需要回报不好利益回报的人其实是最难满足的结果上看是最自私的人结果和价值的回报就是利益和价值成就感不求利益的人其实是伪善的是最自私的在你觉得没人欠你的情况下你会发现所有人都好了对于一般人而言,只有自
- 2020-08-04
浑浑噩噩一只小迷七
昨天又是情绪崩溃的一天!遇事容易着急,是我最大的缺点之一。代码写不出来就会干着急,心累!今日任务:1,测试代码的正确性;2,若正确,分析代码;若不正确,寻找正确的代码;3,尝试自己仿写代码。加油
- Dom
周华华
JavaScripthtml
<!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
- 【Spark九十六】RDD API之combineByKey
bit1129
spark
1. combineByKey函数的运行机制
RDD提供了很多针对元素类型为(K,V)的API,这些API封装在PairRDDFunctions类中,通过Scala隐式转换使用。这些API实现上是借助于combineByKey实现的。combineByKey函数本身也是RDD开放给Spark开发人员使用的API之一
首先看一下combineByKey的方法说明:
- msyql设置密码报错:ERROR 1372 (HY000): 解决方法详解
daizj
mysql设置密码
MySql给用户设置权限同时指定访问密码时,会提示如下错误:
ERROR 1372 (HY000): Password hash should be a 41-digit hexadecimal number;
问题原因:你输入的密码是明文。不允许这么输入。
解决办法:用select password('你想输入的密码');查询出你的密码对应的字符串,
然后
- 路漫漫其修远兮 吾将上下而求索
周凡杨
学习 思索
王国维在他的《人间词话》中曾经概括了为学的三种境界古今之成大事业、大学问者,罔不经过三种之境界。“昨夜西风凋碧树。独上高楼,望尽天涯路。”此第一境界也。“衣带渐宽终不悔,为伊消得人憔悴。”此第二境界也。“众里寻他千百度,蓦然回首,那人却在灯火阑珊处。”此第三境界也。学习技术,这也是你必须经历的三种境界。第一层境界是说,学习的路是漫漫的,你必须做好充分的思想准备,如果半途而废还不如不要开始。这里,注
- Hadoop(二)对话单的操作
朱辉辉33
hadoop
Debug:
1、
A = LOAD '/user/hue/task.txt' USING PigStorage(' ')
AS (col1,col2,col3);
DUMP A;
//输出结果前几行示例:
(>ggsnPDPRecord(21),,)
(-->recordType(0),,)
(-->networkInitiation(1),,)
- web报表工具FineReport常用函数的用法总结(日期和时间函数)
老A不折腾
finereport报表工具web开发
web报表工具FineReport常用函数的用法总结(日期和时间函数)
说明:凡函数中以日期作为参数因子的,其中日期的形式都必须是yy/mm/dd。而且必须用英文环境下双引号(" ")引用。
DATE
DATE(year,month,day):返回一个表示某一特定日期的系列数。
Year:代表年,可为一到四位数。
Month:代表月份。
- c++ 宏定义中的##操作符
墙头上一根草
C++
#与##在宏定义中的--宏展开 #include <stdio.h> #define f(a,b) a##b #define g(a) #a #define h(a) g(a) int main() { &nbs
- 分析Spring源代码之,DI的实现
aijuans
springDI现源代码
(转)
分析Spring源代码之,DI的实现
2012/1/3 by tony
接着上次的讲,以下这个sample
[java]
view plain
copy
print
- for循环的进化
alxw4616
JavaScript
// for循环的进化
// 菜鸟
for (var i = 0; i < Things.length ; i++) {
// Things[i]
}
// 老鸟
for (var i = 0, len = Things.length; i < len; i++) {
// Things[i]
}
// 大师
for (var i = Things.le
- 网络编程Socket和ServerSocket简单的使用
百合不是茶
网络编程基础IP地址端口
网络编程;TCP/IP协议
网络:实现计算机之间的信息共享,数据资源的交换
协议:数据交换需要遵守的一种协议,按照约定的数据格式等写出去
端口:用于计算机之间的通信
每运行一个程序,系统会分配一个编号给该程序,作为和外界交换数据的唯一标识
0~65535
查看被使用的
- JDK1.5 生产消费者
bijian1013
javathread生产消费者java多线程
ArrayBlockingQueue:
一个由数组支持的有界阻塞队列。此队列按 FIFO(先进先出)原则对元素进行排序。队列的头部 是在队列中存在时间最长的元素。队列的尾部 是在队列中存在时间最短的元素。新元素插入到队列的尾部,队列检索操作则是从队列头部开始获得元素。
ArrayBlockingQueue的常用方法:
- JAVA版身份证获取性别、出生日期及年龄
bijian1013
java性别出生日期年龄
工作中需要根据身份证获取性别、出生日期及年龄,且要还要支持15位长度的身份证号码,网上搜索了一下,经过测试好像多少存在点问题,干脆自已写一个。
CertificateNo.java
package com.bijian.study;
import java.util.Calendar;
import
- 【Java范型六】范型与枚举
bit1129
java
首先,枚举类型的定义不能带有类型参数,所以,不能把枚举类型定义为范型枚举类,例如下面的枚举类定义是有编译错的
public enum EnumGenerics<T> { //编译错,提示枚举不能带有范型参数
OK, ERROR;
public <T> T get(T type) {
return null;
- 【Nginx五】Nginx常用日志格式含义
bit1129
nginx
1. log_format
1.1 log_format指令用于指定日志的格式,格式:
log_format name(格式名称) type(格式样式)
1.2 如下是一个常用的Nginx日志格式:
log_format main '[$time_local]|$request_time|$status|$body_bytes
- Lua 语言 15 分钟快速入门
ronin47
lua 基础
-
-
单行注释
-
-
[[
[多行注释]
-
-
]]
-
-
-
-
-
-
-
-
-
-
-
1.
变量 & 控制流
-
-
-
-
-
-
-
-
-
-
num
=
23
-
-
数字都是双精度
str
=
'aspythonstring'
- java-35.求一个矩阵中最大的二维矩阵 ( 元素和最大 )
bylijinnan
java
the idea is from:
http://blog.csdn.net/zhanxinhang/article/details/6731134
public class MaxSubMatrix {
/**see http://blog.csdn.net/zhanxinhang/article/details/6731134
* Q35
求一个矩阵中最大的二维
- mongoDB文档型数据库特点
开窍的石头
mongoDB文档型数据库特点
MongoDD: 文档型数据库存储的是Bson文档-->json的二进制
特点:内部是执行引擎是js解释器,把文档转成Bson结构,在查询时转换成js对象。
mongoDB传统型数据库对比
传统类型数据库:结构化数据,定好了表结构后每一个内容符合表结构的。也就是说每一行每一列的数据都是一样的
文档型数据库:不用定好数据结构,
- [毕业季节]欢迎广大毕业生加入JAVA程序员的行列
comsci
java
一年一度的毕业季来临了。。。。。。。。
正在投简历的学弟学妹们。。。如果觉得学校推荐的单位和公司不适合自己的兴趣和专业,可以考虑来我们软件行业,做一名职业程序员。。。
软件行业的开发工具中,对初学者最友好的就是JAVA语言了,网络上不仅仅有大量的
- PHP操作Excel – PHPExcel 基本用法详解
cuiyadll
PHPExcel
导出excel属性设置//Include classrequire_once('Classes/PHPExcel.php');require_once('Classes/PHPExcel/Writer/Excel2007.php');$objPHPExcel = new PHPExcel();//Set properties 设置文件属性$objPHPExcel->getProperties
- IBM Webshpere MQ Client User Issue (MCAUSER)
darrenzhu
IBMjmsuserMQMCAUSER
IBM MQ JMS Client去连接远端MQ Server的时候,需要提供User和Password吗?
答案是根据情况而定,取决于所定义的Channel里面的属性Message channel agent user identifier (MCAUSER)的设置。
http://stackoverflow.com/questions/20209429/how-mca-user-i
- 网线的接法
dcj3sjt126com
一、PC连HUB (直连线)A端:(标准568B):白橙,橙,白绿,蓝,白蓝,绿,白棕,棕。 B端:(标准568B):白橙,橙,白绿,蓝,白蓝,绿,白棕,棕。 二、PC连PC (交叉线)A端:(568A): 白绿,绿,白橙,蓝,白蓝,橙,白棕,棕; B端:(标准568B):白橙,橙,白绿,蓝,白蓝,绿,白棕,棕。 三、HUB连HUB&nb
- Vimium插件让键盘党像操作Vim一样操作Chrome
dcj3sjt126com
chromevim
什么是键盘党?
键盘党是指尽可能将所有电脑操作用键盘来完成,而不去动鼠标的人。鼠标应该说是新手们的最爱,很直观,指哪点哪,很听话!不过常常使用电脑的人,如果一直使用鼠标的话,手会发酸,因为操作鼠标的时候,手臂不是在一个自然的状态,臂肌会处于绷紧状态。而使用键盘则双手是放松状态,只有手指在动。而且尽量少的从鼠标移动到键盘来回操作,也省不少事。
在chrome里安装 vimium 插件
- MongoDB查询(2)——数组查询[六]
eksliang
mongodbMongoDB查询数组
MongoDB查询数组
转载请出自出处:http://eksliang.iteye.com/blog/2177292 一、概述
MongoDB查询数组与查询标量值是一样的,例如,有一个水果列表,如下所示:
> db.food.find()
{ "_id" : "001", "fruits" : [ "苹
- cordova读写文件(1)
gundumw100
JavaScriptCordova
使用cordova可以很方便的在手机sdcard中读写文件。
首先需要安装cordova插件:file
命令为:
cordova plugin add org.apache.cordova.file
然后就可以读写文件了,这里我先是写入一个文件,具体的JS代码为:
var datas=null;//datas need write
var directory=&
- HTML5 FormData 进行文件jquery ajax 上传 到又拍云
ileson
jqueryAjaxhtml5FormData
html5 新东西:FormData 可以提交二进制数据。
页面test.html
<!DOCTYPE>
<html>
<head>
<title> formdata file jquery ajax upload</title>
</head>
<body>
<
- swift appearanceWhenContainedIn:(version1.2 xcode6.4)
啸笑天
version
swift1.2中没有oc中对应的方法:
+ (instancetype)appearanceWhenContainedIn:(Class <UIAppearanceContainer>)ContainerClass, ... NS_REQUIRES_NIL_TERMINATION;
解决方法:
在swift项目中新建oc类如下:
#import &
- java实现SMTP邮件服务器
macroli
java编程
电子邮件传递可以由多种协议来实现。目前,在Internet 网上最流行的三种电子邮件协议是SMTP、POP3 和 IMAP,下面分别简单介绍。
◆ SMTP 协议
简单邮件传输协议(Simple Mail Transfer Protocol,SMTP)是一个运行在TCP/IP之上的协议,用它发送和接收电子邮件。SMTP 服务器在默认端口25上监听。SMTP客户使用一组简单的、基于文本的
- mongodb group by having where 查询sql
qiaolevip
每天进步一点点学习永无止境mongo纵观千象
SELECT cust_id,
SUM(price) as total
FROM orders
WHERE status = 'A'
GROUP BY cust_id
HAVING total > 250
db.orders.aggregate( [
{ $match: { status: 'A' } },
{
$group: {
- Struts2 Pojo(六)
Luob.
POJOstrust2
注意:附件中有完整案例
1.采用POJO对象的方法进行赋值和传值
2.web配置
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee&q
- struts2步骤
wuai
struts
1、添加jar包
2、在web.xml中配置过滤器
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.st