- 2019-01-28
末班地铁_JS
今天给大家分享一部电影《当幸福来敲门》,该电影讲述一个穷困潦倒的推销员克里斯在种种磨难下完成华丽转身,找到了自己的幸福。当生活遇到磨难时,请往这里看。幸福地幸写错,写成了辛苦的辛。这是一种很显眼的深意,先是辛,才会变成幸,幸福不是地上捡的,更不是天上掉的,而是凭借自己双手一点点打拼,在汗水与泪水的浇灌下结出的丰硕果实。每天提着几十斤重的骨密质扫描仪四处推销,伙食费全靠自己能否卖出,而自己却很久没卖
- 2019-01-28
随其自然1
李丹丹焦点网络初期13期,坚持分享第69天。今天到回到小区的时候已经快7点了。小区里挂满了彩灯、每个单元的门口都挂上了灯笼,好有过节的气氛。最让人感到温暖的是,物业还给每家每户都准备了春联和红包。虽然很简单,但是很暖心。一个微小的行动,拉近了人与人之间的距离。还有最让我感到暖心的是今天去好朋友家,她竟然提前给我准备了生日礼物。其实人与人之间的距离很近,就像刘老师讲的,主要在于态度。对人以真诚、接纳
- 周检视2019-01-28~02-03
郭晓雯
三个标签:1、时间管理践行者2、努力的宝妈3、学习并践行的拼一代【90天3.0目标】1.运动:日行5000步+平板(1.5)+卷腹(80);2.清单+日历;3.学习易经和家庭教育,并传播。4.持续专业学习,精进。这周做了的事情八大关注:一、学习、成长:1、消防打卡,学习消防知识,同时开启自己的节奏看书。2、继续吸引力法则的课程,有些新的触动。3、陪伴女儿开启了樊登小读者。二、家庭、生活:1、小年后
- 2019-01-28
cheerhoo
用音乐在治愈自己在我因为在意一些不必要的人和事丢失自己的时候,我会忐忑我会不安。我想我知道我最近为什么会一到晚上就感觉到平静不下来了
- 2019-01-28
让每一只铅笔都爱上写作
孩子是一棵有自己生长节奏的小树。慢一点,从容一点,让孩子像孩子那样长大。而我们愿意跟在他的身后,放慢匆匆赶路的脚步,抬头看看沿途美丽的风景。
- 2019-01-28
关上小耳朵
如果你不了解,你就闭嘴,因为你永远不知道别人经历过了什么。如果你了解,那你就更应该闭嘴。”因为一件事就给别人带上人品可疑的帽子。我是该说你把它(人品)看的很重还是很轻。以后我在认真做事的同时会离你远远的。
- 2019-01-28时间表
vforvendet_8f72
4:30--8:00:学习MIT课程,只学了微积分的第一课,进度有点忙,希望以后能改进8:00--9:00:做早餐,吃早餐,洗碗9:00--13:15实在撑不住了,睡了四个小时。期间在11点半左右的时候醒过来一次,但因为懒,最终又睡了两个小时,到了下午1点15左右了,下次争取改正,改掉自己懒的毛病。13:15--16:15网购的衣柜到了(原先那个已经烂了,无法挂衣服了,只能换掉),拿完快递之后组装
- 2019-01-28
印度洋海域_深蓝
朋友圈中的有些人永远是你温暖心间的地方自己很开心,能对这个话题发表自己的感想——也因为前段时间看到了简友的关于这方面的文章,自己身边也有很多同学在这样做,在屏蔽别人的朋友圈,例如发的广告、发的伤感短文。自己今天就这个事说说自己的看法。首先说说自己的看法:我在上公开了我的WechatID,对于大多数人来说,这是他们的隐私,似乎不会如此做。但是我有我的理由,我只想传递我想传递的positiveener
- 2019-01-28中医西医的区别
廖亿斌
中医西医有什么区别?这可算是一个千古难题了,出现了一些偏西医派(基本上完全抵制中医),偏中医派(抵制诋毁中医的群体,哪有诋毁哪就有他们),还有吃瓜群众~看过知乎上一些文章,对这问题的讨论可谓热火朝天,互掐是正常的事。更新个名词:把中医叫传统医学,西医叫现代医学,人们常常拿第一个问题撕,其实没有必要,特别是把中医列入伪科学行列,仅对伪科学一词,个人觉得这就是个贬义词。其次“科学”的定义又是怎样的?没
- 2019-01-28
膳茹堂
膳茹堂老师:宝宝皮肤出问题,肿么办?即使是成年人也很难发现自己的皮肤问题。每个人的皮肤都是不同的,皮疹和痤疮发作的方式也各不相同。婴儿不能告诉你他们的感受,所以你必须注意观察。那么面对宝宝皮肤出问题,家长应该肿么办? 1、婴儿粉刺 皮肤问题:婴儿痤疮通常在出生后2到4周形成。婴儿的脸颊、鼻子和前额上出现了红色或白色的小疙瘩。原因是未知的。它通常会在3到4个月内自行消失,不会留下任何痕迹。要治疗
- 2019-01-28
xym露娜
如果多读书可以解惑请给我一个书单或许是因为总是思考太多,或许被伤得太深,在往事真的清零后我反而感觉到一种巨大的失落空虚感。不再恨恨于什么,没有焦虑,无所谓游离,周围好像与我太不相干,我好像做了很多很多却发现在某一刻我的情绪掏空了。回想往昔岁月,我发现那些充斥着难过压抑愤恨的日子,反而能觉察到它们蓬勃而出的生命力,而如今我寂寞地只剩下未来,幸运的是,我很高兴来到这个时间点,这而未来里有我的精神寄托,
- 2019-01-28
蕊之雪
陪伴越来越少,总是希望他们身边能有一个人一直的守护她们。但是,却总是事与愿违。人,岁数大了,什么都舍不得。大概从那一辈走来的人都是这样吧。她们爱子女,怕麻烦子女,所以总是报喜不报忧。可是,爱也是相互的,我们也应该爱他们啊。在她晚年的时候,可以多多让她顺心。
- 2019-01-28
二宝卷卷妈
出门在外,实在是静不下心来交作业,只能敷衍一下,多多包涵…昨天下午带两宝出去看儿童剧,因为时间是下午3点,太阳很大,从一出门赶地铁,小宝就不是很开心,一路赶到锦城艺术宫,因为看得是光影戏,所以除了舞台有微弱灯光外,漆黑一团,小宝看不懂,百无聊赖,开始犯困,在我怀里迷迷糊糊睡着了,但是因为剧场的背景音乐声音很大,他不断被吵醒,又困又吵,开始大哭起来,我当时有些着急,因为我想看,所以态度有些不耐烦的说
- 14/300 2019-01-28
爱的吸引力
图片发自App陋室铭刘禹锡山不在高,有仙则名。水不在深,有龙则灵。斯是陋室,惟吾德馨。苔痕上阶绿,草色入帘青。谈笑有鸿儒,往来无白丁。可以调素琴,阅金经。无丝竹之乱耳,无案牍之劳形。南阳诸葛庐,西蜀子云亭。孔子云:“何陋之有!”图片发自App图片发自App山不在于高,只要有仙人居住就会出名;水不在于深,只要有蛟龙盘踞就显神灵。这是一间简陋的居室,只是因为我的品德高尚才显得美好。苔痕碧绿,长到阶上,
- 2019-01-28
6310
让心灵强大,让人生走出足够遥远,分三个步骤:第一步走出情绪化的自我,让自己成熟。第二步走向世界,扩大自己的眼界、心胸和格局。第三步,就是要弄清楚,自己想要的是什么,让自己的心,获得自由。
- 2019-01-28
Ru颖随行
图片发自App前两天刚刚过了30岁的生日想了一下我记事后的这些年,要给自己颁个奖状,敬自己不屈不挠的长大吧[偷笑]讲真,我一点儿都不想回到18岁,婴儿肥的圆脸,梳着马尾辫的大奔儿头,一脸无知犯二,我喜欢当下的自己,虽然流失了一半的胶原蛋白,眼神不再清澈,却多了一份从容和坚定[并不简单]还有了可以主宰自己的自由。30岁末,我懂得有人走便有人来。30岁末,我懂了所谓冥冥之中的安排其实也是心之所向。30
- 2019-01-28从键盘循环录入录入一个字符串,输入"end"表示结束
全村的希望_5461
packagehomework;importjava.util.Scanner;/*(1)从键盘循环录入录入一个字符串,输入"end"表示结束(2)将字符串中大写字母变成小写字母,小写字母变成大写字母,其它字符用"*"代替,并统计字母的个数举例:键盘录入:Hello12345World输出结果:hELLO*****wORLD总共10个字母*/publicclassWork3{publicstati
- 2019-01-28
扩张的气球
世界的颜色,是由自己决定的。如果世界是五彩缤纷的,但你的心却是灰暗的,那世界就是单调色的哪怕世界马上就要消失,正在苟延残喘,但你的心却是明亮的,那么在这绝望的时间里,你也能看到光明。
- 2019-01-28
Hi我是伶容
图片发自App今年准备在厦门过年,今天把所有要送礼的亲人的礼品都准备好拉!自己上网买了礼盒,装上自己搭配的礼品,贴上标签就不乱了,看起来也很大气,精致大方得体,拍照发给爸妈看都说不错,哈哈,对这个做法甚是满意。太忙了,又应付了一次作业,惭愧。
- 2019-01-28
冬甜
今日优点就是与外婆说了话,跟外婆唠唠嗑挺好的。外婆也老了,有时间多多跟老人家聊聊天。然后就是也好像没有什么啦。今日缺点就是又懒床啦,虽然目前还没有什么事情。但是我觉得习惯还是要养成,就像曾国蕃说的那样,懒床和睡懒觉的习惯万万不可以有。
- 第四次咨询展示
风雨彩虹1219
焦点中级十期成长分享第231天2019-01-28昨晚的中十网课上,刘老师再次给我们上了一堂咨询展示课。在这堂课上,我也再次领略到了刘老师的优秀品质和咨询风格。一是倾听的能力。当来访者大量陈述自己的纠结和困惑时,刘老师稳稳地坐在那里,不插话、不打断,耐心的等待,认真的倾听,适时给予点头、微笑或皱眉等肢体语言来回应来访者。当来访者叙述一段话后,刘老师能够用精炼的语言精准回应,并精确的问下个问题,层层
- 2019-01-28第27天
Aloha燕子
亲爱的儿子,妈妈爱你,昨晚和姐姐他们一起吃饭,吃饭的过程中,你向他们敬酒,红酒喝的有点多,今天早上,你五点过就醒了,妈妈兑了蜂蜜水,你喝了,感觉舒服了些,妈妈告诉你说,妈妈一早去把车洗了后,再去汽博办公室,你点头答应并用微信给小琴老师发了请假信息。车大约在9点左右洗好,我们一起出门开车到汽博办公室,在路上,你兴奋的告诉妈妈日本音乐天才-米津玄师,是怎样成为成名的,他的代表作有哪些?妈妈很开心,儿子
- 2019-01-28
天文向上
今天早上看到了书恒同学徒步79天的日志,下定一个决心不容易,但是坚持下去不容易,今天看到他的日志走了55公里,不知不觉中都突破了自己的最高记录,一个人的行走,心灵却并孤单,感受到了各种各样的爱和关心,更重要的是可以深层次的和自己的内心交流。今天已经28号,大家都沉浸在放假的氛围中,而我们还在一线战斗,开会,教育,思想引导,一切只为了服务的门店更优秀,更有价值,继续努力加油吧,忙完最后四天,好好休息
- 2019-01-28
阿哩呀
昨晚瞎忙竟忘了见心心…昨天看了几篇文章做了一丢丢笔记…理科的东东也不擅长…看了几篇李清照的词还蛮喜欢才情用字精妙绿肥红瘦,夏来春去,最近一首歌知否就是她如梦令中的词…现在的年代没有她们当时的国难,但家也不是总回的,人也不是总在家里的昨天公司的最后一波下午茶岁岁平安…还有冰糖葫芦,三分钟啃下一个球。好嘛…想起小白十分钟啃下一个球的冰糖葫芦…酸甜苦辣味道还行…岁岁平安是坚果…吃不消了晚上最后一波洗衣服
- 2019-01-28
常庚_c041
姓名:林常庚(365期,乐观3组)单位:深圳市蔚蓝时代商业管理有限公司海南分公司。【日精进打卡第298天】【知~学习《六项精进》2遍共306遍《大学》1遍共288遍《六项精进通篇》0遍共9【经典名句人生是主管世界与客观世界之间的那道沟,掉进去叫失败,爬出来就叫做成功人不容我是我无能,我不容人是我【行~实践一、修身:(对自己二、齐家:(对家庭和家爸爸妈妈聊天三、建功:(对工作休假行政对接会积善:发愿
- 2019-01-28
一直是沐子雪
01、教育是一个下意识地重装大脑的过程。02、我们接收信息、理解信息和认知信息的方式,是已然在我们的大脑中构建好的路径。03、并不是专家可以记忆更多信息,是因为他们知道应该记忆什么,经验的获取来之不易且作用非常强大,这些经验使人们用超出他人理解的方式来指导行动。——《大学的终结》图片发自App
- 2019-01-28
温荼清风
即使是“如花美眷”,终也是“似水流年”,再美的脸庞也禁不住时间的冲刷,再靓的神情也掩不住眼角的细纹,再俊的身材也挡不住疾病的侵袭。然而,真正的美丽在于那些永远不会失去的品质。活出上帝形象的时候,才是一个女子最美的时刻。
- 奇妙的大自然(2019-01-28)
熊雅婷
今天早上我和妈妈一起去乡间的小路散步,我们走在路上看到那里风景优美!我就用小鸟和树来告诉大家为什么那里风景优美吧!因为那里树叶都是绿色的,树上还结着橘子,橘子的叶子不停地在向我们招手呢!小鸟在树枝上唱歌,他们的声音非常动听,好像在迎接春姑娘的到来呢!鸟儿的翅膀是棕色的,身体是棕黑色的。他们的身手敏捷,速度非常快,连一条小鱼都躲不过他们的眼睛呢!我边走边对妈妈说大自然可真奇妙呀!
- 2019-01-28
陈QX
刚才在路上,看到两辆车,从我们的车旁冲出,后面的车的司机,左手伸出车窗指着前面的车,先生说,这是典型的路怒症。前面的车压着后面的车,不让他超,后面的车左右游曳,要超前面的车,最终通过迂回,从别的车道,超过前车。并车时两车基本上看不到缝隙。打着双闪,别着前车,即使进了雅山隧道,也压着前车。太可怕,只有小年轻,才会这样,年轻气盛,容不得别人超车,时刻想着自己多牛。这样的人,多么需要走进我们的课堂,学习
- 2019-01-28
格子啊_
#晚安故事#「这是陪你入睡的第15个晚安故事」不要忽略了为你绽放的花文/转我记得大学的时候,琴房老师修剪他的芦荟,把一些他不太喜欢的长歪了的枝桠剪下来,扔进垃圾桶。然后他突然想起来我喜欢养植物,就问我,你要不要呀?我想,这要扔了它不就死了吗,那我就捡回来吧。但是我没有买花盆儿,随便在食堂拿了个打包的一次性纸饭盒儿,装了点儿土,就把他带回来了。当时我还养着一株茉莉,我把它放在那株茉莉旁边。我为了让那
- 312个免费高速HTTP代理IP(能隐藏自己真实IP地址)
yangshangchuan
高速免费superwordHTTP代理
124.88.67.20:843
190.36.223.93:8080
117.147.221.38:8123
122.228.92.103:3128
183.247.211.159:8123
124.88.67.35:81
112.18.51.167:8123
218.28.96.39:3128
49.94.160.198:3128
183.20
- pull解析和json编码
百合不是茶
androidpull解析json
n.json文件:
[{name:java,lan:c++,age:17},{name:android,lan:java,age:8}]
pull.xml文件
<?xml version="1.0" encoding="utf-8"?>
<stu>
<name>java
- [能源与矿产]石油与地球生态系统
comsci
能源
按照苏联的科学界的说法,石油并非是远古的生物残骸的演变产物,而是一种可以由某些特殊地质结构和物理条件生产出来的东西,也就是说,石油是可以自增长的....
那么我们做一个猜想: 石油好像是地球的体液,我们地球具有自动产生石油的某种机制,只要我们不过量开采石油,并保护好
- 类与对象浅谈
沐刃青蛟
java基础
类,字面理解,便是同一种事物的总称,比如人类,是对世界上所有人的一个总称。而对象,便是类的具体化,实例化,是一个具体事物,比如张飞这个人,就是人类的一个对象。但要注意的是:张飞这个人是对象,而不是张飞,张飞只是他这个人的名字,是他的属性而已。而一个类中包含了属性和方法这两兄弟,他们分别用来描述对象的行为和性质(感觉应该是
- 新站开始被收录后,我们应该做什么?
IT独行者
PHPseo
新站开始被收录后,我们应该做什么?
百度终于开始收录自己的网站了,作为站长,你是不是觉得那一刻很有成就感呢,同时,你是不是又很茫然,不知道下一步该做什么了?至少我当初就是这样,在这里和大家一份分享一下新站收录后,我们要做哪些工作。
至于如何让百度快速收录自己的网站,可以参考我之前的帖子《新站让百
- oracle 连接碰到的问题
文强chu
oracle
Unable to find a java Virtual Machine--安装64位版Oracle11gR2后无法启动SQLDeveloper的解决方案
作者:草根IT网 来源:未知 人气:813标签:
导读:安装64位版Oracle11gR2后发现启动SQLDeveloper时弹出配置java.exe的路径,找到Oracle自带java.exe后产生的路径“C:\app\用户名\prod
- Swing中按ctrl键同时移动鼠标拖动组件(类中多借口共享同一数据)
小桔子
java继承swing接口监听
都知道java中类只能单继承,但可以实现多个接口,但我发现实现多个接口之后,多个接口却不能共享同一个数据,应用开发中想实现:当用户按着ctrl键时,可以用鼠标点击拖动组件,比如说文本框。
编写一个监听实现KeyListener,NouseListener,MouseMotionListener三个接口,重写方法。定义一个全局变量boolea
- linux常用的命令
aichenglong
linux常用命令
1 startx切换到图形化界面
2 man命令:查看帮助信息
man 需要查看的命令,man命令提供了大量的帮助信息,一般可以分成4个部分
name:对命令的简单说明
synopsis:命令的使用格式说明
description:命令的详细说明信息
options:命令的各项说明
3 date:显示时间
语法:date [OPTION]... [+FORMAT]
- eclipse内存优化
AILIKES
javaeclipsejvmjdk
一 基本说明 在JVM中,总体上分2块内存区,默认空余堆内存小于 40%时,JVM就会增大堆直到-Xmx的最大限制;空余堆内存大于70%时,JVM会减少堆直到-Xms的最小限制。 1)堆内存(Heap memory):堆是运行时数据区域,所有类实例和数组的内存均从此处分配,是Java代码可及的内存,是留给开发人
- 关键字的使用探讨
百合不是茶
关键字
//关键字的使用探讨/*访问关键词private 只能在本类中访问public 只能在本工程中访问protected 只能在包中和子类中访问默认的 只能在包中访问*//*final 类 方法 变量 final 类 不能被继承 final 方法 不能被子类覆盖,但可以继承 final 变量 只能有一次赋值,赋值后不能改变 final 不能用来修饰构造方法*///this()
- JS中定义对象的几种方式
bijian1013
js
1. 基于已有对象扩充其对象和方法(只适合于临时的生成一个对象):
<html>
<head>
<title>基于已有对象扩充其对象和方法(只适合于临时的生成一个对象)</title>
</head>
<script>
var obj = new Object();
- 表驱动法实例
bijian1013
java表驱动法TDD
获得月的天数是典型的直接访问驱动表方式的实例,下面我们来展示一下:
MonthDaysTest.java
package com.study.test;
import org.junit.Assert;
import org.junit.Test;
import com.study.MonthDays;
public class MonthDaysTest {
@T
- LInux启停重启常用服务器的脚本
bit1129
linux
启动,停止和重启常用服务器的Bash脚本,对于每个服务器,需要根据实际的安装路径做相应的修改
#! /bin/bash
Servers=(Apache2, Nginx, Resin, Tomcat, Couchbase, SVN, ActiveMQ, Mongo);
Ops=(Start, Stop, Restart);
currentDir=$(pwd);
echo
- 【HBase六】REST操作HBase
bit1129
hbase
HBase提供了REST风格的服务方便查看HBase集群的信息,以及执行增删改查操作
1. 启动和停止HBase REST 服务 1.1 启动REST服务
前台启动(默认端口号8080)
[hadoop@hadoop bin]$ ./hbase rest start
后台启动
hbase-daemon.sh start rest
启动时指定
- 大话zabbix 3.0设计假设
ronin47
What’s new in Zabbix 2.0?
去年开始使用Zabbix的时候,是1.8.X的版本,今年Zabbix已经跨入了2.0的时代。看了2.0的release notes,和performance相关的有下面几个:
:: Performance improvements::Trigger related da
- http错误码大全
byalias
http协议javaweb
响应码由三位十进制数字组成,它们出现在由HTTP服务器发送的响应的第一行。
响应码分五种类型,由它们的第一位数字表示:
1)1xx:信息,请求收到,继续处理
2)2xx:成功,行为被成功地接受、理解和采纳
3)3xx:重定向,为了完成请求,必须进一步执行的动作
4)4xx:客户端错误,请求包含语法错误或者请求无法实现
5)5xx:服务器错误,服务器不能实现一种明显无效的请求
- J2EE设计模式-Intercepting Filter
bylijinnan
java设计模式数据结构
Intercepting Filter类似于职责链模式
有两种实现
其中一种是Filter之间没有联系,全部Filter都存放在FilterChain中,由FilterChain来有序或无序地把把所有Filter调用一遍。没有用到链表这种数据结构。示例如下:
package com.ljn.filter.custom;
import java.util.ArrayList;
- 修改jboss端口
chicony
jboss
修改jboss端口
%JBOSS_HOME%\server\{服务实例名}\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml
中找到
<!-- The ports-default bindings are obtained by taking the base bindin
- c++ 用类模版实现数组类
CrazyMizzz
C++
最近c++学到数组类,写了代码将他实现,基本具有vector类的功能
#include<iostream>
#include<string>
#include<cassert>
using namespace std;
template<class T>
class Array
{
public:
//构造函数
- hadoop dfs.datanode.du.reserved 预留空间配置方法
daizj
hadoop预留空间
对于datanode配置预留空间的方法 为:在hdfs-site.xml添加如下配置
<property>
<name>dfs.datanode.du.reserved</name>
<value>10737418240</value>
 
- mysql远程访问的设置
dcj3sjt126com
mysql防火墙
第一步: 激活网络设置 你需要编辑mysql配置文件my.cnf. 通常状况,my.cnf放置于在以下目录: /etc/mysql/my.cnf (Debian linux) /etc/my.cnf (Red Hat Linux/Fedora Linux) /var/db/mysql/my.cnf (FreeBSD) 然后用vi编辑my.cnf,修改内容从以下行: [mysqld] 你所需要: 1
- ios 使用特定的popToViewController返回到相应的Controller
dcj3sjt126com
controller
1、取navigationCtroller中的Controllers
NSArray * ctrlArray = self.navigationController.viewControllers;
2、取出后,执行,
[self.navigationController popToViewController:[ctrlArray objectAtIndex:0] animated:YES
- Linux正则表达式和通配符的区别
eksliang
正则表达式通配符和正则表达式的区别通配符
转载请出自出处:http://eksliang.iteye.com/blog/1976579
首先得明白二者是截然不同的
通配符只能用在shell命令中,用来处理字符串的的匹配。
判断一个命令是否为bash shell(linux 默认的shell)的内置命令
type -t commad
返回结果含义
file 表示为外部命令
alias 表示该
- Ubuntu Mysql Install and CONF
gengzg
Install
http://www.navicat.com.cn/download/navicat-for-mysql
Step1: 下载Navicat ,网址:http://www.navicat.com/en/download/download.html
Step2:进入下载目录,解压压缩包:tar -zxvf navicat11_mysql_en.tar.gz
- 批处理,删除文件bat
huqiji
windowsdos
@echo off
::演示:删除指定路径下指定天数之前(以文件名中包含的日期字符串为准)的文件。
::如果演示结果无误,把del前面的echo去掉,即可实现真正删除。
::本例假设文件名中包含的日期字符串(比如:bak-2009-12-25.log)
rem 指定待删除文件的存放路径
set SrcDir=C:/Test/BatHome
rem 指定天数
set DaysAgo=1
- 跨浏览器兼容的HTML5视频音频播放器
天梯梦
html5
HTML5的video和audio标签是用来在网页中加入视频和音频的标签,在支持html5的浏览器中不需要预先加载Adobe Flash浏览器插件就能轻松快速的播放视频和音频文件。而html5media.js可以在不支持html5的浏览器上使video和audio标签生效。 How to enable <video> and <audio> tags in
- Bundle自定义数据传递
hm4123660
androidSerializable自定义数据传递BundleParcelable
我们都知道Bundle可能过put****()方法添加各种基本类型的数据,Intent也可以通过putExtras(Bundle)将数据添加进去,然后通过startActivity()跳到下一下Activity的时候就把数据也传到下一个Activity了。如传递一个字符串到下一个Activity
把数据放到Intent
- C#:异步编程和线程的使用(.NET 4.5 )
powertoolsteam
.net线程C#异步编程
异步编程和线程处理是并发或并行编程非常重要的功能特征。为了实现异步编程,可使用线程也可以不用。将异步与线程同时讲,将有助于我们更好的理解它们的特征。
本文中涉及关键知识点
1. 异步编程
2. 线程的使用
3. 基于任务的异步模式
4. 并行编程
5. 总结
异步编程
什么是异步操作?异步操作是指某些操作能够独立运行,不依赖主流程或主其他处理流程。通常情况下,C#程序
- spark 查看 job history 日志
Stark_Summer
日志sparkhistoryjob
SPARK_HOME/conf 下:
spark-defaults.conf 增加如下内容
spark.eventLog.enabled true spark.eventLog.dir hdfs://master:8020/var/log/spark spark.eventLog.compress true
spark-env.sh 增加如下内容
export SP
- SSH框架搭建
wangxiukai2015eye
springHibernatestruts
MyEclipse搭建SSH框架 Struts Spring Hibernate
1、new一个web project。
2、右键项目,为项目添加Struts支持。
选择Struts2 Core Libraries -<MyEclipes-Library>
点击Finish。src目录下多了struts