- 阶段总结反思
轻争
马上就要进入10月份了,今天做一下前段时间的总结和反思。前段时间,日更、英语、健身、护肤坚持的比较好。阅读、书法坚持的不好。1.中间被迫停更半个多月,其余时间一直在坚持日更挑战。偶尔也有不想写的时候,就做一下摘抄。因为阅读(输入)没跟上来,所以写作(输出)质量有待进一步加强。2.英语做到了一周至少学习5天,每次不少于30分钟,但是小班课没有跟上更新速度,下一步要争取利用零碎时间补听小班课。3.减肥
- 荒废的一天
青韫
周末,为自己的懒散找了个理由。不过短短几秒钟就“说服”自己今天周末就该休息一下。所以荒废了大半个上午。书也不看了,摘抄也忘了,刚刚想起来日更没写瞬间就凉了。今天一天都干啥了?刷网络小说看了一下午,也不知道时间怎么过得这么快,一下子就这个点了。太难了。到这个时候才觉得,一天又过去了,就这么过去了。还好今天工作上的事情都有效且顺利的做完,不然还真是浪费时间。好吧,看书去了!
- 数据仓库介绍
阿龙的代码在报错
数据分析数据仓库数据库
数据仓库数据仓库的概念数据仓库的主要特征数据仓库的主流开发语言-sql结构化数据sql语句数据仓库的概念数据仓库(英语:DataWarehouse,简称数仓、DW),是一个用于存储、分析、报告的数据系统。数据仓库的目的是构建面向分析的集成化数据环境,分析结果为企业提供决策支持(DecisionSupport)。就是数据仓库只分析数据并不产生数据数据仓库的主要特征1、面向主题主题是一个抽象的概念,是
- 如何控制焦虑?《人性的弱点》摘抄
不找一点借口
萧伯纳把这些总结起来就是:“人们之所以忧虑,就是因为有空闲时间来琢磨自己到底快不快乐。”因此,让我们摩拳擦掌地去忙碌起来吧,不去思考它就可以克服忧虑。忙碌的生活会让你的血液加速循环,让你的思维变得灵活敏锐——让自己一直忙着,这是世界上最便宜、也是最好的一种良药。改掉忧虑习惯的第一条规则:“让自己不停地忙着。忧虑的人一定要让自己沉浸于工作中,否则将挣扎在绝望之中。”要在忧虑毁了你之前,先戒掉忧虑的恶
- 2022-03-22
减一加一
摘抄【原文】12.18季康子患盗,问于孔子。孔子对曰:“苟子之不欲,虽赏之不窃。”【题解】此章孔子谈论的仍是为政为官的道理。上行则下效,为政者的作风对社会的民风影响很大,所以为政者要注意自己的所作所为,要处处做好表率,给百姓以良好的影响。在这里,孔子的话也有所针对,统治者如果欲求过多,对人民强征暴敛,百姓迫于生存,难免沦为盗贼。反之,百姓衣食足而知荣辱,衣食无忧,则人人自爱自重,盗窃之事自然绝迹。
- 《我的个天》
悄然胜无声
作者:戴建业摘抄:认识自我是人生最高的智慧,也是人生最大的难题。小时候我与父亲的关系,不像父子而像仇敌。今天我“声讨”自己的父亲,其实我是在谴责我自己。我是在向过去的自己告别。从自己的痛苦经历,我极其反感“望子成龙”的价值取向,它把深情的父母变成无情的恶魔,它把孩子金色的童年变得一片灰暗。孤独是我青少年时期最深的伤疤。性格上的孤僻与精神上的孤独,是一对天然的难兄难弟。多次挨揍的痛苦经历告诉我:即使
- 一个人的认知里,藏着他读过的每一本书
罗雁儿
读洞见文章,摘抄如下:任正非曾说:“我的工作就是读书,无论去哪儿出差,我都会带上一本书,别人飞机上睡一觉的工夫,300页的书我就翻完了。”在华为,任正非要求高管们有“宽文化背景”。简而言之,就是军事、哲学、政治等各种领域的知识都要有所涉猎。在任正非看来,那些看似跟工作无关的书籍知识,完全可以迁移到生活工作上。30多年来,他一直倡导这个理念并躬身实践着。他从李冰父子治水的故事中得到启示,写了一篇《深
- 全面指南:用户行为从前端数据采集到实时处理的最佳实践
数字沉思
营销流量运营系统架构前端内容运营大数据
引言在当今的数据驱动世界,实时数据采集和处理已经成为企业做出及时决策的重要手段。本文将详细介绍如何通过前端JavaScript代码采集用户行为数据、利用API和Kafka进行数据传输、通过Flink实时处理数据的完整流程。无论你是想提升产品体验还是做用户行为分析,这篇文章都将为你提供全面的解决方案。设计一个通用的ClickHouse表来存储用户事件时,需要考虑多种因素,包括事件类型、时间戳、用户信
- jsp 从后台Map中取值
yank1225
jsp从map取值jsp按key获取map中的对应值springmMVCjsp页面取得map值
在jsp页面有的时候需要从后台传过来的Map中取特定值,并显示在页面上,网上有很多说怎么取值的,但是找了好久很多都是讲的怎么循环取值,如果你需要在table中显示值那该怎么办呢?很多都没有讲,我把我的方法简单介绍下。场景是这样的下面是table的行数据从后台controller返回分页信息,pageInfo.list是当前行数据,item.houseType是数据,但是这个是值(1或者2等等)并不
- vllm在线推理踩坑记
懂点投资的码农
大语言模型ai语言模型python
最近在《AI大模型全栈工程师》课程里看老师推荐使用vllm部署大模型,优点就不详细介绍了,这里摘抄一段来自于Qwen2上手指南对于它的简单介绍:它易于使用,且具有最先进的服务吞吐量、高效的注意力键值内存管理(通过PagedAttention实现)、连续批处理输入请求、优化的CUDA内核等功能。至于原理就先不看了,直接上手部署,以后再来补理论知识。一、vLLM在线推理在Qwen2的上市指南里介绍了v
- 摘抄
紫悦姐
婚姻是柴米油盐酱醋茶,而超市和菜市场,就是装着婚姻本质的地方,只有愿意用心去挑选这些生活的要素,择取最适合你们家庭的那些食材、物品,才能把婚姻经营得越来越好。
- 《爱心与教育》金句摘抄(一)
教育行走林
最近在看李镇西老师的《爱心与教育》,感觉有很多需要摘抄的经典教育“金句”,今天和大家分享几句:1缺乏爱的教育,是伪教育,它用爱取代一切,也不可能有真正的教育。教师还要有职业精神,要有民主与平等的现代意识,要有渊博的学科素养和厚重的文化底蕴,一句话,要有不可替代的专业能力。2教育之爱应该是充满民主精神的爱,民主的核心是对人的尊重。因此,充满民主的爱同样意味着尊重。尊重学生的人,尊重学生的情感,尊重学
- 「经济学人」Streaming-video wars
英语学习社
GameofphonesHBOwillleadAT&T’schallengetoNetflixTimeWarner’scrownjewelmustscaleupwhilemaintainingqualityINLATE2012,justbeforethereleaseof“HouseofCards”,TedSarandos,chiefcontentofficerofNetflix,declared
- 人生如四季,四季必有秋(摘抄)
W_美娴
“春有百花秋有月,夏有凉风冬有雪。若无闲事挂心头,便是人间好时节。”携着黎明梦醒之前的微微凉意,挽着清晨窗外翦翦的风,季节的鼓点敲响了深秋的旋律,年年岁岁,岁岁年年,人生如四季,四季必有秋。曾经站在水之湄,静静地瞭望一地的蓊郁与丰饶,胸膛里跳动着铿锵有力的生命回声。而此刻,默默地遥望万千飞鸟悄悄启程于月亮之上,缠绕的牵牛花与秋虫呢哝一起演绎秋天的乐章。一杯茶,一缕光,都能慰藉生活的忧愁;一卷书,一
- 如何一步步解决 DP 问题
顽强的猫尾草
转载自:https://leetcode.com/problems/house-robber/discuss/156523/From-good-to-great.-How-to-approach-most-of-DP-problems./177934例题在这:Leetcode198.HouseRobber这类特定的问题可以用下面的顺序来处理:总结递归关系递归(自顶向下)递归+数组(自顶向下)迭代+
- 日复盘 5.25我爱我,拥抱神奇的每一天
简尔读书
今日摘抄“着眼于目前的恩福,不要沉溺于过去的悲伤。过去的悲伤,人人都有;目前的恩福,无人会缺。”查尔斯·狄更斯(1812—1870)日期:2020.5.25天气:多云起床:7:40入睡:23:00情绪:平稳一、今日思考&乱想1.每日复盘,每周复盘应该按照什么模式写?2.思考制作复盘的公众号模板3.益伴课程如何分销4.如何把百度脑图运用起来5.大家关于读书&笔记会有哪些问题6.如何让社群更活跃7.益
- 学习论语之摘抄原文
先蕾Everytime的札记
子语[1]鲁大师[2]乐。曰:“乐其可知也:始作,翕[3]如也;从[4]之,纯[5]如也,皦如也,绎如也,以成。”【注释】[1]语(yù):作动词,谈论、告诉的意思。[2]大(tài)师:大师是主管音乐的官员。[3]翕(xī):意为合、聚、协调。[4]从(zòng):意为放纵、展开。[5]纯:美好、和谐。明·张居正:“盖声音之道,与政相通,不但可以养人之性情,而亦可以移易天下之风俗,所系甚重。故孔
- 表演和拉犁的马
_玉_生_
持续打卡第【1860】天玉生-20211207周二一、完成目标1、关注培训后学员打卡情况,除1人以外全员打卡,而且都是大咖,镇江九鼎轩王总、苏州固锝吴董、苏州鑫花溪陈总等等,带动如此高能群,很振奋。2、和静哥沟通课后情况,做好近期各个项目入企和开课安排。3、齐家:打扫卫生、接儿子放学陪着写作业。4、和爸爸、岳父聊天,和姐姐沟通。二、百日筑基活动1、早起:5:20。2、读书:《扫除道》摘抄:“一期一
- 2050中国:以人民为中心的社会主义全面现代化 (论文摘抄)
方小相
到2050年中国的“三步走”党的十八大强调,建设中国特色社会主义,总依据是社会主义初级阶段。这一历史时期可以分为“上半场”和“下半场”。20世纪后半叶是社会主义初级阶段的“上半场”,我国先后经历了两个发展阶段:一是绝对贫困阶段,在极贫水平下,打基础阶段,即社会主义建设时期;二是经济起飞的改革开放阶段,先后经历了温饱阶段和小康水平阶段。进入21世纪是社会主义初级阶段的“下半场”,先后经历两个阶段:一
- 日精进打卡20180807
彤彤_9e38
姓名:刘宇(单位)哈尔滨中央红小月亮超市有限责任公司【日精进打卡第28天】20180807学做六项精进:1.付出不亚于任何人的努力2.要谦虚,不要骄傲3.要每天反省4.活着,就要感谢5.积善行,思利他6.不要有感性的烦恼《京词哲学》----以“是否有利于对方”为基准进行思考判断摘抄:纵观大自然,万物共同生长、和谐共存。“在让自己活下去的同时,也给予对方生存空间。”这便是地球上所有生物共生共存的理念
- DSL
Davisxy
kotlinDSLKotlinokhttp
转载:摘抄自《Kotlin极简教程》-陈光剑DSL是什么DSL(Domain-SpecificLanguage,领域特定语言)指的是专注于特定问题领域的计算机语言(领域专用语言)。不同于通用的计算机语言(GPL),领域特定语言只用在某些特定的领域。比如用来显示网页的HTML语言,以及Emacs所使用的EmacLISP语言等。更加典型的例子是Gradle,它基于Ant和Maven,使用基于Groov
- 读书摘抄之心理健康行业与伦理问题—界限与利益冲突
诗心小鹿
中原焦点团队网络中级五期梁艳分享1163天。2020.08.03由刘新民,杨甫德主编的全国高等学校教材《变态心理学》一书中关于心理健康行业与伦理问题之界限与利益冲突中对界限的描述是:界限可视为咨询关系的框架和限制,规定的来访者和咨询师的角色和规则。鉴于咨询师和来访者之间存在权力差异,加上来访者是自愿参与咨询的,适当的界限可以保护来访者权益。来访者在咨询中暴露自己在情感、认知、人际上的需求和困难,相
- 摘抄学论语
先蕾Everytime的札记
子曰:“管仲之器小哉!”或曰:“管仲俭乎?”曰:“管氏有三归[1],官事不摄[2],焉得俭?”“然则管仲知礼乎?”曰:“邦君树塞门,管氏亦树塞门;邦君为两君之好有反坫[3],管氏亦有反坫。管氏而知礼,孰不知礼?”【注释】[1]三归:相传是三处藏钱币的府库。[2]摄:兼任。[3]反坫:反爵之坫,用土筑成的放酒杯的台子,筑在堂上东西两个柱子之间。古代君主招待别国国君时,放置献过酒的空杯子的土台。宋·朱
- Privacy Policy
Green_Mage
The"CentripetalForceCalculator"apprespectsandprotectstheprivacyofalluserswhousetheservice.Inordertoprovideyouwithmoreaccurateandmorepersonalizedservices,the"CentripetalForceCalculator"appwilluseanddis
- 离线数仓VS实时数仓
james二次元
数据仓库数据仓库大数据
离线数据仓库(OfflineDataWarehouse)和实时数据仓库(Real-timeDataWarehouse)的实施有一些相似之处,但也存在显著的差异。以下是两者在几个关键方面的对比:相同点:数据集成:都需要从多个数据源提取、转换和加载数据(ETL/ELT)。都需要处理数据清洗、去重和规范化,以保证数据的一致性和准确性。数据建模:都需要进行数据建模,设计数据仓库的星型或雪花模型,定义事实表
- 2021-09-25 - 草稿
韩佳桐在英
顺智2021.09.25日课1.语音朗读1分钟摘抄:修养要由内及外,要保持一个好的心态,才能保持一个好的状态。反思:今天参加师门拜师活动,一方面是想要积极参加师门活动,还有也是想多修点学分,但一整天下来收获大于付出。第一次完整的听师爷答疑,师爷说的话句句入心。顺晟师姐还帮我答疑解惑,指明方向。今天见到顺妙、顺言、顺坤、接小娟师妹和顺寰、顺旸、顺昕、顺正、顺翠、顺雅师姐,是那样的亲切,好温暖!感恩所
- 从底层原理上理解ClickHouse 中的稀疏索引
goTsHgo
大数据分布式Clickhouse数据库clickhouse
稀疏索引(SparseIndexes)是ClickHouse中一个重要的加速查询机制。与传统数据库使用的B-Tree或哈希索引不同,ClickHouse的稀疏索引并不是为每一行数据构建索引,而是为数据存储的块或部分数据生成索引。这种索引的核心思想是通过减少需要扫描的数据范围来加速查询,特别适用于大数据量场景。1.基本概念:数据存储与索引在理解稀疏索引之前,首先需要理解ClickHouse的列式存储
- 2023-10-21
ff835ffdc1c4
徐泽海10月每月一书摘抄:稻盛和夫是一位日本著名的企业家和哲学家,他的思想和理念对世界产生了深远的影响。他的著作《活法》等作品,充满了深刻的哲学思考和人生智慧,让人受益匪浅。在读完稻盛和夫的著作后,我深深地被他的思想所吸引。他强调了人生的意义在于不断提升自己的内心境界,不断追求自己的梦想和目标。这种思想与我一直以来的人生观非常契合,也让我更加坚定了自己的人生方向。稻盛和夫认为,人生是一场修行,需要
- 魔兽世界赚钱方法大揭秘:如何通过游戏内活动赚钱
幸运副业
魔兽世界赚钱方法大揭秘:如何通过游戏内活动赚钱你是否曾想知道,是否有方法可以在魔兽世界中通过游戏内的活动来赚取金币?是的,这是一个常见的问题,尤其是对于那些渴望改善虚拟生活财务状况的玩家来说。本文将深入探讨一些魔兽世界内的赚钱方法,帮助你解锁游戏中的财富。推荐一篇找兼职必看的免费教程:《手机兼职,300-500/天,一单一结,大量要人》在这里可以找到各种作业批改兼职,句子摘抄兼职,手机截图兼职等适
- 每日一画『20181208』
冉听花开
【一】手绘日签图[太阳]【冉绘】•【禅绕画】•【早安心语】『星光不问赶路人,时光不负有心人。』早安(^O^)!今天是手绘早安卡的第『258』天今日摘抄,来自“小来”:无论这个世界多么散漫,总还有人在保持一种姿态。无论这个世界有多少失望和不堪,总还有一些人在坚守心灵的净土。图片发自App【二】图片发自App图片发自App图片发自App
- 面向对象面向过程
3213213333332132
java
面向对象:把要完成的一件事,通过对象间的协作实现。
面向过程:把要完成的一件事,通过循序依次调用各个模块实现。
我把大象装进冰箱这件事为例,用面向对象和面向过程实现,都是用java代码完成。
1、面向对象
package bigDemo.ObjectOriented;
/**
* 大象类
*
* @Description
* @author FuJian
- Java Hotspot: Remove the Permanent Generation
bookjovi
HotSpot
openjdk上关于hotspot将移除永久带的描述非常详细,http://openjdk.java.net/jeps/122
JEP 122: Remove the Permanent Generation
Author Jon Masamitsu
Organization Oracle
Created 2010/8/15
Updated 2011/
- 正则表达式向前查找向后查找,环绕或零宽断言
dcj3sjt126com
正则表达式
向前查找和向后查找
1. 向前查找:根据要匹配的字符序列后面存在一个特定的字符序列(肯定式向前查找)或不存在一个特定的序列(否定式向前查找)来决定是否匹配。.NET将向前查找称之为零宽度向前查找断言。
对于向前查找,出现在指定项之后的字符序列不会被正则表达式引擎返回。
2. 向后查找:一个要匹配的字符序列前面有或者没有指定的
- BaseDao
171815164
seda
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
public class BaseDao {
public Conn
- Ant标签详解--Java命令
g21121
Java命令
这一篇主要介绍与java相关标签的使用 终于开始重头戏了,Java部分是我们关注的重点也是项目中用处最多的部分。
1
- [简单]代码片段_电梯数字排列
53873039oycg
代码
今天看电梯数字排列是9 18 26这样呈倒N排列的,写了个类似的打印例子,如下:
import java.util.Arrays;
public class 电梯数字排列_S3_Test {
public static void main(S
- Hessian原理
云端月影
hessian原理
Hessian 原理分析
一. 远程通讯协议的基本原理
网络通信需要做的就是将流从一台计算机传输到另外一台计算机,基于传输协议和网络 IO 来实现,其中传输协议比较出名的有 http 、 tcp 、 udp 等等, http 、 tcp 、 udp 都是在基于 Socket 概念上为某类应用场景而扩展出的传输协
- 区分Activity的四种加载模式----以及Intent的setFlags
aijuans
android
在多Activity开发中,有可能是自己应用之间的Activity跳转,或者夹带其他应用的可复用Activity。可能会希望跳转到原来某个Activity实例,而不是产生大量重复的Activity。
这需要为Activity配置特定的加载模式,而不是使用默认的加载模式。 加载模式分类及在哪里配置
Activity有四种加载模式:
standard
singleTop
- hibernate几个核心API及其查询分析
antonyup_2006
html.netHibernatexml配置管理
(一) org.hibernate.cfg.Configuration类
读取配置文件并创建唯一的SessionFactory对象.(一般,程序初始化hibernate时创建.)
Configuration co
- PL/SQL的流程控制
百合不是茶
oraclePL/SQL编程循环控制
PL/SQL也是一门高级语言,所以流程控制是必须要有的,oracle数据库的pl/sql比sqlserver数据库要难,很多pl/sql中有的sqlserver里面没有
流程控制;
分支语句 if 条件 then 结果 else 结果 end if ;
条件语句 case when 条件 then 结果;
循环语句 loop
- 强大的Mockito测试框架
bijian1013
mockito单元测试
一.自动生成Mock类 在需要Mock的属性上标记@Mock注解,然后@RunWith中配置Mockito的TestRunner或者在setUp()方法中显示调用MockitoAnnotations.initMocks(this);生成Mock类即可。二.自动注入Mock类到被测试类 &nbs
- 精通Oracle10编程SQL(11)开发子程序
bijian1013
oracle数据库plsql
/*
*开发子程序
*/
--子程序目是指被命名的PL/SQL块,这种块可以带有参数,可以在不同应用程序中多次调用
--PL/SQL有两种类型的子程序:过程和函数
--开发过程
--建立过程:不带任何参数
CREATE OR REPLACE PROCEDURE out_time
IS
BEGIN
DBMS_OUTPUT.put_line(systimestamp);
E
- 【EhCache一】EhCache版Hello World
bit1129
Hello world
本篇是EhCache系列的第一篇,总体介绍使用EhCache缓存进行CRUD的API的基本使用,更细节的内容包括EhCache源代码和设计、实现原理在接下来的文章中进行介绍
环境准备
1.新建Maven项目
2.添加EhCache的Maven依赖
<dependency>
<groupId>ne
- 学习EJB3基础知识笔记
白糖_
beanHibernatejbosswebserviceejb
最近项目进入系统测试阶段,全赖袁大虾领导有力,保持一周零bug记录,这也让自己腾出不少时间补充知识。花了两天时间把“传智播客EJB3.0”看完了,EJB基本的知识也有些了解,在这记录下EJB的部分知识,以供自己以后复习使用。
EJB是sun的服务器端组件模型,最大的用处是部署分布式应用程序。EJB (Enterprise JavaBean)是J2EE的一部分,定义了一个用于开发基
- angular.bootstrap
boyitech
AngularJSAngularJS APIangular中文api
angular.bootstrap
描述:
手动初始化angular。
这个函数会自动检测创建的module有没有被加载多次,如果有则会在浏览器的控制台打出警告日志,并且不会再次加载。这样可以避免在程序运行过程中许多奇怪的问题发生。
使用方法: angular .
- java-谷歌面试题-给定一个固定长度的数组,将递增整数序列写入这个数组。当写到数组尾部时,返回数组开始重新写,并覆盖先前写过的数
bylijinnan
java
public class SearchInShiftedArray {
/**
* 题目:给定一个固定长度的数组,将递增整数序列写入这个数组。当写到数组尾部时,返回数组开始重新写,并覆盖先前写过的数。
* 请在这个特殊数组中找出给定的整数。
* 解答:
* 其实就是“旋转数组”。旋转数组的最小元素见http://bylijinnan.iteye.com/bl
- 天使还是魔鬼?都是我们制造
ducklsl
生活教育情感
----------------------------剧透请原谅,有兴趣的朋友可以自己看看电影,互相讨论哦!!!
从厦门回来的动车上,无意中瞟到了书中推荐的几部关于儿童的电影。当然,这几部电影可能会另大家失望,并不是类似小鬼当家的电影,而是关于“坏小孩”的电影!
自己挑了两部先看了看,但是发现看完之后,心里久久不能平
- [机器智能与生物]研究生物智能的问题
comsci
生物
我想,人的神经网络和苍蝇的神经网络,并没有本质的区别...就是大规模拓扑系统和中小规模拓扑分析的区别....
但是,如果去研究活体人类的神经网络和脑系统,可能会受到一些法律和道德方面的限制,而且研究结果也不一定可靠,那么希望从事生物神经网络研究的朋友,不如把
- 获取Android Device的信息
dai_lm
android
String phoneInfo = "PRODUCT: " + android.os.Build.PRODUCT;
phoneInfo += ", CPU_ABI: " + android.os.Build.CPU_ABI;
phoneInfo += ", TAGS: " + android.os.Build.TAGS;
ph
- 最佳字符串匹配算法(Damerau-Levenshtein距离算法)的Java实现
datamachine
java算法字符串匹配
原文:http://www.javacodegeeks.com/2013/11/java-implementation-of-optimal-string-alignment.html------------------------------------------------------------------------------------------------------------
- 小学5年级英语单词背诵第一课
dcj3sjt126com
englishword
long 长的
show 给...看,出示
mouth 口,嘴
write 写
use 用,使用
take 拿,带来
hand 手
clever 聪明的
often 经常
wash 洗
slow 慢的
house 房子
water 水
clean 清洁的
supper 晚餐
out 在外
face 脸,
- macvim的使用实战
dcj3sjt126com
macvim
macvim用的是mac里面的vim, 只不过是一个GUI的APP, 相当于一个壳
1. 下载macvim
https://code.google.com/p/macvim/
2. 了解macvim
:h vim的使用帮助信息
:h macvim
- java二分法查找
蕃薯耀
java二分法查找二分法java二分法
java二分法查找
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 2015年6月23日 11:40:03 星期二
http:/
- Spring Cache注解+Memcached
hanqunfeng
springmemcached
Spring3.1 Cache注解
依赖jar包:
<!-- simple-spring-memcached -->
<dependency>
<groupId>com.google.code.simple-spring-memcached</groupId>
<artifactId>simple-s
- apache commons io包快速入门
jackyrong
apache commons
原文参考
http://www.javacodegeeks.com/2014/10/apache-commons-io-tutorial.html
Apache Commons IO 包绝对是好东西,地址在http://commons.apache.org/proper/commons-io/,下面用例子分别介绍:
1) 工具类
2
- 如何学习编程
lampcy
java编程C++c
首先,我想说一下学习思想.学编程其实跟网络游戏有着类似的效果.开始的时候,你会对那些代码,函数等产生很大的兴趣,尤其是刚接触编程的人,刚学习第一种语言的人.可是,当你一步步深入的时候,你会发现你没有了以前那种斗志.就好象你在玩韩国泡菜网游似的,玩到一定程度,每天就是练级练级,完全是一个想冲到高级别的意志力在支持着你.而学编程就更难了,学了两个月后,总是觉得你好象全都学会了,却又什么都做不了,又没有
- 架构师之spring-----spring3.0新特性的bean加载控制@DependsOn和@Lazy
nannan408
Spring3
1.前言。
如题。
2.描述。
@DependsOn用于强制初始化其他Bean。可以修饰Bean类或方法,使用该Annotation时可以指定一个字符串数组作为参数,每个数组元素对应于一个强制初始化的Bean。
@DependsOn({"steelAxe","abc"})
@Comp
- Spring4+quartz2的配置和代码方式调度
Everyday都不同
代码配置spring4quartz2.x定时任务
前言:这些天简直被quartz虐哭。。因为quartz 2.x版本相比quartz1.x版本的API改动太多,所以,只好自己去查阅底层API……
quartz定时任务必须搞清楚几个概念:
JobDetail——处理类
Trigger——触发器,指定触发时间,必须要有JobDetail属性,即触发对象
Scheduler——调度器,组织处理类和触发器,配置方式一般只需指定触发
- Hibernate入门
tntxia
Hibernate
前言
使用面向对象的语言和关系型的数据库,开发起来很繁琐,费时。由于现在流行的数据库都不面向对象。Hibernate 是一个Java的ORM(Object/Relational Mapping)解决方案。
Hibernte不仅关心把Java对象对应到数据库的表中,而且提供了请求和检索的方法。简化了手工进行JDBC操作的流程。
如
- Math类
xiaoxing598
Math
一、Java中的数字(Math)类是final类,不可继承。
1、常数 PI:double圆周率 E:double自然对数
2、截取(注意方法的返回类型) double ceil(double d) 返回不小于d的最小整数 double floor(double d) 返回不大于d的整最大数 int round(float f) 返回四舍五入后的整数 long round