- 高效能写作必备书
青青的鱼
有人认为写作只是作家的事,和我们没什么关系,其实这是一种误解。写作对于处在快速发展社会中的我们是很重要的一件事,它是我们沟通和学习的重要途径。写作可以抒发情感和阐述思想,以达到与外界沟通的目的。不管你是写工作报告,还是发一个邮件,甚至小到发个短信,都需要组织语言清晰表达你的思想或目的。对于以学习为目的,写作就更重要了,写作是一个需要不断思考、搜集、整理、总结你大脑中过去所学的知识的过程,通过写作不
- 宋真宗御笔书名的“岳麓书院”,历经千年魅力永续
博物馆学文化
中国古代书院,兴起于唐,清代诗人袁枚在《随园随笔》中记载:“书院之名起唐玄宗时,丽正书院、集贤书院皆建于朝省,为修书之地,非士子肄业之所也。”在《新唐书·百官志》中记载:“唐开元六年,将乾元院改为丽正修书院,十三年又改丽正修书院为集贤殿书院。”这是史料中有关书院最早的记载。是唐代为了搜集图书、校刊经籍,撰写文章的场所,而非教育机构,也非朝廷的正式办事机构。最早具有教育功能的书院是白鹿洞书院,与它一
- netty-简易聊天
2401_84046645
程序员java开发语言
publicvoidsend(Stringtext){channel.writeAndFlush(Unpooled.copiedBuffer(text.getBytes()));}publicvoidcloseConnect(){send(“bye”);channel.close();}}classMyHandlerextendsChannelInboundHandlerAdapter{@Over
- 桂花
小兔菇凉
桂花簇簇桂花的香气“清可荡涤,浓可致远”,我从小喜欢桂花香,只要是花开的时节,姑姑每次来,都会摘一大包桂花来送我,我用玻璃瓶装好,放在床头,枕着花香入眠,连梦里都是一片清香。后来离家上学工作,老家的桂花见得少了,但搜集桂花的癖好没忘,在中秋前后,总要专门拿出时间,寻着香味儿找到她,轻轻摘下一小把,依然装在小小的玻璃瓶里,随花香入梦。青岛种桂花树不多,我只在中山公园见到过小小的几棵。有游客被微风送来
- 渗透测试的了解
锅盖'awa'
网络安全小白之路安全性测试安全
文章目录概述一、渗透测试分类1.黑盒测试/外部测试2.白盒测试/内部测试3.灰盒测试/组合测试二、渗透测试-目标分类1、主机操作系统渗透2、数据库系统渗透3、应用系统渗透4、网络设备渗透三、渗透测试过程(七个阶段)1.前期交互阶段(Pre-EngagementInteraction)2.情报搜集阶段(InformationGathering)3.威胁建模阶段(ThreatModeling)4.漏洞
- 2023-04-06 晨间日记
Lily17
今天是什么日子起床:6:16就寝:10:30天气:晴心情:一般纪念日:无总目标:学习网盘课程,阅读电子书籍目标分解:设计知识地图日常记录:7:10英语8:45日记微习惯:微习惯1:每天早上6点30起床,不玩手机执行情况:完成,微习惯2-1:搜集选题和素材执行情况:未完成2-2整理素材,撰写文章执行情况:未完成每天坚持寻找素材。微习惯3:每天运动执行情况:未完成微习惯4:每天晚上九点洗澡执行情况:未
- Netty权威指南:Netty总结-高性能与可靠性
Ty_1106
Nettyjava网络rpc
第二十二章高性能之道22.1RPC调用性能模型分析22.1.1传统RPC调用性能差三宗罪:网络传输采用同步阻塞I/O导致经常性阻塞序列化性能差线程模型问题22.1.2I/O通信性能三要素传输:BIO、NIO或者AIO协议:HTTP公有协议,内部私有协议线程:数据报如何读取,Reactor线程模型22.2Netty高性能之道22.2.1异步非阻塞通信I/O多路复用技术22.2.2高效的Reactor
- netty4源码阅读与分析---netty线程模型
红尘之一骑
javaNIOnetty源码阅读与分析
本文主要说下我自己对netty线程模型的理解,以及这样的线程模型的好处。通俗的来讲,netty的线程模型描述的就是老板和员工的故事。老板(通常情况下是一个老板)负责接活,与客户沟通,协调(netty的accept),谈成后(通道建立),他需要从员工中选出一位员工来负责处理后续具体的事宜(worker线程,这里我们有16位员工,编号1-16),员工做事时按照任务的先后顺序进行处理,这样可以避免错乱,
- 一种E2E的架构设计流程
weixin_33796205
本文不是介绍架构设计方法,只是给出一种E2E的架构设计流程的实现,具体的架构设计方法需要参考相关的资料。架构设计流程分析:具体步骤说明:1、需求收集,包括从用户收集到的原始需求和项目通过友商的竞争分析得到的需求,需求分为功能需求和非功能需求两大类。2、需求分析,针对1中搜集到的需求,首先按类划分整理,再对原始需求进行分解,生成子业务需求,在根据业务需求做用例分析。用例分析中,需要对每个用例业务模型
- 15分钟整理信息
乐高智慧商业
使用15分钟将信息搜集清楚开始:2018年09月24日22:59:30结束:2018年09月24日23:18:25投机者拒绝学习,投资者善于学习?如何判断自己是否善于学习?我脑中对于善于学习的理解善于查找信息(Google,图书)善于整理信息善于总结信息善于将信息输出出来查找信息,使用Google搜索,运算符搜索。整理信息使用印象笔记,将信息剪贴到笔记中再加之用标签和标题将内容组织起来。总结信息,
- 2023-05-13
A刘强_0df4
当今社会,创业已经成为了一种趋势。有越来越多的年轻人放弃安逸的工作,去创造自己的事业。而确实,在创业的路上,你总能掌握新的商机,在成功的同时,也伴随着熬夜、奋斗和梦想。那么,创业是如何点燃人生梦想的呢?一、开拓视野,搜集有用信息!创业,首先就要拥有敏锐的商业嗅觉和广阔的视野。随时与潜在用户和合作方互动,收到客户的反馈,反思团队的绩效,从自身的无尽学习中创造并推动梦想,这为团队与自身提供了成长与动能
- 减法
Jiang江柳
图片发自App最近群里面在搜集和讨论着大家这一年或两年的成长,看了很多励志的故事,也见到了很多人,用实际行动改变自己的实力,也有很多的人和我一样沉默着,可能也在思考的这两年自己成长了什么,获得了什么?突然发现这两年赶在知识付费的风口,买了很多的课程,那些所谓的认知升级,经不起时间的考验,因为所有的认知,如果没有建立实践的基础之上,那么全都是虚无和飘渺。就像神话一样。沉迷于虚幻和虚无的世界里,对于现
- 深度长文解析SpringWebFlux响应式框架15个核心组件源码
快乐非自愿
javaspring
SpringWebFlux介绍SpringWebFlux是SpringFramework5.0版本引入的一个响应式Web框架,它与SpringMVC并存,提供了一种全新的编程范式,支持异步非阻塞的Web应用开发。WebFlux完全基于响应式编程模型,支持ReactiveStreams规范,可以在诸如Netty、Undertow以及Servlet3.1+容器上运行。WebFlux的核心控制器是Dis
- 恶魔的饱食:日本731细菌战部队揭密(20)
8fd30a58ee15
据原部队人员的记忆,特别监狱的核心部分,都是在7号楼和8号楼的二层的部分。因为一层一直是作为临时收容“马鲁太”杂居的集体牢房来使用的,与一层有两排牢房,中间有走廊相比,二层是供实验用的单人牢房。为了搜集细菌、化学毒物的活体实验资料,必须仔细地观察“马鲁太”。特设监狱二层的十二个房间都分别作为单人牢房来使用的道理就在这里。各间单人牢房的正面门上,有一个可以开关的窥视窗。部队人员通过窥视窗进行观察和搜
- 由pyproject.toml引发的讨论
马踏飞燕&lin_li
python前端服务器linux
前言今天在搜集数据集的时候遇到了pyproject.toml配置文件,点开来一看发现有许多依赖包和配置信息,查找资料一看,还可以用pyproject.toml进行依赖包管理。pyproject.toml文件该文件的部分由多个部分组成。tool.poetrypyproject.toml以项目fastapi的pyproject为例,介绍一下pyproject.toml的组成部分:这告诉像pip这样的工
- 2023-03-11 晨间日记
Lily17
今天是什么日子起床:8:36就寝:10:30天气:晴心情:一般纪念日:无总目标:学习网盘课程,阅读电子书籍目标分解:设计知识地图日常记录:7:10英语15:22日记微习惯:微习惯1:每天早上6点30起床,不玩手机执行情况:未完成,微习惯2-1:搜集选题和素材执行情况:未完成2-2整理素材,撰写文章执行情况:未完成每天坚持寻找素材。微习惯3:每天运动执行情况:完成微习惯4:每天晚上九点洗澡执行情况:
- 502《月是故乡明》教材分析之比对课标
李丹720
文/丹老师“每一个人都有他自己的童年往事,快乐也好,辛酸也好,对于他都是心动神移的最深刻的记忆。”这是冰心关于回忆童年往事的一段话。出现在统编版五年级下册第一单元的单元导语处。比对课程标准《月是故乡明》这篇课文是统编版五年级下册第一单元的一篇略读课文。本课的学习提示是引导学生默读课文,说说作者由月亮想到了哪些往事,抒发了哪些感受。再引导学生搜集和积累一些思乡的古诗。本单元的单元主题是“童年往事”,
- 重视永远不错
紫竹林如是
今天单位开始统计每个人近十天的行程,要求今后半个月内,每天务必上报,并组织了专门人员每天汇总消息,配合国家防疫工作。很多人觉得,我最近不准备出门,今天给你报一次,以后,就不用报了,觉得很麻烦。也有的人觉得没有必要,因为搜集的信息不一定准确。事实上,这是领导非常英明的决策,在特殊时期,怎么重视都不为过,可能无法得到毫无误差的信息,但是,也可以大致掌握每个人的行踪,以便提醒大家不要频繁流动,警示大家学
- Java网络编程:IO,NIO与Netty
坚持是一种态度
javajava网络编程NettyJavaIONIONIO与Netty
Java网络编程:IO,NIO与NettyJava网络编程:IO,NIO与NettyJavaI/O相关概念同步与异步阻塞与非阻塞OIONIOAIOreactor模型proactor模型JavaIO应用场景Netty简介NIO与Netty生产使用Java网络编程:IO,NIO与Netty新公司新项目,项目需要在硬件和软件平台进行信息传递,具体来说使用Netty。硬件和软件使用socket连接,硬件作
- 2022-11-13 晨间日记
Lily17
今天是什么日子起床:8:50就寝:10:30天气:晴心情:一般纪念日:无总目标:学习网盘课程,阅读电子书籍日常记录:7:00英语16:54日记微习惯:微习惯1:每天听国学,得到,抖音执行情况:未完成微习惯2:每天早起阅读1页书籍执行情况:完成,微习惯3:每天早上学习30分钟英语执行情况:完成微习惯4-1:搜集选题和素材执行情况:未完成4-2整理素材执行情况:未完成4-3撰写短文执行情况:未完成微习
- python漏洞扫描模块_GitHub - PickledFish/SZhe_Scan: 碎遮SZhe_Scan Web漏洞扫描器,基于python Flask框架,对输入的域名/IP进行全面的信息搜...
weixin_39714191
python漏洞扫描模块
SZhe_Scan碎遮Web漏洞扫描器(懒癌晚期该项目于6月4日docker打包完毕,cheer!!碎遮1.0版本,该项目会持续维护更新,欢迎各位大师傅疯狂Star!!!特点对输入的域名或IP进行自动化信息搜集与漏洞扫描,支持添加POC进行漏洞检测,扫描结果可视化显示在web界面上使用python3编写,多线程+多进程进行资产扫描,前端使用html+css+javascript进行漏洞扫描系统的可
- 优质素材的六个搜索技巧
老李大李和小李
一是要有耐心哦耐心不但是搜索的技巧而且是前提的、必要的。没有耐心进行搜索就不会有大量的好的输入。二是多关键词这个就像我们在搜索引擎中使用的方法,输入关键词反复搜索就会发现好多有用的而且是我们未知的知识。三是多渠道我们要利用各种搜索引擎和各种方式包括读书、和人聊天的方法来搜集资料。四是多维度至少要从三方面着手~文字、图片、视频。五是精准搜索有了前面做的功课,我们要对主题和材料进行凝炼~取其精华去除无
- java reactor模式例子_Netty Reactor模式实现原理详解
weixin_39923623
javareactor模式例子
在前面的文章中(Reactor模型详解),我们讲解了Reactor模式的各种演变形式,本文主要讲解的则是Netty是如何实现Reactor模式的。这里关于Netty实现的Reactor模式,需要说明的是,其实现的模式如下图所示:对于Netty使用的Reactor模式,其主要特点如下:使用一个线程作为mainReactor,专门用于监听客户端的连接事件,当获取到事件之后就将该事件交由Acceptor
- Android电源管理基础知识整理
轻口味
android
DozeMode模式由于Android的开放特性,加上国内app开发者的觉悟普遍不高的情况下,越来越多的app开始利用安卓的系统特性甚至可以称为漏洞,故意让app退出后仍然占用大量的硬件资源。越来越多的应用会在后台运行时“假死”,即不进入真正的Sleep,而是不断在后台轮询搜集用户行为或者保持某些长链接来保障数据的实时性。而Android系统自身并未出台对应的策略来约束或者限制这类应用行为,当这类
- 社交软件一家独大?马云当年投资4000万的软件,现已成功上市
彩旗彩虹
自从有了互联网,连最重要的社交也产生了变化,尤其是腾讯QQ的出现,可以让本不体味、目生的人经由过程搜集也同样可以成为无话不谈的好伴侣,良多熟人、亲戚、伴侣不能倾吐的话题,在搜集上却可透露本身的心声,而有了QQ,不仅仅可以成为“网友”,良多熟人也可以经由过程QQ停止聊天,既可以经由过程文字表达本身的心声,同时也省下了不少的电话花钱,同事、伴侣还可以组建QQ群,所以腾讯也是捉住了最好的黄金期,一跃成为
- Netty实战二-实现UDP的单播和广播(1)
2401_84048671
程序员udp网络协议网络
publicclassAnswerHandlerextendsSimpleChannelInboundHandler{/应答的具体内容从常量字符串数组中取得,由nextQuote方法随机获取/privatestaticfinalString[]DICTIONARY={“一个男生暗恋一个女生很久了。一天自习课上,男生偷偷的传了小纸条给女生,上面写着“其实我注意你很久了”。不一会儿,女生传了另一张纸条
- 阅读行动营复盘Day2
杨小姐是乖乖但不乖
我就是那个昨晚让海明老师辅导到半夜1点的学员。海明老师指出了我的痛点,今天早上的课程,刚好给了我启示。只听不行,要知行合一,把每一个知识点变成自己的,转化成行动,成长最快的秘籍,不是自己看了什么,而是做了什么。一,关于读书清风阁主六脉神剑:确定主题-收集资料-形成PPT-讲给别人-复盘总结-形成系统。接下来行动:首先将PET父母效能训练相关资料全部搜集起来,做成自己的PPT,然后讲给学员听,讲完之
- netty源码解读三(NioEventLoop)
orcharddd_real
nettyjavanetty
NioEventLoop初始化EventExecutor类型的数组数组大小默认为cpu数量的两倍,遍历数组,通过newNioEventLoop(xxx)往数组中添加元素,NioEventLoop继承了EventExecutor;每次需要线程时,执行chooser的next方法从数组中取出一个线程;关键代码打开netty源码,找到example包下的EchoService类,追溯创建boss线程组和
- Netty源码分析:NioEventLoopGroup
HelloWorld_EE
netty源码分析源代码nettyEventLoop
Netty源码分析:NioEventLoopGroup在工作之余,看到自己公司的超哥(俞超)关于Netty的系列博文,讲解的很好,因此,自己在学习之余也跟了下源代码,来了解Netty,也做了相关的笔记,将形成系列博文,这是第一篇。超哥的博文地址在这里:http://www.jianshu.com/p/c5068caab217Netty版本:4.0.23.Final借用超哥的例子,一般服务端的代码如
- 让美感与创意互相结合的设计,就是陈天麟的设计理念!
Ryo的随心旅记
在查阅建筑设计师的时候,发现一位曾获得过华鼎奖与2017年中国十大最具影响力设计师的陈天麟先生!获得很多国内颇具影响力的建筑设计类,亦承接过不少内地的大型商业项目,本人却是一位香港人!细心了解查找资料才发现,原来他从事室内设计行业已经三十多年,但早在2000年前就前往内地发展。首个项目就是李嘉诚先生和黄集团在东莞市的“海逸豪园”。还搜集欣赏了不少关于出自他之手的的设计作品,看来他对内地市场了解很深
- 多线程编程之理财
周凡杨
java多线程生产者消费者理财
现实生活中,我们一边工作,一边消费,正常情况下会把多余的钱存起来,比如存到余额宝,还可以多挣点钱,现在就有这个情况:我每月可以发工资20000万元 (暂定每月的1号),每月消费5000(租房+生活费)元(暂定每月的1号),其中租金是大头占90%,交房租的方式可以选择(一月一交,两月一交、三月一交),理财:1万元存余额宝一天可以赚1元钱,
- [Zookeeper学习笔记之三]Zookeeper会话超时机制
bit1129
zookeeper
首先,会话超时是由Zookeeper服务端通知客户端会话已经超时,客户端不能自行决定会话已经超时,不过客户端可以通过调用Zookeeper.close()主动的发起会话结束请求,如下的代码输出内容
Created /zoo-739160015
CONNECTEDCONNECTED
.............CONNECTEDCONNECTED
CONNECTEDCLOSEDCLOSED
- SecureCRT快捷键
daizj
secureCRT快捷键
ctrl + a : 移动光标到行首ctrl + e :移动光标到行尾crtl + b: 光标前移1个字符crtl + f: 光标后移1个字符crtl + h : 删除光标之前的一个字符ctrl + d :删除光标之后的一个字符crtl + k :删除光标到行尾所有字符crtl + u : 删除光标至行首所有字符crtl + w: 删除光标至行首
- Java 子类与父类这间的转换
周凡杨
java 父类与子类的转换
最近同事调的一个服务报错,查看后是日期之间转换出的问题。代码里是把 java.sql.Date 类型的对象 强制转换为 java.sql.Timestamp 类型的对象。报java.lang.ClassCastException。
代码:
- 可视化swing界面编辑
朱辉辉33
eclipseswing
今天发现了一个WindowBuilder插件,功能好强大,啊哈哈,从此告别手动编辑swing界面代码,直接像VB那样编辑界面,代码会自动生成。
首先在Eclipse中点击help,选择Install New Software,然后在Work with中输入WindowBui
- web报表工具FineReport常用函数的用法总结(文本函数)
老A不折腾
finereportweb报表工具报表软件java报表
文本函数
CHAR
CHAR(number):根据指定数字返回对应的字符。CHAR函数可将计算机其他类型的数字代码转换为字符。
Number:用于指定字符的数字,介于1Number:用于指定字符的数字,介于165535之间(包括1和65535)。
示例:
CHAR(88)等于“X”。
CHAR(45)等于“-”。
CODE
CODE(text):计算文本串中第一个字
- mysql安装出错
林鹤霄
mysql安装
[root@localhost ~]# rpm -ivh MySQL-server-5.5.24-1.linux2.6.x86_64.rpm Preparing... #####################
- linux下编译libuv
aigo
libuv
下载最新版本的libuv源码,解压后执行:
./autogen.sh
这时会提醒找不到automake命令,通过一下命令执行安装(redhat系用yum,Debian系用apt-get):
# yum -y install automake
# yum -y install libtool
如果提示错误:make: *** No targe
- 中国行政区数据及三级联动菜单
alxw4616
近期做项目需要三级联动菜单,上网查了半天竟然没有发现一个能直接用的!
呵呵,都要自己填数据....我了个去这东西麻烦就麻烦的数据上.
哎,自己没办法动手写吧.
现将这些数据共享出了,以方便大家.嗯,代码也可以直接使用
文件说明
lib\area.sql -- 县及县以上行政区划分代码(截止2013年8月31日)来源:国家统计局 发布时间:2014-01-17 15:0
- 哈夫曼加密文件
百合不是茶
哈夫曼压缩哈夫曼加密二叉树
在上一篇介绍过哈夫曼编码的基础知识,下面就直接介绍使用哈夫曼编码怎么来做文件加密或者压缩与解压的软件,对于新手来是有点难度的,主要还是要理清楚步骤;
加密步骤:
1,统计文件中字节出现的次数,作为权值
2,创建节点和哈夫曼树
3,得到每个子节点01串
4,使用哈夫曼编码表示每个字节
- JDK1.5 Cyclicbarrier实例
bijian1013
javathreadjava多线程Cyclicbarrier
CyclicBarrier类
一个同步辅助类,它允许一组线程互相等待,直到到达某个公共屏障点 (common barrier point)。在涉及一组固定大小的线程的程序中,这些线程必须不时地互相等待,此时 CyclicBarrier 很有用。因为该 barrier 在释放等待线程后可以重用,所以称它为循环的 barrier。
CyclicBarrier支持一个可选的 Runnable 命令,
- 九项重要的职业规划
bijian1013
工作学习
一. 学习的步伐不停止 古人说,活到老,学到老。终身学习应该是您的座右铭。 世界在不断变化,每个人都在寻找各自的事业途径。 您只有保证了足够的技能储
- 【Java范型四】范型方法
bit1129
java
范型参数不仅仅可以用于类型的声明上,例如
package com.tom.lang.generics;
import java.util.List;
public class Generics<T> {
private T value;
public Generics(T value) {
this.value =
- 【Hadoop十三】HDFS Java API基本操作
bit1129
hadoop
package com.examples.hadoop;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoo
- ua实现split字符串分隔
ronin47
lua split
LUA并不象其它许多"大而全"的语言那样,包括很多功能,比如网络通讯、图形界面等。但是LUA可以很容易地被扩展:由宿主语言(通常是C或 C++)提供这些功能,LUA可以使用它们,就像是本来就内置的功能一样。LUA只包括一个精简的核心和最基本的库。这使得LUA体积小、启动速度快,从 而适合嵌入在别的程序里。因此在lua中并没有其他语言那样多的系统函数。习惯了其他语言的字符串分割函
- java-从先序遍历和中序遍历重建二叉树
bylijinnan
java
public class BuildTreePreOrderInOrder {
/**
* Build Binary Tree from PreOrder and InOrder
* _______7______
/ \
__10__ ___2
/ \ /
4
- openfire开发指南《连接和登陆》
开窍的石头
openfire开发指南smack
第一步
官网下载smack.jar包
下载地址:http://www.igniterealtime.org/downloads/index.jsp#smack
第二步
把smack里边的jar导入你新建的java项目中
开始编写smack连接openfire代码
p
- [移动通讯]手机后盖应该按需要能够随时开启
comsci
移动
看到新的手机,很多由金属材质做的外壳,内存和闪存容量越来越大,CPU速度越来越快,对于这些改进,我们非常高兴,也非常欢迎
但是,对于手机的新设计,有几点我们也要注意
第一:手机的后盖应该能够被用户自行取下来,手机的电池的可更换性应该是必须保留的设计,
- 20款国外知名的php开源cms系统
cuiyadll
cms
内容管理系统,简称CMS,是一种简易的发布和管理新闻的程序。用户可以在后端管理系统中发布,编辑和删除文章,即使您不需要懂得HTML和其他脚本语言,这就是CMS的优点。
在这里我决定介绍20款目前国外市面上最流行的开源的PHP内容管理系统,以便没有PHP知识的读者也可以通过国外内容管理系统建立自己的网站。
1. Wordpress
WordPress的是一个功能强大且易于使用的内容管
- Java生成全局唯一标识符
darrenzhu
javauuiduniqueidentifierid
How to generate a globally unique identifier in Java
http://stackoverflow.com/questions/21536572/generate-unique-id-in-java-to-label-groups-of-related-entries-in-a-log
http://stackoverflow
- php安装模块检测是否已安装过, 使用的SQL语句
dcj3sjt126com
sql
SHOW [FULL] TABLES [FROM db_name] [LIKE 'pattern']
SHOW TABLES列举了给定数据库中的非TEMPORARY表。您也可以使用mysqlshow db_name命令得到此清单。
本命令也列举数据库中的其它视图。支持FULL修改符,这样SHOW FULL TABLES就可以显示第二个输出列。对于一个表,第二列的值为BASE T
- 5天学会一种 web 开发框架
dcj3sjt126com
Web框架framework
web framework层出不穷,特别是ruby/python,各有10+个,php/java也是一大堆 根据我自己的经验写了一个to do list,按照这个清单,一条一条的学习,事半功倍,很快就能掌握 一共25条,即便很磨蹭,2小时也能搞定一条,25*2=50。只需要50小时就能掌握任意一种web框架
各类web框架大同小异:现代web开发框架的6大元素,把握主线,就不会迷路
建议把本文
- Gson使用三(Map集合的处理,一对多处理)
eksliang
jsongsonGson mapGson 集合处理
转载请出自出处:http://eksliang.iteye.com/blog/2175532 一、概述
Map保存的是键值对的形式,Json的格式也是键值对的,所以正常情况下,map跟json之间的转换应当是理所当然的事情。 二、Map参考实例
package com.ickes.json;
import java.lang.refl
- cordova实现“再点击一次退出”效果
gundumw100
android
基本的写法如下:
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
//navigator.splashscreen.hide();
document.addEventListener("b
- openldap configuration leaning note
iwindyforest
configuration
hostname // to display the computer name
hostname <changed name> // to change
go to: /etc/sysconfig/network, add/modify HOSTNAME=NEWNAME to change permenately
dont forget to change /etc/hosts
- Nullability and Objective-C
啸笑天
Objective-C
https://developer.apple.com/swift/blog/?id=25
http://www.cocoachina.com/ios/20150601/11989.html
http://blog.csdn.net/zhangao0086/article/details/44409913
http://blog.sunnyxx
- jsp中实现参数隐藏的两种方法
macroli
JavaScriptjsp
在一个JSP页面有一个链接,//确定是一个链接?点击弹出一个页面,需要传给这个页面一些参数。//正常的方法是设置弹出页面的src="***.do?p1=aaa&p2=bbb&p3=ccc"//确定目标URL是Action来处理?但是这样会在页面上看到传过来的参数,可能会不安全。要求实现src="***.do",参数通过其他方法传!//////
- Bootstrap A标签关闭modal并打开新的链接解决方案
qiaolevip
每天进步一点点学习永无止境bootstrap纵观千象
Bootstrap里面的js modal控件使用起来很方便,关闭也很简单。只需添加标签 data-dismiss="modal" 即可。
可是偏偏有时候需要a标签既要关闭modal,有要打开新的链接,尝试多种方法未果。只好使用原始js来控制。
<a href="#/group-buy" class="btn bt
- 二维数组在Java和C中的区别
流淚的芥末
javac二维数组数组
Java代码:
public class test03 {
public static void main(String[] args) {
int[][] a = {{1},{2,3},{4,5,6}};
System.out.println(a[0][1]);
}
}
运行结果:
Exception in thread "mai
- systemctl命令用法
wmlJava
linuxsystemctl
对比表,以 apache / httpd 为例 任务 旧指令 新指令 使某服务自动启动 chkconfig --level 3 httpd on systemctl enable httpd.service 使某服务不自动启动 chkconfig --level 3 httpd off systemctl disable httpd.service 检查服务状态 service h