- 《每天最重要的三件事》读书笔记
慧宁Sandy
《每天最重要的三件事》读书笔记☞第一部分先吃掉那只青蛙关键词FASTF代表frog早起安排出1-3只青蛙,5-7只蝌蚪A代表“ActionList”,英文中的行动清单。为青蛙和蝌蚪的行动计划。S是“Slice”的缩写,代表切成小片。方法是九宫格或者思维导图。T代表“Time”,利用的番茄工作法和SWEET原则会使我们面对日程更从容。☞第二部分清空收件夹介绍清空收件夹的三个流程,分别是“收集杂事”“
- Three.js学习5:场景
stones4zd
three.js学习
一、场景场景:可以理解为3D空间,3D世界。能够控制在什么地方、摆放什么东西来交给three.js来渲染。能够放置物体、灯光和摄像机的地方。Three.js场景主要分为两类:Scene:普通场景。Frog:雾。二、场景创建constscene=newTHREE.Scene();创建的场景和相机一起,在渲染器里被渲染后,用户才能看到渲染出来的3D内容。renderer.render(scene,ca
- 尖叫青蛙网络爬虫软件:Screaming Frog SEO Spider
d5fanfan
爬虫
ScreamingFrogSEOSpiderMac版是一款强大的网站爬虫工具,主要用于搜索引擎优化(SEO)。其主要功能和特点如下:网站爬取:ScreamingFrogSEOSpiderMac可以爬取网站的所有页面和链接,用户可以设置爬取的深度和规则,以便更好地优化网站。内部和外部链接分析:该工具可以分析网站的内部和外部链接,并提供与每个链接相关的信息,包括链接类型、状态码、锚文本等。站点结构分析
- 使用jupyter显示模型各层数据和参数
hhh0209
caffecaffe深度学习
参照博客(http://www.cnblogs.com/denny402/p/5105911.html)自己在jupyter上实现了模型各层数据和参数的显示,记录如下:最大的概率是0.70336884,属于第5类(标号从0开始)。与cifar10中的10种类型名称进行对比:airplane、automobile、bird、cat、deer、dog、frog、horse、ship、truck根据测试
- 2018-02-28 Wed. high wind Accompanying Record
Joyce_kexin
一回家dinosaurbaby(套着她的粉色恐龙浴巾)跑来要抱抱呢。小蛋音频:《超级飞侠》,这几日听得都快背下来了吧。也是我们难得清静的时刻。点数:这三种水果123数得像模像样的,我拿走一个pitaya,问她还有几个?不假思索回答两个,这是连减法都会做了吗o(∩_∩)o图片发自App游戏:蹲下跳就可以变成frog,开唱'I'mlittlegreenfrog...'还不忘伸出她“长长的”舌头“吃bu
- 每周LeetCode算法题(十五)403. Frog Jump
JacKnights
leetcodeleetcode
每周LeetCode算法题(十五)题目:403.FrogJumpAfrogiscrossingariver.Theriverisdividedintoxunitsandateachunittheremayormaynotexistastone.Thefrogcanjumponastone,butitmustnotjumpintothewater.Givenalistofstones’positio
- pytorch中torchvision数据集的使用——CIFAR-10dataset数据集
m0_54291751
pytorchpythonpytorch数据卷
一、数据集的基本使用介绍1.数据集的基本介绍CIFAR-10dataset数据集在这个数据集中包括了60000张32*32的彩色图片这个图片会有10种类别['airplane','automobile','bird','cat','deer','dog','frog','horse','ship','truck']每个类别有6000张图像其中有50000张图像训练图片然后10000张是测试图片这个
- SuperNova Day 7
六六大叔
SmallStarA:Lesson5–Lesson6目标词汇:Words:photo,photoalbumR-blendwords:crab,frog,drum,tree,bread,grape目标句型:'He/Sheismy(family).''Ihavea(family).'Ishe/she…?'Yes,he/sheis.'/'No,he/sheisn't.'复习要求:1.完成Homework
- 你的PPT专业吗?
我是玥
今天是PPT特训营的第一天,胡奎老师用生动的案例给我们揭示了做好PPT的重要性,以及想要做的好看的三点原则,和避免掉坑的三大风险。有些问题自己还真没注意过,有些是自己无意识做了却没总结规律,知其然不知其所以然。这次听老师的视频,顿时有种茅塞顿开之感。果然,就像储君老师讲的:越是碎片化时代越需要系统性学习。今日学习内容:一、PPT重要性专业性:微软:深灰色底白色字左右版式frog:灰色背景简单的线条
- 《每天最重要的3件事》笔记——时间管理三利器
静夏安好
本书是一本关于时间管理的书,讲了三个习惯。这本书所讲的都是我知道的,当成复习读完了。这本书适合从未接触实践管理的小白,如果是对时间管理略有所知的人,直接读作者推荐的几本书更好。习惯1:先吃掉那只青蛙F(frog):找出最重要的事情遵循要事为先的原则,找出每天最重要的事情,最先完成这些"青蛙"。A(action):列出行动清单针对这些重要的事情,列出行动清单。但必须遵循列出多少就必须完成的原则,否则
- cifar10学习笔记(1)运行官方用例
谢昆明
CIFAR-10分类问题是机器学习领域一种常见的基准问题,其任务是将RGB32x32像素的图像分为以下10类:airplane,automobile,bird,cat,deer,dog,frog,horse,ship,andtruck.源码从tenforflowmodel拷贝一份,里面东西太多,只拷贝了models/tutorials/image/cifar10/,这是我的项目,也可以直接fork
- 网络爬虫开发软件Screaming Frog SEO Spider mac中文版软件特点
mac116
苹果mac苹果macSEO工具Windows软件ScreamingFrog
ScreamingFrogSEOSpidermac是一款SEO工具,可以帮助用户进行网站的SEO优化和分析。ScreamingFrogSEOSpidermac软件特点网站爬取:可以快速扫描整个网站并列出所有内部和外部页面,包括URL,标题,描述和头信息等。数据导出:可以将扫描结果导出为CSV,Excel,GoogleSheets和其他格式,并进一步分析和处理数据。可视化界面:提供直观的可视化界面,
- Kung Fu Frog
Goblinsd
mongodb
KungFuFrogisaveryinterestinggame,whichtakestheformofalotusleafmaze,allowingplayerstofeelthewonderfuladventureoffrogsintheprocessofadventure.Thegamesceneisvividandvivid,andeachlinkisdesignedtobeverycha
- 基于卷积神经网络的图像识别-案例实施1
会的东西有点杂
Python深度学习cnn人工智能神经网络
案例描述学习如何搭建CNN卷积神经网络,训练cifar-10数据,识别图片中的内容。案例分析cifar-10是由Hinton的学生AlexKrizhevsky和IlyaSutskever整理的一个用于识别普适物体的小型数据集。一共包含10个类别的RGB彩色图片:飞机(airplane)、汽车(automobile)、鸟类(bird)、猫(cat)、鹿(deer)、狗(dog)、蛙类(frog)、马
- 绘本学习Brown bear brown bear, what can you see
玩儿英语的花旦
各位小朋友,亲爱的宝爸宝妈,今天Mary老师来和大家一起学习一个绘本小故事,Brownbear,brownbear,whatdoyousee?这个绘本适应3-6岁小朋友哦!01学习目标首先,我们来看一下读绘本时需要学习的学习目标:核心词汇:brownbear棕熊,red红色,bird鸟,yellow黄色,duck鸭子,blue蓝色,horse马,green绿色,frog青蛙,purple紫色,ca
- 麦豆悦读英文绘本讲师训练营【第15】期---17/21--绘本赏析--《I'm a frog》
iris妈妈
15期1501张雯-Vicky这是我给Iris启蒙第一阶段中很重要的一套,一开始跟风买来给3岁的娃,但是大部分时候是我自娱自乐,但是这本书却把他都笑了,至今都记着。。。ElephantandPiggie系列是作者MoWillems之得意代表作。故事中小猪Piggie和大象Gerald是最好的朋友,不过他们的个性天差地别:小猪轻松乐观,有时甚至有些漫不经心,大象却很容易紧张和忧虑,有时也会为一些小事
- 从今天起培养这5个好习惯,让你在 2019 年快速成长!
f67117925235
本文为我们设计师和产品人分享:2019年,如何培养5个好习惯。文章目录保持目标感量化输入内容整理并思考持续输入乐于分享保持目标感在2018年初的时候,我仿佛感受到了成长的瓶颈,也有过焦虑。一边想要做很多事情,列很多计划,一边又在向可怜的时间和没有方向的自己做出妥协。想养成好的习惯,但又不知从何开始。一时间,我成了语言的巨人,行动的矮子。直到一天,我在知乎上看到了frog前全球执行创意总监MarkR
- Ob_Zotero联动流程,Better notes + pdf translate +zotero style +green frog 插件大串联
新奥尔良乳猪
pdf笔记论文笔记
Obsidian是markdown笔记管理工具、Zotero作为强大的文献管理工具,它们都有着大量活跃开发者提供各式插件,高度灵活,免费,是各自领域的集大成者。而且他们都将数据保存在本地,意谓着数据都自己掌控,还能自由同步。BetterNotes有着真正的双向同步机制,因此我觉得以此插件为基础,可以实现大众需求的笔记同步。于是我探索了相关流程,分享给大家,抛砖引玉。文章来源:https://git
- PPT第一天(PPT究竟有多重要)
森暖7758
认识PPT微软公司(左右分布,深灰色底色搭配白色字体)Frog(简约线条,灰色背景)失败案例(百度总监刘超)PPT要做成什么样清爽大方:字体.配色重点突出:对重要内容进行颜色更改,字体放大风险1没保存2第一稿挺好3播放设备
- 8.9使用 matplotlib 绘制高级图表——绘制树状图
BinaryStarXin
Python数据可视化matplotlibpython
树状图亦称为树枝状图,是一种通过树状结构描述父子成员层次结构的图形。树形图的形状一般是一个上下颠倒的树,其根部是一个没有父成员的根节点,之后从根节点开始用线连接子成员,使子成员变为子节点,直至线的末端为没有子成员的树叶节点为止。树形图用于说明成员之间的关系和连接,常见于分类学、进化科学、企业组织管理等领域。例如,frog技术专家PaulAdams设计的人工智能树状图(部分)如图8-19所示。从图8
- ERROR tool.ImportTool: Import failed: org.apache.hadoop.mapred.FileAlreadyExistsException: Output...
我住永安当
报错代码:20/11/1400:36:50ERRORtool.ImportTool:Importfailed:org.apache.hadoop.mapred.FileAlreadyExistsException:Outputdirectoryhdfs://localhost:9000/user/frog005/coursealreadyexistsatorg.apache.hadoop.mapr
- Screaming Frog SEO Spider,为您的网站提供全方位的优化解决方案
招财进宝129
macosmacMac软件ScreamingFrogSEO工具
ScreamingFrogSEOSpider是一款适用于Mac的软件,它可以帮助用户分析网站的优化信息。该软件可以模拟蜘蛛爬行的方式,抓取网站的各种信息,并将这些信息整理成易于理解的报告。这些报告可以帮助用户评估网站的优化情况,发现链接的问题,并优化链接结构。ScreamingFrogSEOSpider的另一个重要功能是生成站点地图。它可以自动生成网站的站点地图,帮助用户更好地管理网站。此外,该软
- leetcode - 403. Frog Jump
KpLn_HJL
OJ题目记录leetcode算法职场和发展
DescriptionAfrogiscrossingariver.Theriverisdividedintosomenumberofunits,andateachunit,theremayormaynotexistastone.Thefrogcanjumponastone,butitmustnotjumpintothewater.Givenalistofstones’positions(inuni
- 学习总结7/17-19
_月光刻本
目录动态规划算法思路1、确定状态2、状态转移方程3、初始条件和边界情况4、计算顺序(for循环)frog_stoneD题frog_stone+kC题二分子序列_A题基因片段_M题暑假最大快乐值_B题01背包/完全背包cut_ribbonE题memset函数用法动态规划算法思路1、确定状态解动态规划问题的时候需要开一个数组,数组的每一个元素a【i】或者a【i】【j】代表什么确定状态需要的两个意识一、
- 《吃掉那只青蛙》|第1章 明确目标
生如夏花绚烂璀璨
图片发自App第1章明确目标为了获得成功,一个人必须具备这样的素质,即拥有明确的目标,知道自己想要得到什么,同时拥有实现这一目标的强烈愿望。——拿破仑·希尔首先要确定你在生活中的每个领域要达到的目标是什么,然后再决定把什么作为你要吃的“青蛙”(frog)。拥有明确(clarity)的目标或许是个人生产力领域最重要的概念了。其中一个很重要的原因就是,有的人非常明确自己的目标和现实情况是什么,他们在努
- Lesson3FrogandtheWaterAnimals
ff47cbfb67b4
❤️目标:使孩子能够认识一些水生动物,掌握frog,turtle等动物;能够模仿一些水生动物的特征,如叫声,标志性的动作等。❤️需要掌握的单词:turtle,frog,crab,fish,whale,shark.❤️需要掌握的重点句型:Whatisthisanimal?--Itisaturtle(crab/frog)Whatkindofanimalisaturtle(crab/frog)--Atu
- JFrog 收购 Vdoo 以提供从开发到设备的端到端持续安全
JFrog
收购在统一的DevOps平台中为全类型的软件版本提供新的软件安全产品加利福尼亚州桑尼维尔,2021年6月29日—流动式软件公司JFrogLtd.(“JFrog”)(纳斯达克股票代码:FROG)今天宣布已达成最终协议,以收购VdooConnectedTrustLtd.(“Vdoo”))以现金和股票为基础的交易,价值约3亿美元。JFrog已加快努力提供行业领先的安全产品,以支持DevOps用户应对持续
- Educational DP Contest A-J
waaagh
A-Frog1思路:dp[i]:青蛙跳到i位置最小cost,则动规公式:dp[i]=min{dp[i-1]+|hi-hi-1|,注意代码:#include#include#includeusingnamespacestd;constintMAXN=10e5+10;intN;inth[MAXN];intdp[MAXN];intmain(){cin>>N;for(inti=1;i>h[i];}mems
- The story of the scorpion and the frog
裴莉莉
Scorpionasksfrogforarideacrosstheriver.Frog’slike,“asif,youwillstingme.”Thescorpion’slike,“ofcourse,Iwon’t.IfIstingyou,Iwilldrowntoo.”So,frogagrees.TheyreachthemiddleoftheriverandsuddenlyZap!Scorpions
- 【算法】树形DP ② 打家劫舍Ⅲ(树上最大独立集)
小威W
算法算法树形DP打家劫舍ⅢDFS动态规划树
文章目录前期知识例题337.打家劫舍III相关练习题目没有上司的舞会https://www.luogu.com.cn/problem/P13521377.T秒后青蛙的位置https://leetcode.cn/problems/frog-position-after-t-seconds/⭐⭐⭐解法1:BFS优化代码解法2——自顶向下dfs解法3——自底向上dfs2646.最小化旅行的价格总和htt
- Hadoop(一)
朱辉辉33
hadooplinux
今天在诺基亚第一天开始培训大数据,因为之前没接触过Linux,所以这次一起学了,任务量还是蛮大的。
首先下载安装了Xshell软件,然后公司给了账号密码连接上了河南郑州那边的服务器,接下来开始按照给的资料学习,全英文的,头也不讲解,说锻炼我们的学习能力,然后就开始跌跌撞撞的自学。这里写部分已经运行成功的代码吧.
在hdfs下,运行hadoop fs -mkdir /u
- maven An error occurred while filtering resources
blackproof
maven报错
转:http://stackoverflow.com/questions/18145774/eclipse-an-error-occurred-while-filtering-resources
maven报错:
maven An error occurred while filtering resources
Maven -> Update Proje
- jdk常用故障排查命令
daysinsun
jvm
linux下常见定位命令:
1、jps 输出Java进程
-q 只输出进程ID的名称,省略主类的名称;
-m 输出进程启动时传递给main函数的参数;
&nb
- java 位移运算与乘法运算
周凡杨
java位移运算乘法
对于 JAVA 编程中,适当的采用位移运算,会减少代码的运行时间,提高项目的运行效率。这个可以从一道面试题说起:
问题:
用最有效率的方法算出2 乘以8 等於几?”
答案:2 << 3
由此就引发了我的思考,为什么位移运算会比乘法运算更快呢?其实简单的想想,计算机的内存是用由 0 和 1 组成的二
- java中的枚举(enmu)
g21121
java
从jdk1.5开始,java增加了enum(枚举)这个类型,但是大家在平时运用中还是比较少用到枚举的,而且很多人和我一样对枚举一知半解,下面就跟大家一起学习下enmu枚举。先看一个最简单的枚举类型,一个返回类型的枚举:
public enum ResultType {
/**
* 成功
*/
SUCCESS,
/**
* 失败
*/
FAIL,
- MQ初级学习
510888780
activemq
1.下载ActiveMQ
去官方网站下载:http://activemq.apache.org/
2.运行ActiveMQ
解压缩apache-activemq-5.9.0-bin.zip到C盘,然后双击apache-activemq-5.9.0-\bin\activemq-admin.bat运行ActiveMQ程序。
启动ActiveMQ以后,登陆:http://localhos
- Spring_Transactional_Propagation
布衣凌宇
springtransactional
//事务传播属性
@Transactional(propagation=Propagation.REQUIRED)//如果有事务,那么加入事务,没有的话新创建一个
@Transactional(propagation=Propagation.NOT_SUPPORTED)//这个方法不开启事务
@Transactional(propagation=Propagation.REQUIREDS_N
- 我的spring学习笔记12-idref与ref的区别
aijuans
spring
idref用来将容器内其他bean的id传给<constructor-arg>/<property>元素,同时提供错误验证功能。例如:
<bean id ="theTargetBean" class="..." />
<bean id ="theClientBean" class=&quo
- Jqplot之折线图
antlove
jsjqueryWebtimeseriesjqplot
timeseriesChart.html
<script type="text/javascript" src="jslib/jquery.min.js"></script>
<script type="text/javascript" src="jslib/excanvas.min.js&
- JDBC中事务处理应用
百合不是茶
javaJDBC编程事务控制语句
解释事务的概念; 事务控制是sql语句中的核心之一;事务控制的作用就是保证数据的正常执行与异常之后可以恢复
事务常用命令:
Commit提交
- [转]ConcurrentHashMap Collections.synchronizedMap和Hashtable讨论
bijian1013
java多线程线程安全HashMap
在Java类库中出现的第一个关联的集合类是Hashtable,它是JDK1.0的一部分。 Hashtable提供了一种易于使用的、线程安全的、关联的map功能,这当然也是方便的。然而,线程安全性是凭代价换来的――Hashtable的所有方法都是同步的。此时,无竞争的同步会导致可观的性能代价。Hashtable的后继者HashMap是作为JDK1.2中的集合框架的一部分出现的,它通过提供一个不同步的
- ng-if与ng-show、ng-hide指令的区别和注意事项
bijian1013
JavaScriptAngularJS
angularJS中的ng-show、ng-hide、ng-if指令都可以用来控制dom元素的显示或隐藏。ng-show和ng-hide根据所给表达式的值来显示或隐藏HTML元素。当赋值给ng-show指令的值为false时元素会被隐藏,值为true时元素会显示。ng-hide功能类似,使用方式相反。元素的显示或
- 【持久化框架MyBatis3七】MyBatis3定义typeHandler
bit1129
TypeHandler
什么是typeHandler?
typeHandler用于将某个类型的数据映射到表的某一列上,以完成MyBatis列跟某个属性的映射
内置typeHandler
MyBatis内置了很多typeHandler,这写typeHandler通过org.apache.ibatis.type.TypeHandlerRegistry进行注册,比如对于日期型数据的typeHandler,
- 上传下载文件rz,sz命令
bitcarter
linux命令rz
刚开始使用rz上传和sz下载命令:
因为我们是通过secureCRT终端工具进行使用的所以会有上传下载这样的需求:
我遇到的问题:
sz下载A文件10M左右,没有问题
但是将这个文件A再传到另一天服务器上时就出现传不上去,甚至出现乱码,死掉现象,具体问题
解决方法:
上传命令改为;rz -ybe
下载命令改为:sz -be filename
如果还是有问题:
那就是文
- 通过ngx-lua来统计nginx上的虚拟主机性能数据
ronin47
ngx-lua 统计 解禁ip
介绍
以前我们为nginx做统计,都是通过对日志的分析来完成.比较麻烦,现在基于ngx_lua插件,开发了实时统计站点状态的脚本,解放生产力.项目主页: https://github.com/skyeydemon/ngx-lua-stats 功能
支持分不同虚拟主机统计, 同一个虚拟主机下可以分不同的location统计.
可以统计与query-times request-time
- java-68-把数组排成最小的数。一个正整数数组,将它们连接起来排成一个数,输出能排出的所有数字中最小的。例如输入数组{32, 321},则输出32132
bylijinnan
java
import java.util.Arrays;
import java.util.Comparator;
public class MinNumFromIntArray {
/**
* Q68输入一个正整数数组,将它们连接起来排成一个数,输出能排出的所有数字中最小的一个。
* 例如输入数组{32, 321},则输出这两个能排成的最小数字32132。请给出解决问题
- Oracle基本操作
ccii
Oracle SQL总结Oracle SQL语法Oracle基本操作Oracle SQL
一、表操作
1. 常用数据类型
NUMBER(p,s):可变长度的数字。p表示整数加小数的最大位数,s为最大小数位数。支持最大精度为38位
NVARCHAR2(size):变长字符串,最大长度为4000字节(以字符数为单位)
VARCHAR2(size):变长字符串,最大长度为4000字节(以字节数为单位)
CHAR(size):定长字符串,最大长度为2000字节,最小为1字节,默认
- [强人工智能]实现强人工智能的路线图
comsci
人工智能
1:创建一个用于记录拓扑网络连接的矩阵数据表
2:自动构造或者人工复制一个包含10万个连接(1000*1000)的流程图
3:将这个流程图导入到矩阵数据表中
4:在矩阵的每个有意义的节点中嵌入一段简单的
- 给Tomcat,Apache配置gzip压缩(HTTP压缩)功能
cwqcwqmax9
apache
背景:
HTTP 压缩可以大大提高浏览网站的速度,它的原理是,在客户端请求网页后,从服务器端将网页文件压缩,再下载到客户端,由客户端的浏览器负责解压缩并浏览。相对于普通的浏览过程HTML ,CSS,Javascript , Text ,它可以节省40%左右的流量。更为重要的是,它可以对动态生成的,包括CGI、PHP , JSP , ASP , Servlet,SHTML等输出的网页也能进行压缩,
- SpringMVC and Struts2
dashuaifu
struts2springMVC
SpringMVC VS Struts2
1:
spring3开发效率高于struts
2:
spring3 mvc可以认为已经100%零配置
3:
struts2是类级别的拦截, 一个类对应一个request上下文,
springmvc是方法级别的拦截,一个方法对应一个request上下文,而方法同时又跟一个url对应
所以说从架构本身上 spring3 mvc就容易实现r
- windows常用命令行命令
dcj3sjt126com
windowscmdcommand
在windows系统中,点击开始-运行,可以直接输入命令行,快速打开一些原本需要多次点击图标才能打开的界面,如常用的输入cmd打开dos命令行,输入taskmgr打开任务管理器。此处列出了网上搜集到的一些常用命令。winver 检查windows版本 wmimgmt.msc 打开windows管理体系结构(wmi) wupdmgr windows更新程序 wscrip
- 再看知名应用背后的第三方开源项目
dcj3sjt126com
ios
知名应用程序的设计和技术一直都是开发者需要学习的,同样这些应用所使用的开源框架也是不可忽视的一部分。此前《
iOS第三方开源库的吐槽和备忘》中作者ibireme列举了国内多款知名应用所使用的开源框架,并对其中一些框架进行了分析,同样国外开发者
@iOSCowboy也在博客中给我们列出了国外多款知名应用使用的开源框架。另外txx's blog中详细介绍了
Facebook Paper使用的第三
- Objective-c单例模式的正确写法
jsntghf
单例iosiPhone
一般情况下,可能我们写的单例模式是这样的:
#import <Foundation/Foundation.h>
@interface Downloader : NSObject
+ (instancetype)sharedDownloader;
@end
#import "Downloader.h"
@implementation
- jquery easyui datagrid 加载成功,选中某一行
hae
jqueryeasyuidatagrid数据加载
1.首先你需要设置datagrid的onLoadSuccess
$(
'#dg'
).datagrid({onLoadSuccess :
function
(data){
$(
'#dg'
).datagrid(
'selectRow'
,3);
}});
2.onL
- jQuery用户数字打分评价效果
ini
JavaScripthtmljqueryWebcss
效果体验:http://hovertree.com/texiao/jquery/5.htmHTML文件代码:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>jQuery用户数字打分评分代码 - HoverTree</
- mybatis的paramType
kerryg
DAOsql
MyBatis传多个参数:
1、采用#{0},#{1}获得参数:
Dao层函数方法:
public User selectUser(String name,String area);
对应的Mapper.xml
<select id="selectUser" result
- centos 7安装mysql5.5
MrLee23
centos
首先centos7 已经不支持mysql,因为收费了你懂得,所以内部集成了mariadb,而安装mysql的话会和mariadb的文件冲突,所以需要先卸载掉mariadb,以下为卸载mariadb,安装mysql的步骤。
#列出所有被安装的rpm package rpm -qa | grep mariadb
#卸载
rpm -e mariadb-libs-5.
- 利用thrift来实现消息群发
qifeifei
thrift
Thrift项目一般用来做内部项目接偶用的,还有能跨不同语言的功能,非常方便,一般前端系统和后台server线上都是3个节点,然后前端通过获取client来访问后台server,那么如果是多太server,就是有一个负载均衡的方法,然后最后访问其中一个节点。那么换个思路,能不能发送给所有节点的server呢,如果能就
- 实现一个sizeof获取Java对象大小
teasp
javaHotSpot内存对象大小sizeof
由于Java的设计者不想让程序员管理和了解内存的使用,我们想要知道一个对象在内存中的大小变得比较困难了。本文提供了可以获取对象的大小的方法,但是由于各个虚拟机在内存使用上可能存在不同,因此该方法不能在各虚拟机上都适用,而是仅在hotspot 32位虚拟机上,或者其它内存管理方式与hotspot 32位虚拟机相同的虚拟机上 适用。
- SVN错误及处理
xiangqian0505
SVN提交文件时服务器强行关闭
在SVN服务控制台打开资源库“SVN无法读取current” ---摘自网络 写道 SVN无法读取current修复方法 Can't read file : End of file found
文件:repository/db/txn_current、repository/db/current
其中current记录当前最新版本号,txn_current记录版本库中版本