- 谁家酒器最绝唱,藏在酒厂人未知?景阳冈酒厂先秦藏品大揭秘
李虓酒评论
文/王赛时中国的酒器酒具历史久远,举世闻名。从北京的故宫博物院、中国国家博物馆,到世界各国的大型博物馆,都以能够收藏中国古代酒具而夸耀。但很少有人知道,在山东阳谷景阳冈酒厂,默默地收藏了两千件中国酒器。这些酒器,就封藏在景阳冈的酒道馆里。其中有一些青铜酒器,一睡就是三、四千年,堪称无声国宝,堪作无字史书!今天,我将引领诸位首先窥视一下景阳冈酒道馆的9件先秦藏品,你自己来说震撼不震撼。提示:这只是景
- OPENAIGC开发者大赛企业组AI黑马奖 | AIGC数智传媒解决方案
RPA中国
人工智能AIGC传媒
在第二届拯救者杯OPENAIGC开发者大赛中,涌现出一批技术突出、创意卓越的作品。为了让这些优秀项目被更多人看到,我们特意开设了优秀作品报道专栏,旨在展示其独特之处和开发者的精彩故事。无论您是技术专家还是爱好者,希望能带给您不一样的知识和启发。让我们一起探索AIGC的无限可能,见证科技与创意的完美融合!创未来AI应用赛-企业组AI黑马奖作品名称:AIGC数智传媒解决方案参赛团队:深圳市三象智能技术
- 高中抓住这两招,帮你实现从学渣到学霸的逆袭
以读攻独
富兰克林曾说:“宝贝放错了地方便是废物。”一句话戳中了“位置”的重要性。大多数人,最初对位置的明显感受,似乎就来源于上高中时的座位:成绩好的,坐前排,那里安静,学习氛围浓,受关注度高;成绩差的坐后面,嘈杂,充斥着汗味、食品味、香水味,也经常被点名。所以,位置不仅代表了分数,也给你打上了“学渣”或“学霸”的标签。在《逆袭》这本书中,就真实地讲述一个参加了2014年高考的高中生,用三年的奋斗史,从班级
- 济宁高新区“路长制”8月28日工作日志
JNSGAJGXQFJ
【工作日志】一、洸河路“路长制”工作每日战报【早高峰巡逻】凯赛中队与高新区特警早高峰巡逻【平峰治理】凯赛中队与高新区特警平峰巡逻【晚高峰巡逻】凯赛中队与高新区特警在商检岗集合晚高峰巡逻二、吴泰闸路“路长制”工作每日战报【早高峰巡逻】圣地岗和贵和岗巡逻劝导非机动车走机动车道等重点违法行为,在重点路段疏导交通。【平峰巡逻】吴泰闸中队治理乱停乱放【晚高峰巡逻】圣地岗和贵和岗巡逻劝导非机动车走机动车道等重
- 2024年华为杯数学建模研赛C题思路代码+论文助攻
DS数模
2024华为杯数学建模华为2024华为杯2024研究生数学建模2024研赛
2024年华为杯研究生数学建模竞赛(以下简研赛)将于9月21日上午8时正式开始。下文包含:2024研赛思路解析、研赛参赛时间及规则信息说明、好用的数模技巧及如何备战数学建模竞赛C君将会第一时间发布选题建议、所有题目的思路解析、相关代码、参考文献、参考论文等多项资料,帮助大家取得好成绩。2024年研赛将于9月21日上午8时正式开始这里有些资料,大家可以看看:【2024最全国赛研赛数模资料包】C君珍贵
- 留住那一天
临泽四中领读者初三10班代友婷
那天,阳光明媚,微风正好;那天,空气中洋溢着喜悦的气息;那天,笑容在我们的脸上定格。我想,留住那一天。为期两天的运动会,承载着我许多快乐的回忆。还记得,走方阵时,大家神情严肃,姿势端正,齐刷刷的走过主席台。每个人都用尽自己最大的力气喊出我们的梦想,喊出那16个字:“晨曦晨曦,旭日朝阳,初露锋芒,必然夺冠!”是的,我们是晨曦班,充满朝气的晨曦班,为梦想而努力奋斗的晨曦班!还记得,跑接力赛时,运动员们
- 2023-03-24
卯金刀_fafd
美丽的伊犁河谷流失大半的伤痛伊犁河谷是祖国新疆一块美丽湿润的土地,有赛江南之美誉,这里风景秀丽,美如诗画,是中国最西部的湿地,在干旱的中亚是非常难得的一片肥美良田;原本整个伊犁河谷都是中国的领土,由于晚清腐败,导致失去了大片伊犁河谷,最终只留下小部分的土地,这是祖国的痛,这么美丽的土地失去了是整个中华民族永不可忘的痛,这一切的原因都是由于中俄《伊犁条约》签订。19世纪60~70年代,中国西北地区发
- 七绝 油菜花
清风8351
看图作诗油菜花开遍地黄,文人墨客赛诗章。他言色彩太单调,我道纯洁蕊更香。仄仄平平仄仄平,平平仄仄仄平平。平平仄仄平平仄,仄仄平平仄仄平。----作品----油菜花开遍地黄【黄:十唐】押韵文人墨客赛诗章【章:十唐】押韵他言色彩太单调我道纯洁蕊更香【香:十唐】押韵---检测结果(中华新韵)---存在多音字:单调更,请根据词意判断平仄平仄符合要求,请留意多音字!
- 华为USG6000E-S12防火墙Key exchange failed.无法SSH解决方案
redmond88
网络技术ssh华为运维
由于目前防火墙算法太新,导致crt和xshell的版本无法登陆,按以下方法解决一、下载华为本地加载除弱安全算法组件包之外的组件包https://download.csdn.net/download/redmond88/89620664?spm=1001.2014.3001.5503二、先改后缀名为.cfg,上传文件到防火墙三、在用户视图下改后缀名为.mod四、move文件到$_install_mo
- 我得了奖状
小痘痘胡
上周五学校组织手工作品大奖赛。要求让我们做一幅作品,回到家,我考虑了半天才想到要做什么。我利用。以前没用完的魔珠做了一幅潜水艇和武装艇。周一我到学校去,同学们都把作品带到学校来了。有的做飞机,有的做杯子,还有的是做的是赛车。看到同学们的作品,感觉他们好厉害呀!肯定下了不少功夫。经过领导和老师的评比,我得了二等奖,我非常开心!争取图片发自App下次科技节我还要得奖状。
- 平昌冬奥,人生竞赛不要给对手和裁判任何机会
小猫_003e
如火如荼的平昌冬奥会拉下了帷幕,但是自从某年的伦敦奥运会之后,我们中国队自从好像就“最爱干犯规的事儿”。2月20日,短道速滑女子3000米接力赛,可以说是相当令人痛心了。比赛中,韩国队交接棒失误“扑街”,阻拦了加拿大队,带来的连锁反应也影响了中国队。中国队以微弱劣势落后韩国队,第二个冲线!韩国队这次失误犯规那么明显,应该唱费玉清的我送你离开千里之外。但···最终赛场上裁判宣布:韩国队冠军,中国队、
- FPGA随记——赛灵思OOC功能
一口一口吃成大V
FPGA随记fpga开发
在这里,我们简要介绍一下Vivado的OOC(Out-of-Context)综合的概念。对于顶层设计,Vivado使用自顶向下的全局(Global)综合方式,将顶层之下的所有逻辑模块都进行综合,但是设置为OOC方式的模块除外,它们独立于顶层设计而单独综合。通常,在整个设计周期中,顶层设计会被多次修改并综合。但有些子模块在创建完毕之后不会因为顶层设计的修改而被修改,如IP,它们被设置为OOC综合方式
- 深度学习--对抗生成网络(GAN, Generative Adversarial Network)
Ambition_LAO
深度学习生成对抗网络
对抗生成网络(GAN,GenerativeAdversarialNetwork)是一种深度学习模型,由IanGoodfellow等人在2014年提出。GAN主要用于生成数据,通过两个神经网络相互对抗,来生成以假乱真的新数据。以下是对GAN的详细阐述,包括其概念、作用、核心要点、实现过程、代码实现和适用场景。1.概念GAN由两个神经网络组成:生成器(Generator)和判别器(Discrimina
- 芭睿芭睿:开启生物护肤之门 缔造美丽奇迹
3adced8f1ee8
生物护肤并不是营销噱头,是人类对生物科学的一种新认识和新体验。美国JDD皮肤科药学临床杂志在其2014年第13刊中就写道:护肤品已经从低端的物理防护和中等精细化学上升到了生物护肤时代。一个偶然的机会,在一次世界高级化妆品配方师闭门研讨会中,强微特公司的生物科学家们当时了解到:“在世界化妆品原料中,90%以上是化学合成原料,生物原料只占比不到10%,但恰恰是这10%能够真正引导皮肤自我修护”。强微特
- 乐享生活2014.6.18
乐享生活
上午下班后去完成了一件拖了很久的事情,洽谈得不错,静候佳音吧。下午,妞提出自己坐车去田心。我很赞同,放学后帮她拿了书包(实在太重不忍让她背那么长时间),就自己骑车先去了鼓室。到了鼓室待了一会打电话想问问妞到哪了,却一直不接电话,这会开始有点着急了,不时看看门外。不多会,小妞自己到了鼓室。呵呵,又一次挑战成功。回家后,妞想吃手抓饼,同意了,她自己煎,顺便帮我做了个,味道不错。晚上将学习的亲子阅读技巧
- 【足坛简讯】9月2日足坛简讯及比赛预告
神州足球
【足坛简讯】9月2日足坛简讯及比赛预告9月2日足坛简讯与比赛预告比赛结果✍️意甲第3轮:十人米兰2-1罗马三连胜领跑莱奥凌空斩吉鲁点射托莫里染红✍️德甲第3轮:两连平!多特连丢两球2-2遭升班马海登海姆扳平布兰特凌空斩✍️沙特联:米特洛维奇戴帽本泽马破门新月连入三球4-3逆转吉达联合✍️热身赛:中国国奥1-0土库曼斯坦国奥,艾菲尔丁制胜球国内足坛✍️明日之星足球赛:上海队点球憾负曼城,大阪樱花蔚山
- 壹 顺应天性,无为而治【3】
作家雪漠
2014年夏天,我们从岭南开车回西部,然后专门对西部进行了考察。那两个月中,我们几乎横穿了大半个中国。我们发现,全国各地都在搞建设,而建设和开发的另一面,就是对大自然的破坏。有人甚至填平了大渡河的河床,在河床上盖楼房。楼体的旁边,就是汹涌的大渡河。当时我就在想,如果发大水,这里肯定会发生灾难性的事故。这些情况,不知道开发商为什么没有考虑过呢?很多时候,人在欲望——有时已经谈不上生存了,纯粹是一种欲
- 精读论语复盘:用跨越千年的时代瑰宝为人生加持
慢慢学说话
21天的精读论语训练营告于段落,回顾我的学习历程,每个阶段的学习都认真听讲,结合自身实际提炼总结卡文,每篇卡文都荣幸的推选为精选。积极参加班级的思启活动,与书友们分享了《赞美的力量》和《从拆弹专家到炸弹专家,一场心灵的自我救赎》,结合论语启发思考。参与小组PK和班级PK活动,撰写了小组PK赛中论语大辩论的脚本,并担任辩论主持,撰写了班级PK赛中《上位风波》的脚本并饰演同事小赵,都取得的不错的成绩。
- 狼牙山人-画家张国富原创写意作品剖析第17帧《大荔图》
张国富字腴田
狼牙山人-画家张国富原创写意作品剖析第17帧《大荔图》2014年8月张国富原創寫意作品《大荔圖》。
- 当姨妈遇见马拉松赛事,该怎么破
语非年
图片发自App凌晨4:30分匆匆洗漱出门,到5:10分集合点与团长、许总车自驾前往参赛地(漳州市华安县),车上听说参赛点大雨倾盆,本来就有心无意参赛的(没雨就跑,有雨弃赛),果不其然在进入华安县的时候就遇瓢泼大雨,于是与如风大神们说笑着,若到起跑点还是这般大雨就弃赛。因都身体抱恙。所幸,天工不负有心人,到达目的地存包直到开跑,雨奇迹般的停了。临近比赛的前三天正好生理期,在纠结去还是不去的时候,内心
- 12312312
二进制掌控者
c++
c语言中的小小白-CSDN博客c语言中的小小白关注算法,c++,c语言,贪心算法,链表,mysql,动态规划,后端,线性回归,数据结构,排序算法领域.https://blog.csdn.net/bhbcdxb123?spm=1001.2014.3001.5343给大家分享一句我很喜欢我话:知不足而奋进,望远山而前行!!!铁铁们,成功的路上必然是孤独且艰难的,但是我们不可以放弃,远山就在前方,但我们
- 你知道什么是回调函数吗?
二进制掌控者
#C语言专栏c语言开发语言
c语言中的小小白-CSDN博客c语言中的小小白关注算法,c++,c语言,贪心算法,链表,mysql,动态规划,后端,线性回归,数据结构,排序算法领域.https://blog.csdn.net/bhbcdxb123?spm=1001.2014.3001.5343给大家分享一句我很喜欢我话:知不足而奋进,望远山而前行!!!铁铁们,成功的路上必然是孤独且艰难的,但是我们不可以放弃,远山就在前方,但我们
- 基于YOLOV5人脸检测打上码赛克
Deep-white
YOLO人工智能深度学习
还在为自己的隐私而烦恼吗,还在为拍摄的视频因不想露脸而无法发布吗。yolov5检测人脸,并打上马赛克,保护自己的隐私。只需下载代码,解压缩后就可以传入你想要打马赛克的视频或者图片了。这个是需要你对代码有一些了解的,等我开发一下使大家都可以用。里面权重已经训练好了,也有一些人脸的数据集,数据量不多,训练完的权重不是很好,但是给自己的视频打上马赛克足够了。大家要是想去增加数据集,可以使用里面的权重利用
- 2019-03-11
英娟儿
【今日回顾】01完成求学模块第一天打卡。02认真备课。03点评战队任务报名。04浏览了老铁们的今日打卡文。05看书《有效学习》第二章,完成输出。06看书《信任的速度》,列出读书计划。07收拾屋子。08听大群一周学委关于正面管教的分享。【运营经验】01主动分享。昨天晚上北纬老铁在实战班分享自己在定位模块带领排群老铁打卡的经历,对他来说是一次复盘,也让我们学习到了很多东西。今天赛先生在群里分享了关于动
- 初级练习[3]:Hive SQL子查询应用
大数据深度洞察
Hivehivesqlhadoop数据仓库大数据数据库
目录环境准备看如下链接子查询查询所有课程成绩均小于60分的学生的学号、姓名查询没有学全所有课的学生的学号、姓名解释:没有学全所有课,也就是该学生选修的课程数<总的课程数。查询出只选修了三门课程的全部学生的学号和姓名环境准备看如下链接环境准备https://blog.csdn.net/qq_45115959/article/details/142057624?spm=1001.2014.3001.5
- 惊喜!国足福将被施密特神奇复活,他的作用比肩外援,里皮开心了
枫桥落夜
2018年7月22日晚,北京工人体育场进行了一场精彩激烈的新京津德比大战,由北京中赫国安对阵天津权健。这是一场强强对话,天津权健是上赛季的中超第三名,亚冠也打进了8强,实力强劲。而北京国安联赛已经11轮不败,领跑积分榜,本赛季是奔着冠军而去的。北京中赫国安本场比赛是有非常大的优势的,因为他们的内外援齐整,巴西国脚奥古斯托从世界杯回来也已经归队,而权健的维特赛尔和莫德斯特都还没有回来,只能有两外援上
- 第11届易趣玩国学思维打卡挑战赛结营仪式。(2)
雪霁晴空喜迎春
高清秀老师:全场最爱学习最尊敬的大朋友小朋友们大家晚上好,非常感谢主持人的介绍,我是来自广州从化的高清秀,很荣幸在这个平台与大家一起学习成长,非常感谢毛老师,感谢德学书苑,也感谢统筹打卡活动,所有的义工老师们的付出,谢谢你们的大爱,你们辛苦了。本人呢,非常荣幸参加第11届一区玩国学思维打卡挑战赛,这也是我参加的第二届打卡活动,在这一届打卡学习当中,我还担任担任了讲师,那现在呢,就代表我们讲师组做一
- 女子120元把丈夫卖给小三
苏晓萌
女子120元把丈夫卖给小三——婚姻一次不忠百次不用近日,外媒网上报道非洲国家肯尼亚的一名女子,在发现丈夫有小三之后,将丈夫作价大约120RMB卖给了小三,据说她和小三俩人还就价格问题砍价了……这波操作太牛了,简直让人敬佩。这位牛人的说法是不准备挽回这段婚姻,不想把2019的晦气留到2020年,还把拿到手的钱用来给孩子买衣服了。其实肯尼亚的女性地位很低,该国在2014年3月通过了一夫多妻的法案,在这
- 胡说八道
喝豆奶的大橘子
我真的了解你么?你扛不住压力,凡事沾上压力,你就会成一只鸵鸟,身体诚实的逃避,内心却越发的焦虑。一直觉得写日记矫情,也没有坚持的毅力,所以日记不适合你。就在这儿随便写两句吧。今天看到一段文字,不想复制粘贴,就一个字一个字打给你看:有人曾在赛亚柏林晚年的时候问他:“您为什么可以获得者如此安然愉快呢?”他的回答是:“愉快,来源于浅薄,别人不晓得,我总是生活在表层。”作者用了一个很有意思的比方,她描述了
- 2024世界技能大赛某省选拔赛“网络安全项目”B模块--数据包分析(SMB流量)
落寞的魚丶
web安全安全2024世界技能大赛选拔赛网络安全B模块SMB流量分析
2024世界技能大赛某省选拔赛“网络安全项目”B模块--数据包分析③任务二、网络数据包分析取证解析:总结:任务二、网络数据包分析取证解析:A集团的网络安全监控系统发现有恶意攻击者对集团官方网站进行攻击,并抓取了部分可疑流量包。请您根据捕捉到的流量包,搜寻出网络攻击线索,并分析黑客的恶意行为。本任务素材清单:捕获的网络数据包文件(*.pcap)请按答题卡的要求完成该部分的工作任务。序号任务要求11.
- mongodb3.03开启认证
21jhf
mongodb
下载了最新mongodb3.03版本,当使用--auth 参数命令行开启mongodb用户认证时遇到很多问题,现总结如下:
(百度上搜到的基本都是老版本的,看到db.addUser的就是,请忽略)
Windows下我做了一个bat文件,用来启动mongodb,命令行如下:
mongod --dbpath db\data --port 27017 --directoryperdb --logp
- 【Spark103】Task not serializable
bit1129
Serializable
Task not serializable是Spark开发过程最令人头疼的问题之一,这里记录下出现这个问题的两个实例,一个是自己遇到的,另一个是stackoverflow上看到。等有时间了再仔细探究出现Task not serialiazable的各种原因以及出现问题后如何快速定位问题的所在,至少目前阶段碰到此类问题,没有什么章法
1.
package spark.exampl
- 你所熟知的 LRU(最近最少使用)
dalan_123
java
关于LRU这个名词在很多地方或听说,或使用,接下来看下lru缓存回收的实现
1、大体的想法
a、查询出最近最晚使用的项
b、给最近的使用的项做标记
通过使用链表就可以完成这两个操作,关于最近最少使用的项只需要返回链表的尾部;标记最近使用的项,只需要将该项移除并放置到头部,那么难点就出现 你如何能够快速在链表定位对应的该项?
这时候多
- Javascript 跨域
周凡杨
JavaScriptjsonp跨域cross-domain
 
- linux下安装apache服务器
g21121
apache
安装apache
下载windows版本apache,下载地址:http://httpd.apache.org/download.cgi
1.windows下安装apache
Windows下安装apache比较简单,注意选择路径和端口即可,这里就不再赘述了。 2.linux下安装apache:
下载之后上传到linux的相关目录,这里指定为/home/apach
- FineReport的JS编辑框和URL地址栏语法简介
老A不折腾
finereportweb报表报表软件语法总结
JS编辑框:
1.FineReport的js。
作为一款BS产品,browser端的JavaScript是必不可少的。
FineReport中的js是已经调用了finereport.js的。
大家知道,预览报表时,报表servlet会将cpt模板转为html,在这个html的head头部中会引入FineReport的js,这个finereport.js中包含了许多内置的fun
- 根据STATUS信息对MySQL进行优化
墙头上一根草
status
mysql 查看当前正在执行的操作,即正在执行的sql语句的方法为:
show processlist 命令
mysql> show global status;可以列出MySQL服务器运行各种状态值,我个人较喜欢的用法是show status like '查询值%';一、慢查询mysql> show variab
- 我的spring学习笔记7-Spring的Bean配置文件给Bean定义别名
aijuans
Spring 3
本文介绍如何给Spring的Bean配置文件的Bean定义别名?
原始的
<bean id="business" class="onlyfun.caterpillar.device.Business">
<property name="writer">
<ref b
- 高性能mysql 之 性能剖析
annan211
性能mysqlmysql 性能剖析剖析
1 定义性能优化
mysql服务器性能,此处定义为 响应时间。
在解释性能优化之前,先来消除一个误解,很多人认为,性能优化就是降低cpu的利用率或者减少对资源的使用。
这是一个陷阱。
资源时用来消耗并用来工作的,所以有时候消耗更多的资源能够加快查询速度,保持cpu忙绿,这是必要的。很多时候发现
编译进了新版本的InnoDB之后,cpu利用率上升的很厉害,这并不
- 主外键和索引唯一性约束
百合不是茶
索引唯一性约束主外键约束联机删除
目标;第一步;创建两张表 用户表和文章表
第二步;发表文章
1,建表;
---用户表 BlogUsers
--userID唯一的
--userName
--pwd
--sex
create
- 线程的调度
bijian1013
java多线程thread线程的调度java多线程
1. Java提供一个线程调度程序来监控程序中启动后进入可运行状态的所有线程。线程调度程序按照线程的优先级决定应调度哪些线程来执行。
2. 多数线程的调度是抢占式的(即我想中断程序运行就中断,不需要和将被中断的程序协商)
a) 
- 查看日志常用命令
bijian1013
linux命令unix
一.日志查找方法,可以用通配符查某台主机上的所有服务器grep "关键字" /wls/applogs/custom-*/error.log
二.查看日志常用命令1.grep '关键字' error.log:在error.log中搜索'关键字'2.grep -C10 '关键字' error.log:显示关键字前后10行记录3.grep '关键字' error.l
- 【持久化框架MyBatis3一】MyBatis版HelloWorld
bit1129
helloworld
MyBatis这个系列的文章,主要参考《Java Persistence with MyBatis 3》。
样例数据
本文以MySQL数据库为例,建立一个STUDENTS表,插入两条数据,然后进行单表的增删改查
CREATE TABLE STUDENTS
(
stud_id int(11) NOT NULL AUTO_INCREMENT,
- 【Hadoop十五】Hadoop Counter
bit1129
hadoop
1. 只有Map任务的Map Reduce Job
File System Counters
FILE: Number of bytes read=3629530
FILE: Number of bytes written=98312
FILE: Number of read operations=0
FILE: Number of lar
- 解决Tomcat数据连接池无法释放
ronin47
tomcat 连接池 优化
近段时间,公司的检测中心报表系统(SMC)的开发人员时不时找到我,说用户老是出现无法登录的情况。前些日子因为手头上 有Jboss集群的测试工作,发现用户不能登录时,都是在Tomcat中将这个项目Reload一下就好了,不过只是治标而已,因为大概几个小时之后又会 再次出现无法登录的情况。
今天上午,开发人员小毛又找到我,要我协助将这个问题根治一下,拖太久用户难保不投诉。
简单分析了一
- java-75-二叉树两结点的最低共同父结点
bylijinnan
java
import java.util.LinkedList;
import java.util.List;
import ljn.help.*;
public class BTreeLowestParentOfTwoNodes {
public static void main(String[] args) {
/*
* node data is stored in
- 行业垂直搜索引擎网页抓取项目
carlwu
LuceneNutchHeritrixSolr
公司有一个搜索引擎项目,希望各路高人有空来帮忙指导,谢谢!
这是详细需求:
(1) 通过提供的网站地址(大概100-200个网站),网页抓取程序能不断抓取网页和其它类型的文件(如Excel、PDF、Word、ppt及zip类型),并且程序能够根据事先提供的规则,过滤掉不相干的下载内容。
(2) 程序能够搜索这些抓取的内容,并能对这些抓取文件按照油田名进行分类,然后放到服务器不同的目录中。
- [通讯与服务]在总带宽资源没有大幅增加之前,不适宜大幅度降低资费
comsci
资源
降低通讯服务资费,就意味着有更多的用户进入,就意味着通讯服务提供商要接待和服务更多的用户,在总体运维成本没有由于技术升级而大幅下降的情况下,这种降低资费的行为将导致每个用户的平均带宽不断下降,而享受到的服务质量也在下降,这对用户和服务商都是不利的。。。。。。。。
&nbs
- Java时区转换及时间格式
Cwind
java
本文介绍Java API 中 Date, Calendar, TimeZone和DateFormat的使用,以及不同时区时间相互转化的方法和原理。
问题描述:
向处于不同时区的服务器发请求时需要考虑时区转换的问题。譬如,服务器位于东八区(北京时间,GMT+8:00),而身处东四区的用户想要查询当天的销售记录。则需把东四区的“今天”这个时间范围转换为服务器所在时区的时间范围。
- readonly,只读,不可用
dashuaifu
jsjspdisablereadOnlyreadOnly
readOnly 和 readonly 不同,在做js开发时一定要注意函数大小写和jsp黄线的警告!!!我就经历过这么一件事:
使用readOnly在某些浏览器或同一浏览器不同版本有的可以实现“只读”功能,有的就不行,而且函数readOnly有黄线警告!!!就这样被折磨了不短时间!!!(期间使用过disable函数,但是发现disable函数之后后台接收不到前台的的数据!!!)
- LABjs、RequireJS、SeaJS 介绍
dcj3sjt126com
jsWeb
LABjs 的核心是 LAB(Loading and Blocking):Loading 指异步并行加载,Blocking 是指同步等待执行。LABjs 通过优雅的语法(script 和 wait)实现了这两大特性,核心价值是性能优化。LABjs 是一个文件加载器。RequireJS 和 SeaJS 则是模块加载器,倡导的是一种模块化开发理念,核心价值是让 JavaScript 的模块化开发变得更
- [应用结构]入口脚本
dcj3sjt126com
PHPyii2
入口脚本
入口脚本是应用启动流程中的第一环,一个应用(不管是网页应用还是控制台应用)只有一个入口脚本。终端用户的请求通过入口脚本实例化应用并将将请求转发到应用。
Web 应用的入口脚本必须放在终端用户能够访问的目录下,通常命名为 index.php,也可以使用 Web 服务器能定位到的其他名称。
控制台应用的入口脚本一般在应用根目录下命名为 yii(后缀为.php),该文
- haoop shell命令
eksliang
hadoophadoop shell
cat
chgrp
chmod
chown
copyFromLocal
copyToLocal
cp
du
dus
expunge
get
getmerge
ls
lsr
mkdir
movefromLocal
mv
put
rm
rmr
setrep
stat
tail
test
text
- MultiStateView不同的状态下显示不同的界面
gundumw100
android
只要将指定的view放在该控件里面,可以该view在不同的状态下显示不同的界面,这对ListView很有用,比如加载界面,空白界面,错误界面。而且这些见面由你指定布局,非常灵活。
PS:ListView虽然可以设置一个EmptyView,但使用起来不方便,不灵活,有点累赘。
<com.kennyc.view.MultiStateView xmlns:android=&qu
- jQuery实现页面内锚点平滑跳转
ini
JavaScripthtmljqueryhtml5css
平时我们做导航滚动到内容都是通过锚点来做,刷的一下就直接跳到内容了,没有一丝的滚动效果,而且 url 链接最后会有“小尾巴”,就像#keleyi,今天我就介绍一款 jquery 做的滚动的特效,既可以设置滚动速度,又可以在 url 链接上没有“小尾巴”。
效果体验:http://keleyi.com/keleyi/phtml/jqtexiao/37.htmHTML文件代码:
&
- kafka offset迁移
kane_xie
kafka
在早前的kafka版本中(0.8.0),offset是被存储在zookeeper中的。
到当前版本(0.8.2)为止,kafka同时支持offset存储在zookeeper和offset manager(broker)中。
从官方的说明来看,未来offset的zookeeper存储将会被弃用。因此现有的基于kafka的项目如果今后计划保持更新的话,可以考虑在合适
- android > 搭建 cordova 环境
mft8899
android
1 , 安装 node.js
http://nodejs.org
node -v 查看版本
2, 安装 npm
可以先从 https://github.com/isaacs/npm/tags 下载 源码 解压到
- java封装的比较器,比较是否全相同,获取不同字段名字
qifeifei
非常实用的java比较器,贴上代码:
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.JsonConfig;
i
- 记录一些函数用法
.Aky.
位运算PHP数据库函数IP
高手们照旧忽略。
想弄个全天朝IP段数据库,找了个今天最新更新的国内所有运营商IP段,copy到文件,用文件函数,字符串函数把玩下。分割出startIp和endIp这样格式写入.txt文件,直接用phpmyadmin导入.csv文件的形式导入。(生命在于折腾,也许你们觉得我傻X,直接下载人家弄好的导入不就可以,做自己的菜鸟,让别人去说吧)
当然用到了ip2long()函数把字符串转为整型数
- sublime text 3 rust
wudixiaotie
Sublime Text
1.sublime text 3 => install package => Rust
2.cd ~/.config/sublime-text-3/Packages
3.mkdir rust
4.git clone https://github.com/sp0/rust-style
5.cd rust-style
6.cargo build --release
7.ctrl