- 2019-07-23
Shelley1165
2019-07-23坚持分享第329天读书打卡第148天《家庭中的正面管教》P100~108+《红楼梦》P111~116有家长说自己的孩子太“在乎”某个同学。当这个同学不理孩子时,孩子就会暗自伤心。家长也就跟着着急。希望能给孩子帮助,希望能以自己的经验给孩子建议。其实,每个人都是解决自己问题的专家。所以最好的办法就是让孩子自己去解决。那家长是不是就放任不管,什么也不做呢?家长可以去赋予孩子能量。类
- 10.22读书感悟《把时间当做朋友》
养生少女那
书名:《把时间当做朋友》作者:李笑来p92~p111长期计划是需要通过实践才能习得的能力我们总是擅长在年初,月初进行计划的制定,但是真正按照计划实行下来的少之又少,没有能力去完成过于长远的目标,可以试着先制定每天的计划,然后逐渐的增加,一周,一个月,一个季度,半年,一年。千里之行始于足下,我们能够做到的是一步一步地走,把每一步都走好,走踏实。至于“千里”之外的终点。既然连看都看不清,就不用花时间去
- 《断舍离》读书笔记第5天p111~120
正念阳光
留恋物~爱管闲事的大叔•自问自答“这个东西对我来说是必要的吗?是否适合我?使用起来是不是心情愉快?”。这种自问自答的时间轴毋庸置疑就是“现在”。——活在当下,当下这些物品给我一个什么样的感受:必要吗?适合我吗?心情愉快吗?——物品被创造出来,一旦与“我”有了链接,就是我生命的一部分,但是我们不可能与每一个物品都有强链接,生活中用到的只是20%,那80%呢,不仅占据着我们的空间,还占用大脑的空间及我
- P111第二段
如果我名王玉珏
Applications1.Examineeachofthefollowingdialogues.Identifyanyassumptionsmadebythespeakers.Beprecise.Ifpossible,decidewhethertheassumptionsarewarranted.a.Olaf:Didyouhearthegoodnews?Schoolmaynotopenonsch
- HDR-ISP_unpack_depwl_01_20231002
日栱一卒
ISPisp
https://github.com/JokerEyeAdas/HDR-ISP/tree/main1.unpack:解析raw图(1)unpack:2个字节1个像素(2)mipi10:5个字节4个像素[p19:2][p29:2][p39:2][p49:2][(p11:0)(p21:0)(p31:0)(p41:0)](3)mipi12:3个字节2个像素[p111:4][p211:4][(p13:0)
- 盛和塾学习打卡20200210
徐鵬
姓名:徐鹏公司:大连协力工务环境工程有限公司【日精进打卡第45天】【知~学习】①《六项精进》大纲诵读0遍,抄写1遍②《大学》诵读1遍,抄写0遍③《经营十二条》-④每日单词-每日语法-⑤建工专业学习-p111【经典名句分享】①②【行~实践】①陪家人②开始在家工作,处理事务③上臂前屈伸0*50/组;今日走了6248步,蹲起0*20,扩胸0*10/组④【积善】发愿从2019年12月28日至2022年12
- 中医入门十讲作业之四《五行》
从没在圈里混
背景:汤泼雪公众号组织十讲自学,各人自学做作业课表第四讲《五行》何为五行?五行的实质是什么?五行与阴阳又有何关系?学习资料:(纸质书P111~119,电子书P68~73)学习时间截止到11月20号https://mp.weixin.qq.com/s/QwNQWmeHDtoRJRQZ6TG4sA五行一篇从『数』开始讲,1无象而有;2虚;3实;4实而有余5界6界上载1;7界上载虚;8界上载实;9界上载
- 「RIA学习力」《第五项修炼》No.8,刘亚
yaya没有到不了的远方
今天的内容来自《第6章自然的模板,识别支配事件的模式》补充阅读P111基本模式2转移负担定义由深层问题产生的症状急需我们的关注。但大家感到很难解决,也许因为问题还模糊不清,也许因为处理起来代价会太高,所以,就把问题“转移负担”到其他解决方法上,这些解决方法意图良好、容易上手,看上去也非常高效。不幸的是,容易的“解决方法”只减轻了症状,却没有改变深层问题。还由于它显然帮助消除了症状,反而使大家无法注
- 你想活出怎样的人生
曼_草
日期:01.05—day5页码:P111—146【感悟&收获】:1.世上有很多善良的人,但因为懦弱而无法发挥善心。2.未能与人类进步相结合的英雄精神是空虚的,而缺乏英雄气魄的善良也同样空虚。3.在伟人或英雄的非凡事业中,只有顺应人类进步所做的事,才真正有价值。脱离了大河,再非凡的事也都是脆弱的。4.遇到打动你内心的东西,要认真思考其中的意义。【可践行的点】碰到事情时常常问自己够善良吗?在追问一下,
- 2021-09-03十七今日周五
锄禾正当午
今日周五读书会如期在腾讯会议举行。今天开始了第八章——沟通游戏。井老师2:54上线了。大家还没有上线。卫来了,秋也上线了。到了三点钟。就开始了。秋第一个开始了阅读。八叔打来了电话。井老师退出了腾讯会议室。井老师对待老家的电话一贯是认真的。是那块生我养我的土地上亲人的讯息————以“有事”的方式呈现出来。等井老师挂了电话,重新进入腾讯会议。卫正在读书中。一直读到P111页。卫说在这一部分。我想说说“
- C语言日记 29 枚举类型
宇 -Yu
C++c语言c++开发语言1024程序员节
书P111:常量列表里都是整型变量验证:好吧,实型确实不能输入枚举元素按常量处理,不能赋初值,sun=0;这样的语句是非法的。他这个“sun=0;这样的语句”到底在具体程序中呈现(展现)的是什么语句?如果我在电脑里输入:enumweekday{sun=7,mon=1,tue,wed,thu,fri,sat};sun=0;里面的sun连类型都没有指定,更何(况)来赋值呢?这个语句语序根本就是有病的嘛
- 独处-促进生产力
记录自己的文字
图片发自AppP108:事实上,在任何领域里,想要把手中的事情做到极致,都要学会独处。独处,是促进生产力的最佳方式之一。一定要善待自己的孤独。你最终的收益和你的孤独程度一定会同比增加,高度一致。P111:成功交易者的一个基本素质是,在任何时候都持有一定比例(或者起码一定数量)的现金。这个世界里,没有救世主,只有自己准备好的风险备用金。独自一人的时候,没有“表现”“表演”的刻意需求,人在被观察的时候
- 015《唤醒心中的巨人》3/4 2022-08-11
凝珀Mok
片段来源:《唤醒心中的巨人》p111【总字数823】片段摘取:拉锯战模式你已经有了足够强有力的杠杆了,那么就挣脱出那些消极负面的情绪漩涡吧。可遵照以下步骤来练习:1.好好看看脑海中令你困扰不已的那件事。要像看一部电影一样,不要觉得不安,要注意其中的每一个细节和过程。2.把这一幕转化为一幅卡通漫画。想象一下,你坐在一张椅子上,满脸笑容、气定神闲,你尽可能快速地倒放这部漫画,所有的事情就反过来了。如果
- 漫读摘记《陶渊明集》||(048)《戊申岁六月中遇火》
书山花开
文/书山花开❂原诗草庐寄穷巷,甘以辞华轩。正夏长风急,林室顿烧燔。一宅无遗宇,舫舟荫门前。迢迢新秋夕,亭亭月将圆。果菜始复生,惊鸟尚未还。中宵伫遥念,一盼周九天。总发抱孤介,奄出四十年。形迹凭化往,灵府长独闲。贞刚自有质,玉石乃非坚。仰想东户时,余粮宿中田。鼓腹无所思,朝起暮归眠。既已不遇兹,且遂灌我园。❂翻译【郭维森/包景诚《陶渊明集全译》,p111】寄居在穷巷草庐之中,甘心辞退了高贵的职官。正
- 岸见一郎、古贺史健《被讨厌的勇气》四
wl619624
要有被讨厌的勇气阿德勒反对把精神和身体、理性和感情以及意识和无意识的分开考虑的一切二元论的价值观。p109阿德勒心理学认为,心灵和身体是不可分割的一个整体。p110把人看做不可分割的存在和作为整体的我来考虑的方式叫做整体论。p110把他人看作伙伴并能够从中感到自己有位置的状态,就叫做共同体感觉。p112课题分离不是为了疏远他人,而是为了解开错综复杂的人际关系之线。p111共同体感觉是幸福的人际关系
- 微服务之服务限流和熔断Sentinel
江海i
2022#springcloud微服务springcloudjava
B站尚硅谷P111~P137代码Gitee地址1.sentinel分布式系统的流量防卫兵。以流量为切入点,从流量控制、熔断降级、系统负载保护等多个纬度保护服务的稳定性。1.1特征丰富的应用场景:秒杀、消息削峰填谷、集群流量控制、事实熔断下游不可应用等。完备的实时监控:可以在控制台中看到接入应用的单台机器秒级数据。广泛的开源生态:提供开箱即用的与其他开源框架/库的整合,与SpringCloud、Du
- 《人生效率手册》笔记P81~P111
果小姐_
今天的内容解决了之前存在的困惑,如每晚睡前定的三个目标与计划有什么关联,10000小时定律如何科学使用;金句:①人与人之间有一个重要的差别在于主动性。②一个人,走的快;一群人,走得远。③一旦你开启了正能量的分享模式,你就开启了领导力的通道(影响力)。④任何值得做的,我们都要把它做好。⑤整合是一种能力。学习:①三个目标往往不是工作中繁琐的小事,而清单法既包含了紧急不重要的事,也包含重要不紧急的事情,
- 《极简思维》第四天
炮捻儿
[一摘]P111不用因那些我们不曾拥有的天赋而痛苦,因为我们仍可以选择在能力范围的领域里做到最好。[一想]的确某些天赋是自己不具备的,如一些人长的天生丽质、乖巧懂事,可以靠颜值为自己争取更多。[二摘]P111这些消极的想法可能会失控,让我们在觉得自己不够好的同时,把其他人当作使我们不快乐的原因。总是和他人去比较成就、财产、性格,并从中感到挫败和痛苦,变得对他人充满敌意,哪些潜在的对比让我们受益匪浅
- 读书打卡第4天《活出生命的意义》
ruby吕
p71~p111在集中营的特殊时期,对每个人的心理都造成了巨大的影响。在恶劣的绝望的环境下,人分为两种状态,自暴自弃的和坚信希望的。那些能支撑到最后解放的人的共同特点就是,知道生命的意义,有精神追求,不放弃希望。
- 高中奥数 2021-11-12
天目春辉
2021-11-12-01(来源:数学奥林匹克小丛书第二版高中卷平面几何范端喜邓博文平面几何中的其他方法和问题选讲P111例5)设,,,是圆内接正边形,是圆周上的任一点,求证:是常数.证明设圆心在原点,圆的半径为.显然可令,,于是但是,.所以.它与点无关,即它是一常数.2021-11-12-02(来源:数学奥林匹克小丛书第二版高中卷平面几何范端喜邓博文平面几何中的其他方法和问题选讲P111例6)设
- 《能断金刚》兔兔老师种子读书会第20节
大源小毅
时间:20210707内容:P111—122商业问题21—31收获:1、诚实商业问题21、25、26、27都讲到了诚实。我们对诚实的传统认识是不说谎,说谎就是把A说成B,而今天的学习让我对诚实和说谎有了全新的认识。在这几个问题的解药中有这样几个词:“谨小慎微地诚实对待”、“确保自己的言语准确无误”、“内在全然的诚实”、“完全正直坦率”。格西老师说:“说谎真正的定义是:你的言语使他人对某一事物或事件
- NJUPT《 电工电子基础实验 》
Du1in9
1/3往年真题https://wws.lanzoui.com/itfaJqot8sf2/3考前复习考试说明复习知识点实验一:p98上实验二:p107上,p111,p112必考实验三:p79上,p82,(2)题实验四:p87上实验五:p106上实验六:p191,5题实验七:p197,2、4题实验八:不考实验九:p215实验十:p222,3题附录A:p273可能考点:竞争和冒险3/3全部实验实验一、网
- 「RIA学习力」《第五项修炼》No.8,赵琳
心琳时刻
今天的内容来自《第6章自然的模板,识别支配事件的模式》补充阅读P111基本模式2转移负担定义由深层问题产生的症状急需我们的关注。但大家感到很难解决,也许因为问题还模糊不清,也许因为处理起来代价会太高,所以,就把问题“转移负担”到其他解决方法上,这些解决方法意图良好、容易上手,看上去也非常高效。不幸的是,容易的“解决方法”只减轻了症状,却没有改变深层问题。还由于它显然帮助消除了症状,反而使大家无法注
- 「RIA学习力」《第五项修炼》No.8 阿波罗
南昌阿波罗
今天的内容来自《第6章自然的模板,识别支配事件的模式》补充阅读P111基本模式2转移负担定义由深层问题产生的症状急需我们的关注。但大家感到很难解决,也许因为问题还模糊不清,也许因为处理起来代价会太高,所以,就把问题“转移负担”到其他解决方法上,这些解决方法意图良好、容易上手,看上去也非常高效。不幸的是,容易的“解决方法”只减轻了症状,却没有改变深层问题。还由于它显然帮助消除了症状,反而使大家无法注
- 公募基金,私募基金,对冲基金指什么
五月之末
主动管理型公募基金,私募基金,对冲基金(对冲基金,其实本质上就是私募基金,非公开募集,客户只限于那些高净值人士,即财富非常多的人。对冲基金经理拥有完全的投资操作灵活性,既可以“做多”,市场上涨会赚大钱,也可以“做空”,市场下跌也会赚大钱。P111),特点:主动管理型的基金经理,依赖于分析、研究、预测,以及他们自己的判断和经验,来做出投资决策——买入、持有、卖出。P106表面来看,你买了一只主动管理
- 「RIA学习力」《第五项修炼》No.8,陈伟新
陈伟新_走在自我完善的路上
今天的内容来自《第6章自然的模板,识别支配事件的模式》补充阅读P111基本模式2转移负担定义由深层问题产生的症状急需我们的关注。但大家感到很难解决,也许因为问题还模糊不清,也许因为处理起来代价会太高,所以,就把问题“转移负担”到其他解决方法上,这些解决方法意图良好、容易上手,看上去也非常高效。不幸的是,容易的“解决方法”只减轻了症状,却没有改变深层问题。还由于它显然帮助消除了症状,反而使大家无法注
- 「RIA学习力」《第五项修炼》No.8,小马哥
培训界小马哥
今天的内容来自《第6章自然的模板,识别支配事件的模式》补充阅读P111基本模式2转移负担定义由深层问题产生的症状急需我们的关注。但大家感到很难解决,也许因为问题还模糊不清,也许因为处理起来代价会太高,所以,就把问题“转移负担”到其他解决方法上,这些解决方法意图良好、容易上手,看上去也非常高效。不幸的是,容易的“解决方法”只减轻了症状,却没有改变深层问题。还由于它显然帮助消除了症状,反而使大家无法注
- 人生转折,你不得不挖掘的内在潜能
拆签队的norman
人很容易陷入一种思维定式中,认为你只能做自己过去做过的事。但是,如果你敞开心扉挖掘潜力,则巨大的变化和成长都是可能的。——p111《跨越式成长-思维转换重塑你的工作和生活》作为一个进入职场半坡的中年人,我最近很焦虑。2020年,我下定决心,离开了一个不适合自己的工作岗位。在这期间,我因为无法接受其中一家的企业文化而辞职,又因为与合作老板的理念分歧而分手。在经历了几番波折后,我开始有些自我怀疑,在寻
- 想要孩子发自内心的自律,就首先要充分的尊重他,给他自由
徐四青
如果是孩子自己的事,就让他自己做主,如果涉及到父母和孩子双方的事,就需要协商。比如:父母要送孩子上学,需要考虑自己的上班时间,就需要和孩子商量,定好一个出门时间,至于几点起床,几点睡觉,那是他的事。在这种原则下成长起来的孩子,就是大家眼里所谓的“自律”的孩子。————摘自走出剧情P111面我试了一下,确实是这样的。大年初一的唐探3,俩孩子没买到票,最后买了初二早上8:20的那一场。他们这段时间,每
- Head First 设计模式 —— 04. 工厂 (Factory) 模式
满赋诸机
设计模式
思考题如何将实例化具体类的代码从应用中抽离,或者封装起来,使它们不会干扰应用的其他部分?P111将实例化具体类的代码放入一个对象中管理,通过不同入参决定实例化具体的类简单工厂不是23种GOF设计模式之一,而更像一种编程习惯。P117特点通常利用静态方法创建实例,但这样无法通过继承来改变创建方法的行为。P115缺点违反开闭原则,增加产品时需要修改工厂类。工厂方法模式定义了一个创建对象的接口,但由子类
- jvm调优总结(从基本概念 到 深度优化)
oloz
javajvmjdk虚拟机应用服务器
JVM参数详解:http://www.cnblogs.com/redcreen/archive/2011/05/04/2037057.html
Java虚拟机中,数据类型可以分为两类:基本类型和引用类型。基本类型的变量保存原始值,即:他代表的值就是数值本身;而引用类型的变量保存引用值。“引用值”代表了某个对象的引用,而不是对象本身,对象本身存放在这个引用值所表示的地址的位置。
- 【Scala十六】Scala核心十:柯里化函数
bit1129
scala
本篇文章重点说明什么是函数柯里化,这个语法现象的背后动机是什么,有什么样的应用场景,以及与部分应用函数(Partial Applied Function)之间的联系 1. 什么是柯里化函数
A way to write functions with multiple parameter lists. For instance
def f(x: Int)(y: Int) is a
- HashMap
dalan_123
java
HashMap在java中对很多人来说都是熟的;基于hash表的map接口的非同步实现。允许使用null和null键;同时不能保证元素的顺序;也就是从来都不保证其中的元素的顺序恒久不变。
1、数据结构
在java中,最基本的数据结构无外乎:数组 和 引用(指针),所有的数据结构都可以用这两个来构造,HashMap也不例外,归根到底HashMap就是一个链表散列的数据
- Java Swing如何实时刷新JTextArea,以显示刚才加append的内容
周凡杨
java更新swingJTextArea
在代码中执行完textArea.append("message")后,如果你想让这个更新立刻显示在界面上而不是等swing的主线程返回后刷新,我们一般会在该语句后调用textArea.invalidate()和textArea.repaint()。
问题是这个方法并不能有任何效果,textArea的内容没有任何变化,这或许是swing的一个bug,有一个笨拙的办法可以实现
- servlet或struts的Action处理ajax请求
g21121
servlet
其实处理ajax的请求非常简单,直接看代码就行了:
//如果用的是struts
//HttpServletResponse response = ServletActionContext.getResponse();
// 设置输出为文字流
response.setContentType("text/plain");
// 设置字符集
res
- FineReport的公式编辑框的语法简介
老A不折腾
finereport公式总结
FINEREPORT用到公式的地方非常多,单元格(以=开头的便被解析为公式),条件显示,数据字典,报表填报属性值定义,图表标题,轴定义,页眉页脚,甚至单元格的其他属性中的鼠标悬浮提示内容都可以写公式。
简单的说下自己感觉的公式要注意的几个地方:
1.if语句语法刚接触感觉比较奇怪,if(条件式子,值1,值2),if可以嵌套,if(条件式子1,值1,if(条件式子2,值2,值3)
- linux mysql 数据库乱码的解决办法
墙头上一根草
linuxmysql数据库乱码
linux 上mysql数据库区分大小写的配置
lower_case_table_names=1 1-不区分大小写 0-区分大小写
修改/etc/my.cnf 具体的修改内容如下:
[client]
default-character-set=utf8
[mysqld]
datadir=/var/lib/mysql
socket=/va
- 我的spring学习笔记6-ApplicationContext实例化的参数兼容思想
aijuans
Spring 3
ApplicationContext能读取多个Bean定义文件,方法是:
ApplicationContext appContext = new ClassPathXmlApplicationContext(
new String[]{“bean-config1.xml”,“bean-config2.xml”,“bean-config3.xml”,“bean-config4.xml
- mysql 基准测试之sysbench
annan211
基准测试mysql基准测试MySQL测试sysbench
1 执行如下命令,安装sysbench-0.5:
tar xzvf sysbench-0.5.tar.gz
cd sysbench-0.5
chmod +x autogen.sh
./autogen.sh
./configure --with-mysql --with-mysql-includes=/usr/local/mysql
- sql的复杂查询使用案列与技巧
百合不是茶
oraclesql函数数据分页合并查询
本片博客使用的数据库表是oracle中的scott用户表;
------------------- 自然连接查询
查询 smith 的上司(两种方法)
&
- 深入学习Thread类
bijian1013
javathread多线程java多线程
一. 线程的名字
下面来看一下Thread类的name属性,它的类型是String。它其实就是线程的名字。在Thread类中,有String getName()和void setName(String)两个方法用来设置和获取这个属性的值。
同时,Thr
- JSON串转换成Map以及如何转换到对应的数据类型
bijian1013
javafastjsonnet.sf.json
在实际开发中,难免会碰到JSON串转换成Map的情况,下面来看看这方面的实例。另外,由于fastjson只支持JDK1.5及以上版本,因此在JDK1.4的项目中可以采用net.sf.json来处理。
一.fastjson实例
JsonUtil.java
package com.study;
impor
- 【RPC框架HttpInvoker一】HttpInvoker:Spring自带RPC框架
bit1129
spring
HttpInvoker是Spring原生的RPC调用框架,HttpInvoker同Burlap和Hessian一样,提供了一致的服务Exporter以及客户端的服务代理工厂Bean,这篇文章主要是复制粘贴了Hessian与Spring集成一文,【RPC框架Hessian四】Hessian与Spring集成
在
【RPC框架Hessian二】Hessian 对象序列化和反序列化一文中
- 【Mahout二】基于Mahout CBayes算法的20newsgroup的脚本分析
bit1129
Mahout
#!/bin/bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information re
- nginx三种获取用户真实ip的方法
ronin47
随着nginx的迅速崛起,越来越多公司将apache更换成nginx. 同时也越来越多人使用nginx作为负载均衡, 并且代理前面可能还加上了CDN加速,但是随之也遇到一个问题:nginx如何获取用户的真实IP地址,如果后端是apache,请跳转到<apache获取用户真实IP地址>,如果是后端真实服务器是nginx,那么继续往下看。
实例环境: 用户IP 120.22.11.11
- java-判断二叉树是不是平衡
bylijinnan
java
参考了
http://zhedahht.blog.163.com/blog/static/25411174201142733927831/
但是用java来实现有一个问题。
由于Java无法像C那样“传递参数的地址,函数返回时能得到参数的值”,唯有新建一个辅助类:AuxClass
import ljn.help.*;
public class BalancedBTree {
- BeanUtils.copyProperties VS PropertyUtils.copyProperties
诸葛不亮
PropertyUtilsBeanUtils
BeanUtils.copyProperties VS PropertyUtils.copyProperties
作为两个bean属性copy的工具类,他们被广泛使用,同时也很容易误用,给人造成困然;比如:昨天发现同事在使用BeanUtils.copyProperties copy有integer类型属性的bean时,没有考虑到会将null转换为0,而后面的业
- [金融与信息安全]最简单的数据结构最安全
comsci
数据结构
现在最流行的数据库的数据存储文件都具有复杂的文件头格式,用操作系统的记事本软件是无法正常浏览的,这样的情况会有什么问题呢?
从信息安全的角度来看,如果我们数据库系统仅仅把这种格式的数据文件做异地备份,如果相同版本的所有数据库管理系统都同时被攻击,那么
- vi区段删除
Cwind
linuxvi区段删除
区段删除是编辑和分析一些冗长的配置文件或日志文件时比较常用的操作。简记下vi区段删除要点备忘。
vi概述
引文中并未将末行模式单独列为一种模式。单不单列并不重要,能区分命令模式与末行模式即可。
vi区段删除步骤:
1. 在末行模式下使用:set nu显示行号
非必须,随光标移动vi右下角也会显示行号,能够正确找到并记录删除开始行
- 清除tomcat缓存的方法总结
dashuaifu
tomcat缓存
用tomcat容器,大家可能会发现这样的问题,修改jsp文件后,但用IE打开 依然是以前的Jsp的页面。
出现这种现象的原因主要是tomcat缓存的原因。
解决办法如下:
在jsp文件头加上
<meta http-equiv="Expires" content="0"> <meta http-equiv="kiben&qu
- 不要盲目的在项目中使用LESS CSS
dcj3sjt126com
Webless
如果你还不知道LESS CSS是什么东西,可以看一下这篇文章,是我一朋友写给新人看的《CSS——LESS》
不可否认,LESS CSS是个强大的工具,它弥补了css没有变量、无法运算等一些“先天缺陷”,但它似乎给我一种错觉,就是为了功能而实现功能。
比如它的引用功能
?
.rounded_corners{
- [入门]更上一层楼
dcj3sjt126com
PHPyii2
更上一层楼
通篇阅读完整个“入门”部分,你就完成了一个完整 Yii 应用的创建。在此过程中你学到了如何实现一些常用功能,例如通过 HTML 表单从用户那获取数据,从数据库中获取数据并以分页形式显示。你还学到了如何通过 Gii 去自动生成代码。使用 Gii 生成代码把 Web 开发中多数繁杂的过程转化为仅仅填写几个表单就行。
本章将介绍一些有助于更好使用 Yii 的资源:
- Apache HttpClient使用详解
eksliang
httpclienthttp协议
Http协议的重要性相信不用我多说了,HttpClient相比传统JDK自带的URLConnection,增加了易用性和灵活性(具体区别,日后我们再讨论),它不仅是客户端发送Http请求变得容易,而且也方便了开发人员测试接口(基于Http协议的),即提高了开发的效率,也方便提高代码的健壮性。因此熟练掌握HttpClient是很重要的必修内容,掌握HttpClient后,相信对于Http协议的了解会
- zxing二维码扫描功能
gundumw100
androidzxing
经常要用到二维码扫描功能
现给出示例代码
import com.google.zxing.WriterException;
import com.zxing.activity.CaptureActivity;
import com.zxing.encoding.EncodingHandler;
import android.app.Activity;
import an
- 纯HTML+CSS带说明的黄色导航菜单
ini
htmlWebhtml5csshovertree
HoverTree带说明的CSS菜单:纯HTML+CSS结构链接带说明的黄色导航
在线体验效果:http://hovertree.com/texiao/css/1.htm代码如下,保存到HTML文件可以看到效果:
<!DOCTYPE html >
<html >
<head>
<title>HoverTree
- fastjson初始化对性能的影响
kane_xie
fastjson序列化
之前在项目中序列化是用thrift,性能一般,而且需要用编译器生成新的类,在序列化和反序列化的时候感觉很繁琐,因此想转到json阵营。对比了jackson,gson等框架之后,决定用fastjson,为什么呢,因为看名字感觉很快。。。
网上的说法:
fastjson 是一个性能很好的 Java 语言实现的 JSON 解析器和生成器,来自阿里巴巴的工程师开发。
- 基于Mybatis封装的增删改查实现通用自动化sql
mengqingyu
DAO
1.基于map或javaBean的增删改查可实现不写dao接口和实现类以及xml,有效的提高开发速度。
2.支持自定义注解包括主键生成、列重复验证、列名、表名等
3.支持批量插入、批量更新、批量删除
<bean id="dynamicSqlSessionTemplate" class="com.mqy.mybatis.support.Dynamic
- js控制input输入框的方法封装(数字,中文,字母,浮点数等)
qifeifei
javascript js
在项目开发的时候,经常有一些输入框,控制输入的格式,而不是等输入好了再去检查格式,格式错了就报错,体验不好。 /** 数字,中文,字母,浮点数(+/-/.) 类型输入限制,只要在input标签上加上 jInput="number,chinese,alphabet,floating" 备注:floating属性只能单独用*/
funct
- java 计时器应用
tangqi609567707
javatimer
mport java.util.TimerTask; import java.util.Calendar; public class MyTask extends TimerTask { private static final int
- erlang输出调用栈信息
wudixiaotie
erlang
在erlang otp的开发中,如果调用第三方的应用,会有有些错误会不打印栈信息,因为有可能第三方应用会catch然后输出自己的错误信息,所以对排查bug有很大的阻碍,这样就要求我们自己打印调用的栈信息。用这个函数:erlang:process_display (self (), backtrace).需要注意这个函数只会输出到标准错误输出。
也可以用这个函数:erlang:get_s