- 2019-12-10
中中地山谦
人在低谷找自己的长处耐心蛰伏总能找到出路天生我材必有用,千金散尽还复来——李白《将进酒·君不见》
- 华中师大戴建业教授正讲着课,一女学生突然问:“李白一生到处游山玩水,哪来的钱?”教授说完,女生脸红,男生则表示又酸又羡慕
静静喝糖水
华中师大的某教室里,戴建业教授正在眉飞色舞地讲着课,突然有一个女学生站起来提问:“老师,为什么李白一生没有正经的工作,还能到处游山玩水呢?他是从哪里搞来的钱?”对于女学生提出的这个问题,教室里的同学们也睁大眼睛看着戴老师,大家都很期待这个问题的答案。看到大家对这个问题很感兴趣,戴教授慢悠悠地说:“这你们就不知道了,李白有一个特点,那就是命好,一生娶了四个老婆;而且他选老婆也有一个标准,那就是非富即
- 古诗打卡第19天《塞下曲六首(其一)》
九月享耳
唐:李白五月天山雪,无花只有寒。笛中闻折柳,春色未曾看。晓战随金鼓,宵眠抱玉鞍。愿将腰下剑,直为斩楼兰。译文:五月的天山雪花仍在飞扬,根本看不见花草只有刺骨严寒。在笛声《折杨柳》曲中才能想象春光,现实中却从没见过。白天在金鼓声中与敌人进行殊死决战,晚上靠着马鞍入眠。只愿挥起腰间悬挂的宝剑,能够早日斩楼兰王,平定边疆。
- 《长安三万里》观后感
晨晨知否
随着《长安三万里》的热播,身边的朋友都去看了,也告诉我去看一看。于是我带着孩子一起去看了。一、故事内容:我首先的一个疑惑就是为什么叫《长安三万里》这个名字呢?带着这个疑惑,走进影院观看。影片的开头是高适带领队伍攻打吐蕃人。然后遇到程公公,便开始讲述和李白的相遇,相知。高适和李白的出身不同。高适的爷爷高侃是唐朝的名将,随着家族的落破,高适想被别人举荐也没人帮助。而李白出身商股之家更是别人不愿举荐。两
- 次韵秦观『千秋岁·水边沙外』
摩羯星一号
金陵庚子之春,湖山雨霁延眺,子规深处烟如织——少游天外。乱石临溪退。杏李白,啼音碎。遥峰愁竹隐,剑气悬萝带。呈浓淡,酸风桑律明楼对。频问兰舟会。葵露堪倾盖。容色易,人何在。逦依湖上枕,闻道云山改。梅子雨,涂鸦满卷分香海。【附录】秦少游《千秋岁·水边沙外》水边沙外。城郭春寒退。花影乱,莺声碎。飘零疏酒盏,离别宽衣带。人不见,碧云暮合空相对。忆昔西池会。鹓鹭同飞盖。携手处,今谁在。日边清梦断,镜里朱颜
- 2019-02-24
黑茶山_c940
七律长岛情思文/黑茶山图片发自App空谷幽兰披绿衣,海界走廊茫茫雨。翱翔海鸥云含笑,一壶老酒客微醉。大海孤岛千古赞,载货轮渡奔东西。放歌呼唤山河美,李白在世泼墨语。图片发自App图片发自App图片发自App
- 晚安啊
云里鹿里
今日分享:一个人出生了,人们不知道他未来的样子,却说“恭喜恭喜”。一个人死去了,人们不知道那死后的世界,却说“可惜可惜”。他不喜欢我,却长了一副我喜欢的模样,真是气死我了。最让我崩溃的根本不是哪件事,而是你明明知我对某些事特别介意,你却每次都那样后还一副很无所谓的态度。小时候不理解老人晒太阳,一坐就是半天。长大了才明白,目之所及皆是回忆,心之所想皆是过往,眼之所看皆是遗憾。李白写过那么多诗,他自己
- 《关山月》
风曦燃月
《关山月》这首诗是李白青年时期“仗剑去国,辞亲远游”时写下的。李白作为一名有“诗仙”之称的浪漫主义诗人,写诗都是自带“仙气”的,就比如说《关山月》这首诗中的“明月出天山,苍茫云海间”这句诗写出了月出时缥缈云海之感。《关山月》这分明是一首边塞题材的诗,却硬是被李白大诗人写出了“仙人视角”之感,先来整体的欣赏一下这首诗:明月出天山,苍茫云海间。长风几万里,吹度玉门关。汉下白登道,胡窥青海湾。由来征战地
- 2020-02-17
e91951afc947
将进酒唐代:李白君不见,黄河之水天上来,奔流到海不复回。君不见,高堂明镜悲白发,朝如青丝暮成雪。人生得意须尽欢,莫使金樽空对月。天生我材必有用,千金散尽还复来。烹羊宰牛且为乐,会须一饮三百杯。岑夫子,丹丘生,将进酒,杯莫停。与君歌一曲,请君为我倾耳听。(倾耳听一作:侧耳听)钟鼓馔玉不足贵,但愿长醉不复醒。(不足贵一作:何足贵;不复醒一作:不愿醒/不用醒)古来圣贤皆寂寞,惟有饮者留其名。(古来一作:
- 读诗——将进酒
荷飐风
将进酒①李白君不见黄河之水天上来②,奔流到海不复回。君不见高堂明镜悲白发③,朝如青丝暮成雪④。人生得意须尽欢⑤,莫使金樽空对月⑥。天生我材必有用⑦,千金散尽还复来⑧。烹羊宰牛且为乐,会须一饮三百杯⑨。岑夫子⑩,丹丘生⑪,将进酒,杯莫停⑫。与君歌一曲⑬,请君为我倾耳听⑭。钟鼓馔玉不足贵⑮,但愿长醉不复醒⑯。古来圣贤皆寂寞⑰,惟有饮者留其名。陈王昔时宴平乐⑱,斗酒十千恣欢谑⑲。主人何为言少钱⑳,径须沽
- 长相思
原郎
昔日橫波目今作流泪泉李白撂了笔千年的泪流成泉眼今晨使我枕中湿这长相思千万年相思灵魂找不到你相思更为相思染漂泊关山难更难。春风不渡昆仑山昆仑山有招魄幡灵魂窍对窍天地合一安
- 李白之《梦游天姥吟留别 》欣赏
楚楚52
梦游天姥吟留别/别东鲁诸公唐·李白海客谈瀛洲,烟涛微茫信难求,越人语天姥,云霞明灭或可睹。天姥连天向天横,势拔五岳掩赤城。天台四万八千丈,对此欲倒东南倾。我欲因之梦吴越,一夜飞度镜湖月。湖月照我影,送我至剡溪。谢公宿处今尚在,渌水荡漾清猿啼。脚著谢公屐,身登青云梯。半壁见海日,空中闻天鸡。千岩万转路不定,迷花倚石忽已暝。熊咆龙吟殷岩泉,栗深林兮惊层巅。云青青兮欲雨,水澹澹兮生烟。列缺霹雳,丘峦崩摧
- 诗词语录文案配音
配音新手圈
1.且将新火试新茶,诗酒趁年华。——苏轼兼职副业推荐公众号,配音新手圈,声优配音圈,新配音兼职圈,配音就业圈,鼎音副业,有声新手圈,每天更新各种远程工作与在线兼职,职位包括:写手、程序开发、剪辑、设计、翻译、配音、无门槛、插画、翻译、等等。。。每日更新兼职。2.树深时见鹿,溪午不闻钟。——李白3.心之所向素履以往生如逆旅一苇以航——七堇年《尘曲》4.天地不过是飘摇的逆旅,昼夜不过是光阴的门户。——
- 深入理解Linux内核:一部开源的探索之旅
宋溪普Gale
深入理解Linux内核:一部开源的探索之旅项目介绍linux-insides-ko是一个致力于将原始英文版《linux-insides》翻译成韩语的开源项目,旨在为那些对Linux内核和底层操作机制感兴趣的读者提供深入浅出的教程。这本书详细阐述了Linux内核的工作原理以及其内部结构,无论你是初学者还是经验丰富的开发者,都能从中受益匪浅。项目技术分析该项目以Markdown格式编写,易于阅读且便于
- 立夏了解一下
科普一颗心
立夏表示告别春天,是夏天的开始。春生、夏长、秋收、冬藏,时至立夏,万物繁茂。立夏,是标示万物进入旺季生长的一个重要节气。立夏后,日照增加,逐渐升温,雷雨增多,农作物进入了茁壮成长阶段。1)日长睡起无情思,闲看儿童捉柳花。——杨万里《闲居初夏午睡起》2)首夏犹清和,芳草亦未歇。——谢灵运《游赤石进帆海》3)芳菲歇去何须恨,夏木阴阴正可人。——秦观《三月晦日偶题》4)雁引愁心去,山衔好月来。——李白《
- 何以解忧?唯有微笑
茉莉读书
文/茉莉“对酒当歌,人生几何!譬如朝露,去日苦多。慨当以慷,忧思难忘。何以解忧?唯有杜康……”曹操《短歌行》古代文人心情烦闷时,以借酒解忧居多,留下很多耳熟能详的诗句,李白《将进酒》中“人生得意须尽欢,莫使金樽空对月”的万丈豪情,罗隐《自遣》中“今朝有酒今朝醉,明日愁来明日愁”的百般无奈,诗人豪饮高歌,笔墨酣畅淋漓,酒醒之后,忧愁还在。人生在世,不如意之事十有八九。千年以后的今天,我们何以解忧?何
- 魏晋时期一酒鬼,被妻子扔进酒缸3天,出来后说1句话成电竞口头禅
少陵孤鹤
李白写过这么一句诗:抽刀断水水更流,举杯消愁愁更愁。也就是说,我们在生活中一旦遇到了什么不如意的事情时。难免要借用酒水来排遣自己心目之中的不快,是啊,酒是个好东西。一旦你有了什么烦心事,你就可以通过喝酒以暂时把烦恼给抛却。当你酒水下肚,你原本清醒的头脑就会变得迷糊。渐渐地,你的意识就开始变得模糊不清,从而你也就会把你所遇到过的烦恼抛到了九霄云外。这样一来,借酒消愁自然就会开始被人们所喜爱。因此,酒
- 下终南山过斛斯山人宿置酒〔唐〕李白
简丹来说
暮从碧山下,山月随人归。却顾所来径,苍苍横翠微。相携及田家,童稚开荆扉。绿竹入幽径,青萝拂行衣。欢言得所憩,美酒聊共挥。长歌吟松风,曲尽河星稀。我醉君复乐,陶然共忘机。译文及注释译文傍晚从终南山上走下来,山月一直跟随着我归来。回头望下山的山间小路,山林苍苍茫茫一片青翠。偶遇斛斯山人,携手同去其家,孩童急忙出来打开柴门。走进竹林中的幽深小径,树枝上下垂的藤蔓拂着行人衣裳。欢言笑谈得到放松休息,畅饮美
- 应是天仙狂醉,乱把白云揉碎 —论李白诗歌意象
人文学院21汉本
21汉本1周美云摘要:李白号青莲居士被称为“诗仙”的同时也被称为“酒仙”,李白的很多诗词都离不开酒,酒以诗名,诗以酒名,写下了不少文明的带有传奇色彩的布满沁人心脾酒香的诗篇。关键词:酒,金樽,月亮,意象,情感朦胧中,历史的长河中藏匿着这样一位谪仙,他身着一袭白衣醉捧半壶美酒,像诗中仙一样飘然而来,盛唐之时,一老者醉卧酒坊,酒杯倾倒,天上的明月和酒中的明月,在他身边交织辉映。他大笑一声将杯中酒一饮而
- 再唱将进酒
凯歌儿
我用琴弦勾住李白的衣袖让旋律为你再斟一杯酒黄河东流不回也罢青丝成暮雪也罢这酒喝了,愁不喝,更愁三百杯一饮天生我材必有用你气冲霄汉闪耀千古诗百篇一斗千金散尽还复来你豪歌盛唐万代千秋我歌不止君杯莫停千年回唱将进酒谪仙醉梦诗魂长生
- 《长安三万里》:李白的遗忘和高适的念念不忘
吴玫
以唐诗为素材,创作一部动画片,此念生成的那一刻起,创作者就为自己找了一个为难自己的题材。复旦大学中文系教授、人称“唐朝户籍警”的陈尚君先生,数十年来埋首在故纸堆里爬梳,完成了两部大书,《全唐诗补编》和《全唐文补编》。而在《全唐诗补编》问世之前,大家习惯沿用于清代康熙年间编的《全唐诗》的说法,亦即唐诗作者有2300多名,他们创作了48900首唐诗。陈尚君先生的研究成果表明,全唐诗的总数超过了5万首。
- 李白不回杜甫的诗,原因竟然是因为......
婚纱行么
朋友圈流传关于“很重视的友情对方却不看重是一种怎样的体验”的回答。网友齐呼:李白,你的良心不会痛吗?那李白为什么不回杜甫的诗?这就要从李白的生平讲起了。李白,生于公元701年,据说李白出生时李白的妈妈梦到金星(又称“太白”)入怀,遂取名李白。“五岁观六甲,十岁观百家”。童年至少年时的李白过着求学,博览的生活,对于各种知识充满了兴趣。十八岁左右,李白开始学习剑术和纵横术,梦想着能以一身武艺报效国家,
- 经典大师褶绣作品欣赏①
Smocking2020
Smocking基础针法-国外精选预告缩褶绣介绍(国外大师英文版)观看密码:smocking想学习交流请加我微信,分享smocking基础针法线上视频♡
- python字符串驻留机制_Python 小坑之字符串驻留
嘉丽丽
python字符串驻留机制
本文整理了许多字符串驻留的坑,部分整合自wtfpython英文版,并增加了大量的后续说明。#example1:>>>a="wtf">>>b="wtf">>>aisbTrue#example2:>>>a="wtf!">>>b="wtf!">>>aisbFalse#example3:>>>a,b="wtf!","wtf!">>>aisbTrue#3.7版本返回结果为False.#example4:>>
- 2019红舟班第4课 课程总结
白金尺Sara
第四周上课时间:9.21一、律动:问好圈《脚跟脚尖》诗歌,拍节奏《古朗月行》唐李白节奏:《漂亮妈妈》二、故事:《毛毛虫、蜗牛和蚂蚁的故事》三、蜂蜡:《毛毛虫、蜗牛和蚂蚁的故事》之蚂蚁我们的捏塑都从故事中来,然后再还原到故事中去。对低龄的儿童,他们所捏的是故事里活生生的,而不是割裂出来的。蚂蚁背着它的粮食四、湿水彩:1、绘本故事《小种子》2、湿水彩《小种子会去哪里呢》色彩方案:朱红、柠檬黄、群青蓝、
- 励言赋词0017天
星言师
励言赋词0017天(2016年1月29日):1、寒潮确实无法打败南方人的心,只有回南天才能搅乱,到处湿漉漉,整得人心也是湿漉漉,这样的天气,哪怕是李白杜甫再世,也吟咏不出优美的诗句,或许只能是“回南天来了/湿漉漉地来了/带来了人心的阴霾/压抑得难受”。2、有时明明彼此之间是有某种关系存在,但由于一直未去深入涉及到,就只能是当作合伙或雇佣关系。今天准备从律师事务所出来,在电梯口与肖律师交谈,涉及到户
- 李白《将进酒》被修改过,有“敦煌遗书”为证,古人为何要这样做
鸿鹄迎罡
文·段宏刚诗仙李白(701年——762年)的诗歌以豪放洒脱、华美壮丽、气势恢宏为主要特征,他一生总共创作了近1200首不同体裁的诗歌,传世的有900多首,全部收录在《李太白集》里。最能代表李白诗风的作品无疑是《将进酒》,这首诗沿用“乐府诗”的形式创作而成,大约创作于公元752年。李白由于个性耿直,蔑视权贵,在做唐玄宗的御用文人期间,受到高力士等人的排挤,只能郁郁寡欢地离开京城长安。为了调节郁闷心情
- 2021-03-31 每日打卡
来多喜
昨日完成情况:1.6k散步,❌帕梅拉(我好懒)2.思维导图,statistical和machinelearning,先快速看一遍中文版,然后细看英文版.太多了,感觉在面试前看不完。决定集中精力讲清楚简历的内容。3.工作kki+myhabeats+handover。kki可以制作dataflow了,有了ga和publihser数据。myhabeatsremarketingaudience遇到困难。感
- 应是天仙好醉,乱把白云揉碎
若浅_
“当别人问起我的理想型,于是我又开始形容你。”没有什么生而无畏,只有选择无畏。哪有什么岁月静好,不过是有人在替我们负重前行。橘生淮南则为橘,生于淮北则为枳,叶徒相似,其实味不同。所以然者何?水土异也。今民生长于齐不盗,入楚则盗,得无楚之水土使民善盗耶?十二月太多盼头了,盼着平安夜,圣诞节,倒计时跨年,元旦,烟花,回家,春节和你们。十二月一定要开开心心❤️清平乐李白禁庭春昼,莺羽披新绣。百草巧求花下
- Tensorflow2.16中的Keras包含哪些层(layers)?层的功能及参数详细解释 -- TensorFlow自学笔记6
青瓷看世界
tensorflowtensorflowkeras人工智能
在Keras中,层(Layer)是构建神经网络的基本组件。Keras提供了多种类型的层,用于处理不同类型的输入数据和执行特定的数学操作。英文版可参考TensorFlow官方文档:Module:tf.keras.layers|TensorFlowv2.16.1一.层的分类1.基本网络层1.1.Dense层用于执行全连接操作;1.2.卷积层Conv1D、Conv2D、Conv3D层,用于执行一维、
- 对于规范和实现,你会混淆吗?
yangshangchuan
HotSpot
昨晚和朋友聊天,喝了点咖啡,由于我经常喝茶,很长时间没喝咖啡了,所以失眠了,于是起床读JVM规范,读完后在朋友圈发了一条信息:
JVM Run-Time Data Areas:The Java Virtual Machine defines various run-time data areas that are used during execution of a program. So
- android 网络
百合不是茶
网络
android的网络编程和java的一样没什么好分析的都是一些死的照着写就可以了,所以记录下来 方便查找 , 服务器使用的是TomCat
服务器代码; servlet的使用需要在xml中注册
package servlet;
import java.io.IOException;
import java.util.Arr
- [读书笔记]读法拉第传
comsci
读书笔记
1831年的时候,一年可以赚到1000英镑的人..应该很少的...
要成为一个科学家,没有足够的资金支持,很多实验都无法完成
但是当钱赚够了以后....就不能够一直在商业和市场中徘徊......
- 随机数的产生
沐刃青蛟
随机数
c++中阐述随机数的方法有两种:
一是产生假随机数(不管操作多少次,所产生的数都不会改变)
这类随机数是使用了默认的种子值产生的,所以每次都是一样的。
//默认种子
for (int i = 0; i < 5; i++)
{
cout<<
- PHP检测函数所在的文件名
IT独行者
PHP函数
很简单的功能,用到PHP中的反射机制,具体使用的是ReflectionFunction类,可以获取指定函数所在PHP脚本中的具体位置。 创建引用脚本。
代码:
[php]
view plain
copy
// Filename: functions.php
<?php&nbs
- 银行各系统功能简介
文强chu
金融
银行各系统功能简介 业务系统 核心业务系统 业务功能包括:总账管理、卡系统管理、客户信息管理、额度控管、存款、贷款、资金业务、国际结算、支付结算、对外接口等 清分清算系统 以清算日期为准,将账务类交易、非账务类交易的手续费、代理费、网络服务费等相关费用,按费用类型计算应收、应付金额,经过清算人员确认后上送核心系统完成结算的过程 国际结算系
- Python学习1(pip django 安装以及第一个project)
小桔子
pythondjangopip
最近开始学习python,要安装个pip的工具。听说这个工具很强大,安装了它,在安装第三方工具的话so easy!然后也下载了,按照别人给的教程开始安装,奶奶的怎么也安装不上!
第一步:官方下载pip-1.5.6.tar.gz, https://pypi.python.org/pypi/pip easy!
第二部:解压这个压缩文件,会看到一个setup.p
- php 数组
aichenglong
PHP排序数组循环多维数组
1 php中的创建数组
$product = array('tires','oil','spark');//array()实际上是语言结构而不 是函数
2 如果需要创建一个升序的排列的数字保存在一个数组中,可以使用range()函数来自动创建数组
$numbers=range(1,10)//1 2 3 4 5 6 7 8 9 10
$numbers=range(1,10,
- 安装python2.7
AILIKES
python
安装python2.7
1、下载可从 http://www.python.org/进行下载#wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz
2、复制解压
#mkdir -p /opt/usr/python
#cp /opt/soft/Python-2
- java异常的处理探讨
百合不是茶
JAVA异常
//java异常
/*
1,了解java 中的异常处理机制,有三种操作
a,声明异常
b,抛出异常
c,捕获异常
2,学会使用try-catch-finally来处理异常
3,学会如何声明异常和抛出异常
4,学会创建自己的异常
*/
//2,学会使用try-catch-finally来处理异常
- getElementsByName实例
bijian1013
element
实例1:
<!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/x
- 探索JUnit4扩展:Runner
bijian1013
java单元测试JUnit
参加敏捷培训时,教练提到Junit4的Runner和Rule,于是特上网查一下,发现很多都讲的太理论,或者是举的例子实在是太牵强。多搜索了几下,搜索到两篇我觉得写的非常好的文章。
文章地址:http://www.blogjava.net/jiangshachina/archive/20
- [MongoDB学习笔记二]MongoDB副本集
bit1129
mongodb
1. 副本集的特性
1)一台主服务器(Primary),多台从服务器(Secondary)
2)Primary挂了之后,从服务器自动完成从它们之中选举一台服务器作为主服务器,继续工作,这就解决了单点故障,因此,在这种情况下,MongoDB集群能够继续工作
3)挂了的主服务器恢复到集群中只能以Secondary服务器的角色加入进来
2
- 【Spark八十一】Hive in the spark assembly
bit1129
assembly
Spark SQL supports most commonly used features of HiveQL. However, different HiveQL statements are executed in different manners:
1. DDL statements (e.g. CREATE TABLE, DROP TABLE, etc.)
- Nginx问题定位之监控进程异常退出
ronin47
nginx在运行过程中是否稳定,是否有异常退出过?这里总结几项平时会用到的小技巧。
1. 在error.log中查看是否有signal项,如果有,看看signal是多少。
比如,这是一个异常退出的情况:
$grep signal error.log
2012/12/24 16:39:56 [alert] 13661#0: worker process 13666 exited on s
- No grammar constraints (DTD or XML schema).....两种解决方法
byalias
xml
方法一:常用方法 关闭XML验证
工具栏:windows => preferences => xml => xml files => validation => Indicate when no grammar is specified:选择Ignore即可。
方法二:(个人推荐)
添加 内容如下
<?xml version=
- Netty源码学习-DefaultChannelPipeline
bylijinnan
netty
package com.ljn.channel;
/**
* ChannelPipeline采用的是Intercepting Filter 模式
* 但由于用到两个双向链表和内部类,这个模式看起来不是那么明显,需要仔细查看调用过程才发现
*
* 下面对ChannelPipeline作一个模拟,只模拟关键代码:
*/
public class Pipeline {
- MYSQL数据库常用备份及恢复语句
chicony
mysql
备份MySQL数据库的命令,可以加选不同的参数选项来实现不同格式的要求。
mysqldump -h主机 -u用户名 -p密码 数据库名 > 文件
备份MySQL数据库为带删除表的格式,能够让该备份覆盖已有数据库而不需要手动删除原有数据库。
mysqldump -–add-drop-table -uusername -ppassword databasename > ba
- 小白谈谈云计算--基于Google三大论文
CrazyMizzz
Google云计算GFS
之前在没有接触到云计算之前,只是对云计算有一点点模糊的概念,觉得这是一个很高大上的东西,似乎离我们大一的还很远。后来有机会上了一节云计算的普及课程吧,并且在之前的一周里拜读了谷歌三大论文。不敢说理解,至少囫囵吞枣啃下了一大堆看不明白的理论。现在就简单聊聊我对于云计算的了解。
我先说说GFS
&n
- hadoop 平衡空间设置方法
daizj
hadoopbalancer
在hdfs-site.xml中增加设置balance的带宽,默认只有1M:
<property>
<name>dfs.balance.bandwidthPerSec</name>
<value>10485760</value>
<description&g
- Eclipse程序员要掌握的常用快捷键
dcj3sjt126com
编程
判断一个人的编程水平,就看他用键盘多,还是鼠标多。用键盘一是为了输入代码(当然了,也包括注释),再有就是熟练使用快捷键。 曾有人在豆瓣评
《卓有成效的程序员》:“人有多大懒,才有多大闲”。之前我整理了一个
程序员图书列表,目的也就是通过读书,让程序员变懒。 程序员作为特殊的群体,有的人可以这么懒,懒到事情都交给机器去做,而有的人又可以那么勤奋,每天都孜孜不倦得
- Android学习之路
dcj3sjt126com
Android学习
转自:http://blog.csdn.net/ryantang03/article/details/6901459
以前有J2EE基础,接触JAVA也有两三年的时间了,上手Android并不困难,思维上稍微转变一下就可以很快适应。以前做的都是WEB项目,现今体验移动终端项目,让我越来越觉得移动互联网应用是未来的主宰。
下面说说我学习Android的感受,我学Android首先是看MARS的视
- java 遍历Map的四种方法
eksliang
javaHashMapjava 遍历Map的四种方法
转载请出自出处:
http://eksliang.iteye.com/blog/2059996
package com.ickes;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
/**
* 遍历Map的四种方式
- 【精典】数据库相关相关
gengzg
数据库
package C3P0;
import java.sql.Connection;
import java.sql.SQLException;
import java.beans.PropertyVetoException;
import com.mchange.v2.c3p0.ComboPooledDataSource;
public class DBPool{
- 自动补全
huyana_town
自动补全
<!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&quo
- jquery在线预览PDF文件,打开PDF文件
天梯梦
jquery
最主要的是使用到了一个jquery的插件jquery.media.js,使用这个插件就很容易实现了。
核心代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.
- ViewPager刷新单个页面的方法
lovelease
androidviewpagertag刷新
使用ViewPager做滑动切换图片的效果时,如果图片是从网络下载的,那么再子线程中下载完图片时我们会使用handler通知UI线程,然后UI线程就可以调用mViewPager.getAdapter().notifyDataSetChanged()进行页面的刷新,但是viewpager不同于listview,你会发现单纯的调用notifyDataSetChanged()并不能刷新页面
- 利用按位取反(~)从复合枚举值里清除枚举值
草料场
enum
以 C# 中的 System.Drawing.FontStyle 为例。
如果需要同时有多种效果,
如:“粗体”和“下划线”的效果,可以用按位或(|)
FontStyle style = FontStyle.Bold | FontStyle.Underline;
如果需要去除 style 里的某一种效果,
- Linux系统新手学习的11点建议
刘星宇
编程工作linux脚本
随着Linux应用的扩展许多朋友开始接触Linux,根据学习Windwos的经验往往有一些茫然的感觉:不知从何处开始学起。这里介绍学习Linux的一些建议。
一、从基础开始:常常有些朋友在Linux论坛问一些问题,不过,其中大多数的问题都是很基础的。例如:为什么我使用一个命令的时候,系统告诉我找不到该目录,我要如何限制使用者的权限等问题,这些问题其实都不是很难的,只要了解了 Linu
- hibernate dao层应用之HibernateDaoSupport二次封装
wangzhezichuan
DAOHibernate
/**
* <p>方法描述:sql语句查询 返回List<Class> </p>
* <p>方法备注: Class 只能是自定义类 </p>
* @param calzz
* @param sql
* @return
* <p>创建人:王川</p>
* <p>创建时间:Jul