- 汇总相同清单工程量的进一步思考-对清单去重精简寻找签证的可能性
极算手
工程情景当我们遇到单项工程里包含多个单位工程,比如别墅群、住宅群等同一户型同一项目施工做法都一样同一清单特征严格意义讲描述做法应当唯一实际工作中我们可能遇到即使在同一单位工程中同一项目清单特征描述可能也不一样那我们如何在众多清单特征中寻找同一做法的不同清单描述呢?操作方法可能千千万万我个人尝试下来还是利用VBA最为便捷去重操作几千条清单中重复的清单高能高达上千条直接查找对比必然耗费大量时间精力首一
- 『点云处理任务 』用PCL库 还是 深度学习模型?
爱钓鱼的歪猴
点云深度学习人工智能pcl库
深度学习和PCL库都可以用来做点云处理任务,但是二者侧重点有所不同。1、PCL库(点云库)是一个专门用于点云处理和三维几何分析的开源类库,常用于以下任务:1、点云滤波:用于去除噪音、下采样和平滑等操作,入统计滤波、体素滤波和高斯滤波等。2、特征提取和描述:用于捕获地点云数据的表面特征,入法线估计、曲率计算、局部特征描述子(如FPFH、SHOT)等。3、点云配准:,用于将不同视角或不同时间的点云数据
- 仿论坛项目--第三部分习题
HUT_Tyne265
前端javascript数据库
1.关于前缀树的特征描述不正确的是:根节点不包含字符,除根节点以外的每个节点,只包含一个字符。从根节点到某一个节点,路径经过的字符连接起来,为该节点对应的字符串。每个节点的所有子节点,包含的字符串不相同。每个节点,最多只能包含2个节点。解析:这些描述都是关于前缀树(Trie)的一些基本特点。前缀树是一种树形结构,用于高效地存储字符串数据,常用于自动补全或拼写检查等应用。在前缀树中:根节点通常不包含
- openCV【实践系列】2——OpenCV方向梯度直方图
一只长尾巴
什么是特征描述符特征描述符是图像或图像块的表示,其通过提取有用信息和丢弃无关信息来简化图像。通常,特征描述符将一个width*height*3(通道)的图像转换为长度为n的特征向量或数组。在HOG特征描述符的情况下,输入图像的大小为64×128×3,输出特征向量的长度为3780。在HOG特征描述符中,梯度方向(定向梯度)的分布(直方图)被用作特征。图像的梯度(x和y导数)是有用的,因为在边缘和角落
- 什么是特征检测和描述,OpenCV中常见的特征检测算法有哪些?
-Max-静-
#opencv学习opencv算法人工智能
特征检测和描述是计算机视觉中的基本概念,它们在图像识别、对象跟踪、图像拼接等多种任务中发挥着至关重要的作用。特征检测是指识别图像中重要的特定点、区域或结构,这些特征通常具有独特性、可重复性以及对光照变化、旋转和比例变换等变化的鲁棒性。这些特征点可以用作进一步分析的参考。特征描述是基于一定的几何或者颜色信息生成特征点的特征描述符,这种描述应满足欧式空间的仿射不变性和噪声鲁棒性,并且不同特征点的特征描
- SHOT特征描述符、对应关系可视化以及ICP配准
jjm2002
点云配准C++关键点提取c++点云配准SHOT
一、SHOT特征描述符可视化C++#include#include#include#include#include//使用OMP需要添加的头文件#include#include#include//直方图的可视化#include#includeusingnamespacestd;intmain(){//------------------加载点云数据-----------------pcl::Poi
- VFH特征的使用(一)
jjm2002
c++点云配准VFH
一、SHOT特征描述符可视化C++#include#include#include#include#include#include#include#include#include#include#includeusingnamespacestd;namespacepcl{template{inlinefloatoperator()(constPointXYZ&p)const{returnp.z;}
- FPFH特征描述符、对应关系可视化以及ICP配准
jjm2002
c++点云配准FPFH
一、FPFH特征描述符可视化C++#include#include#include#include#include//使用OMP需要添加的头文件#include#include#include//直方图的可视化#include#include#includeusingnamespacestd;intmain(){//------------------加载点云数据-----------------
- 3DSC特征描述符、对应关系可视化以及ICP配准
jjm2002
点云配准C++3dc++点云配准3DSC
一、3DSC特征描述符可视化C++#include#include#include#include#include//使用OMP需要添加的头文件#include#include#include#include//直方图的可视化#include#includeusingnamespacestd;intmain(){//------------------加载点云数据-----------------
- 34从传统算法到深度学习:目标检测入门实战 --方向梯度直方图
Jachin111
什么是方向梯度直方图在前面的实验1、实验2中,我们了解到传统的目标检测流程可分为三个步骤,第一步是使用滑动窗口和图像金字塔从图片中选择一些区域。第二步是将选择出来的区域转化为人工设计的特征,可称为特征提取。第三步是将这些特征输入分类器进行分类。方向梯度直方图(HistogramofOrientedGradients)以下简称HOG,就是一种人工设计的特征,用来简化图像表述的特征描述符。下图中左边的
- 异源图像匹配
吧啦_吧啦
姓名:刘倩学号;19021210889【嵌牛导读】:光学图像和SAR图像的成像机理不同,两者之间往往存在较大的灰度差异,由于我国现有的表技术条件的限制,多采用光学图像作为基准图,SAR图像作为匹配实时图。基于以上两者的差异,所以传统的基于灰度信息特征描述的图像匹配方法不再适用。因此,研究精度高,实时性强的光学与SAR图像匹配方法对精确制导武器的研究具有重要的意义。【嵌牛鼻子】:SAR图像光学图像图
- 【Python】面向对象编程基础
xy.Ren
Pythonpython开发语言
一、类和对象类是对象的蓝图和模板,而对象是类的实例。二、定义类使用关键字class定义类,然后通过函数来定义方法,这样就可以将对象的动态特征描述出来。classStudent(object):#__init__是一个特殊方法用于在创建对象时进行初始化操作#通过这个方法我们可以为学生对象绑定name和age两个属性def__init__(self,name,age):self.name=namese
- 图像搜索和分类
顽皮的石头7788121
基于内容的搜索检索在视觉上具有相似性的图像,在图像数据库中返回具相似颜色、纹理和物体以及场景的图像。视觉单词通常通过特征描述子(SIFT)等结合聚类算法得到聚类质心。用视觉单词直方图来表示一个图像。图像索引根据图像特征分别建立索引,以索引的方式搜索图像。图像分类图像分类算法类似,提取关键特征,以机器学习方法进行分类
- 第十四篇【传奇开心果系列】Python的OpenCV库技术点案例示例:图像特征提取与描述
传奇开心果编程
Python库OpenCV技术点案例示例短博文pythonopencv人工智能计算机视觉
传奇开心果短博文系列系列短博文目录Python的OpenCV库技术点案例示例系列短博文目录前言一、OpenCV图像特征提取与描述介绍二、OpenCV图像特征提取与描述初步示例代码三、扩展思路介绍四、特征点筛选和匹配优化示例代码五、多尺度特征提取示例代码六、非局部特征描述子示例代码七、基于深度学习的特征提取示例代码八、自定义特征提取示例代码九、归纳总结系列短博文目录Python的OpenCV库技术点
- ISTJ(内倾、感觉、思维和判断)——从容不迫地做好自己的工作
简历社交
个性特征描述:★ISTJ型的人是严肃的、有责任心的和通情达理的社会坚定分子。他们值得信赖,他们重视承诺,对他们来说,言语就是庄严的宣誓。ISTJ型的人工作缜密,讲求实际,很有头脑也很现实。他们具有很强的集中力、条理性和准确性。无论他们做什么,都相当有条理和可靠。他们具有坚定不移、深思熟虑的思想,一旦他们着手自己相信是最好的行动方法时,就很难转变或变得沮丧。★ISTJ型的人特别安静和勤奋,对于细节有
- 网络小说动作,神态,表情描写方法技巧
一次搞大
动作描写的技巧,大致包括:细节法、对照法、接顺法、反常法、特点法、共显法。具体使用解析如下:一、动作描写六个方法(一)、细节法细节法的关键在于对某个动作或镜头的连续性特征描述,要展现出某个细部的精髓内容,句子可以适当短一些,小分句可以多一些,是一段“快速、轻捷、细致”的生动展示。小姨将双袖向上一挽,裤脚也被卷到了大腿。她在小溪水里慢慢移动着,左脚轻轻地抬起一点,向前迈了一小步,右脚再慢慢拖向前,好
- 【影像组学入门百问】#73--#77
有Li
python人工智能计算机视觉
#73-PyRadiomics可以提取哪些类别的影像组学特征?1,第一阶统计特征(First-orderstatistics):这些特征反映了图像的基本属性,主要通过对感兴趣区域(ROI)内的像素强度值进行统计分析而获得。包括均值、方差、最大值、最小值、中值、偏度、峰度等。2,形状特征(Shape-basedfeatures):这些特征描述了ROI的几何形状和大小属性。例如,体积、表面积、紧凑性、
- Opencv C++ SIFT特征提取(单图像,多图像)+如何设置阈值+如何对文件夹进行批处理+如何设置掩膜裁剪影像
海棠RS
OpenCV-工程向opencv人工智能计算机视觉c++
一、何谓SITF特征提取,它有什么作用?SIFT(Scale-InvariantFeatureTransform)是一种用于图像处理和计算机视觉的特征提取算法。由DavidLowe于1999年首次提出,它是一种非常有效的局部特征描述符,具有尺度不变性、旋转不变性和对部分遮挡的鲁棒性。SIFT特征提取的主要步骤包括:尺度空间极值检测(Scale-SpaceExtremaDetection):通过不同
- 随笔|组织发展与培训之间的关系
玥辰_dae7
百度OD定义组织发展(OD)是由于现代世界的科技、市场、环境等快速变迁,组织必须改变组织成员的认知、态度、价值观及组织本身的结构的机构。以适应新挑战,面向整个组织系统。其目的乃在维持与更新组织生命力。胜任力模型角度分析从胜任力模型角度来分析,胜任特征描述为漂浮在水面上的冰山,水面之上为可见的知识技能,水面之下包含特质,动机,社会角色,自我概念等。培训主要目的是为了提升知识技能;而OD主要偏向于激发
- Ellisys 使用小技巧
WirelessHarmony
网络服务器数据库
背景介绍空口抓包仪是蓝牙开发过程中非常有帮助的工具,开发人员可以根据现场抓到的空中包/HCI更快发现问题所在。本文针对工作中用到的Ellisys抓包仪总结遇到的一些常用技巧以及注意事项。Ellisys抓包仪如下图所示几个型号,都提供一系列功能,实现对蓝牙技术的协议、性能和射频行为进行各种分析和特征描述,用于捕获和分析Wi-Fi、WPAN(IEEE802.15.4)、主机控制器接口(HCI)标准以及
- 基于SURF算法的图像匹配
会的东西有点杂
机器视觉Matlab计算机视觉人工智能
基础理论2006年HerbertBay提出了SURF算法,该算法是对SIFT算法的改进,不仅继承了SIFT算法的优点,而且比SIFT算法速度快。下面是SURF算法的步骤。(1)建立积分图像(2)构建尺度空间(3)筛选特征点(4)计算特征点主方向(5)特征描述子生成Matlab代码%%读取图像I1=imread('baby1.JPG');I1=imresize(I1,0.6);I1=rgb2gray
- 常立志还是立长志
骆L
《古今贤文》中曾提:无志之人常立志,有志之人立长志。《论语》中曾提:君子立长志,小人常立志。古之贤者即然都这样说,那如我这般目光短浅、胸无大志之人,应该算是一个不折不扣的“小人”了吧。可悲。可恶。何出此言?我试图去寻找身为小人的证据,偶然间在一篇国学杂谈中看到了关于“小人”的特征描述:一、说是一套,做是一套;二、小肚鸡肠,睚眦必报;三、当面热情,背后捅刀;四、对上吹捧,对下欺凌;五、结党营私,党同
- 基于SIFT算法的图像匹配
会的东西有点杂
Matlab机器视觉算法人工智能深度学习
基本概念尺度不变特征转换(Scale-invariantfeaturetransform,简称SIFT),是一种用来侦测与描述影像中的局部性特征的算法,它在空间尺度中寻找极值点,提取位置、尺度、旋转不变量,生成特征描述子。SIFT算法的实质是在不同的尺度空间上查找关键点(特征点),并计算出关键点的方向。计算步骤SIFT算法主要分以下步骤:(1)尺度空间极值点检测:搜索所有尺度上的图像位置,通过高斯
- 机器学习_基本机器学习术语
you_are_my_sunshine*
机器学习机器学习人工智能
文章目录介绍机器学习的基本术语1、特征2、标签3、模型介绍机器学习的基本术语这里主要介绍特征、标签、模型1、特征含义:用于描述数据的输入变量。特征是机器学习中的输入,原始的特征描述了数据的属性。它是有维度的。特征的维度指的是特征的数目(不是数据集里面样本的个数),不同的数据集中的数据特征的维度不同,有多有少。少,可以少到仅有一个特征,也就是一维特征数据。比如房价(标签)仅依据房屋面积(特征)而定。
- ISFP(内倾、感觉、情感和知觉)——思想起决定作用
简历社交
个性特征描述:※ISFP型的人平和、敏感,他们保持着许多强烈的个人思想和自己的价值观。他们更多地是通过行为而不是言辞表达自己深沉的情感。※ISFP型的人耐心、灵活,很容易与他人相处,很少支配或控制别人。他们很客观,以一种相当实事求是的方式接受他人的行为。他们善于观察周围的人和物,却不寻求发现动机和含义。●他们对于从经历中直接了解和感受的东西很感兴趣,常常富有艺术天赋和审美感,力求为自己创造一个美丽
- 【AIGC】一组精美动物AI智能画法秘诀
德天老师
AIGC人工智能
如何使用AI绘画,从以下角度,依据表格内容梳理,表格如下:外貌特征物种姿势特征描述场景风格技术描述小巧可爱幼小浣熊倚在桌子上具有人形特征中世纪酒馆电影风格照明8k分辨率细节精致毛茸茸手持咖啡杯Jean-BaptisteMonge的风格蓝色编织围巾皮克斯风格的角色老式电影一只小巧可爱、毛茸茸的幼小浣熊,系着一条蓝色的编织围巾,倚在一张桌子上,手持咖啡杯,具有人形特征,在一家中世纪酒馆里。这幅画采用了
- OpenCV-Python(36):ORB算法
图灵追慕者
opencv-pythonopencvORB算法特征提取特征描述特征检测
ORB(OrientedFASTandRotatedBRIEF)是一种用于图像特征提取和描述的算法。它是FAST角点检测器和BRIEF特征描述符的结合体,通过在FAST角点周围计算BRIEF描述符来提取关键点的特征。ORB算法具有以下特点:1.速度快:ORB算法采用了FAST角点检测器,该检测器在保持较高的角点检测质量的同时,具有很高的计算效率。此外,ORB采用了特征点优化和快速匹配算法,进一步提
- 图像配准基于传统特征的方法代码实现(SIFT、SURF、ORB、AKAZE)
朽月初二
图像融合计算机视觉人工智能
自21世纪初以来,图像配准主要使用基于特征的方法。这些方法有三个步骤:关键点检测和特征描述,特征匹配,图像变换。简单的说,我们选择两个图像中的感兴趣点,将参考图像(referenceimage)与感测图像(sensedimage)中的等价感兴趣点进行关联,然后变换感测图像使两个图像对齐。关键点就是感兴趣点,它表示图像中重要或独特的内容(边角,边缘等)。每个关键点由描述符表示,关键点基本特征的特征向
- K15-6/8《销售巨人》
cafuni栀子花开
第6章能力证实中的异议防范关键问题1、特征描述会对客户心理带来什么影响?特征描述越多越增加客户对价格的期待,“这么多功能的产品价格是多少呢”。所以对价格低的小订单很有用,促进成交。而对金额大的大订单则会带来负面影响。2、优点描述会对客户心理带来什么影响?销售人员通过提问难点问题揭示客户的隐含需求,销售人员马上开始优点陈述,会给客户意识不到产品的最大价值,从而引起价值异议,“的确可以帮我们解决这些问
- HOG特征人体检测
lingllllove
人工智能计算机视觉机器学习
1.引言HOG(HistogramofOrientedGradient),即方向梯度直方图。它通过计算和统计局部区域的梯度方向直方图来构成特征,一般与SVM分类器结合用于目标的图像识别。由于人体姿势和外表的多变,在图像中检测人体是一项具有挑战性的工作,要在不同的光照和背景下都能清晰的识别出人体,首先需要的是一个强壮的特征集。而研究表明,局部归一化的HOG特征描述子相比边缘方向直方图、形状上下文等,
- jQuery 跨域访问的三种方式 No 'Access-Control-Allow-Origin' header is present on the reque
qiaolevip
每天进步一点点学习永无止境跨域众观千象
XMLHttpRequest cannot load http://v.xxx.com. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:63342' is therefore not allowed access. test.html:1
- mysql 分区查询优化
annan211
java分区优化mysql
分区查询优化
引入分区可以给查询带来一定的优势,但同时也会引入一些bug.
分区最大的优点就是优化器可以根据分区函数来过滤掉一些分区,通过分区过滤可以让查询扫描更少的数据。
所以,对于访问分区表来说,很重要的一点是要在where 条件中带入分区,让优化器过滤掉无需访问的分区。
可以通过查看explain执行计划,是否携带 partitions
- MYSQL存储过程中使用游标
chicony
Mysql存储过程
DELIMITER $$
DROP PROCEDURE IF EXISTS getUserInfo $$
CREATE PROCEDURE getUserInfo(in date_day datetime)-- -- 实例-- 存储过程名为:getUserInfo-- 参数为:date_day日期格式:2008-03-08-- BEGINdecla
- mysql 和 sqlite 区别
Array_06
sqlite
转载:
http://www.cnblogs.com/ygm900/p/3460663.html
mysql 和 sqlite 区别
SQLITE是单机数据库。功能简约,小型化,追求最大磁盘效率
MYSQL是完善的服务器数据库。功能全面,综合化,追求最大并发效率
MYSQL、Sybase、Oracle等这些都是试用于服务器数据量大功能多需要安装,例如网站访问量比较大的。而sq
- pinyin4j使用
oloz
pinyin4j
首先需要pinyin4j的jar包支持;jar包已上传至附件内
方法一:把汉字转换为拼音;例如:编程转换后则为biancheng
/**
* 将汉字转换为全拼
* @param src 你的需要转换的汉字
* @param isUPPERCASE 是否转换为大写的拼音; true:转换为大写;fal
- 微博发送私信
随意而生
微博
在前面文章中说了如和获取登陆时候所需要的cookie,现在只要拿到最后登陆所需要的cookie,然后抓包分析一下微博私信发送界面
http://weibo.com/message/history?uid=****&name=****
可以发现其发送提交的Post请求和其中的数据,
让后用程序模拟发送POST请求中的数据,带着cookie发送到私信的接入口,就可以实现发私信的功能了。
- jsp
香水浓
jsp
JSP初始化
容器载入JSP文件后,它会在为请求提供任何服务前调用jspInit()方法。如果您需要执行自定义的JSP初始化任务,复写jspInit()方法就行了
JSP执行
这一阶段描述了JSP生命周期中一切与请求相关的交互行为,直到被销毁。
当JSP网页完成初始化后
- 在 Windows 上安装 SVN Subversion 服务端
AdyZhang
SVN
在 Windows 上安装 SVN Subversion 服务端2009-09-16高宏伟哈尔滨市道里区通达街291号
最佳阅读效果请访问原地址:http://blog.donews.com/dukejoe/archive/2009/09/16/1560917.aspx
现在的Subversion已经足够稳定,而且已经进入了它的黄金时段。我们看到大量的项目都在使
- android开发中如何使用 alertDialog从listView中删除数据?
aijuans
android
我现在使用listView展示了很多的配置信息,我现在想在点击其中一条的时候填出 alertDialog,点击确认后就删除该条数据,( ArrayAdapter ,ArrayList,listView 全部删除),我知道在 下面的onItemLongClick 方法中 参数 arg2 是选中的序号,但是我不知道如何继续处理下去 1 2 3
- jdk-6u26-linux-x64.bin 安装
baalwolf
linux
1.上传安装文件(jdk-6u26-linux-x64.bin)
2.修改权限
[root@localhost ~]# ls -l /usr/local/jdk-6u26-linux-x64.bin
3.执行安装文件
[root@localhost ~]# cd /usr/local
[root@localhost local]# ./jdk-6u26-linux-x64.bin&nbs
- MongoDB经典面试题集锦
BigBird2012
mongodb
1.什么是NoSQL数据库?NoSQL和RDBMS有什么区别?在哪些情况下使用和不使用NoSQL数据库?
NoSQL是非关系型数据库,NoSQL = Not Only SQL。
关系型数据库采用的结构化的数据,NoSQL采用的是键值对的方式存储数据。
在处理非结构化/半结构化的大数据时;在水平方向上进行扩展时;随时应对动态增加的数据项时可以优先考虑使用NoSQL数据库。
在考虑数据库的成熟
- JavaScript异步编程Promise模式的6个特性
bijian1013
JavaScriptPromise
Promise是一个非常有价值的构造器,能够帮助你避免使用镶套匿名方法,而使用更具有可读性的方式组装异步代码。这里我们将介绍6个最简单的特性。
在我们开始正式介绍之前,我们想看看Javascript Promise的样子:
var p = new Promise(function(r
- [Zookeeper学习笔记之八]Zookeeper源代码分析之Zookeeper.ZKWatchManager
bit1129
zookeeper
ClientWatchManager接口
//接口的唯一方法materialize用于确定那些Watcher需要被通知
//确定Watcher需要三方面的因素1.事件状态 2.事件类型 3.znode的path
public interface ClientWatchManager {
/**
* Return a set of watchers that should
- 【Scala十五】Scala核心九:隐式转换之二
bit1129
scala
隐式转换存在的必要性,
在Java Swing中,按钮点击事件的处理,转换为Scala的的写法如下:
val button = new JButton
button.addActionListener(
new ActionListener {
def actionPerformed(event: ActionEvent) {
- Android JSON数据的解析与封装小Demo
ronin47
转自:http://www.open-open.com/lib/view/open1420529336406.html
package com.example.jsondemo;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
impor
- [设计]字体创意设计方法谈
brotherlamp
UIui自学ui视频ui教程ui资料
从古至今,文字在我们的生活中是必不可少的事物,我们不能想象没有文字的世界将会是怎样。在平面设计中,UI设计师在文字上所花的心思和功夫最多,因为文字能直观地表达UI设计师所的意念。在文字上的创造设计,直接反映出平面作品的主题。
如设计一幅戴尔笔记本电脑的广告海报,假设海报上没有出现“戴尔”两个文字,即使放上所有戴尔笔记本电脑的图片都不能让人们得知这些电脑是什么品牌。只要写上“戴尔笔
- 单调队列-用一个长度为k的窗在整数数列上移动,求窗里面所包含的数的最大值
bylijinnan
java算法面试题
import java.util.LinkedList;
/*
单调队列 滑动窗口
单调队列是这样的一个队列:队列里面的元素是有序的,是递增或者递减
题目:给定一个长度为N的整数数列a(i),i=0,1,...,N-1和窗长度k.
要求:f(i) = max{a(i-k+1),a(i-k+2),..., a(i)},i = 0,1,...,N-1
问题的另一种描述就
- struts2处理一个form多个submit
chiangfai
struts2
web应用中,为完成不同工作,一个jsp的form标签可能有多个submit。如下代码:
<s:form action="submit" method="post" namespace="/my">
<s:textfield name="msg" label="叙述:">
- shell查找上个月,陷阱及野路子
chenchao051
shell
date -d "-1 month" +%F
以上这段代码,假如在2012/10/31执行,结果并不会出现你预计的9月份,而是会出现八月份,原因是10月份有31天,9月份30天,所以-1 month在10月份看来要减去31天,所以直接到了8月31日这天,这不靠谱。
野路子解决:假设当天日期大于15号
- mysql导出数据中文乱码问题
daizj
mysql中文乱码导数据
解决mysql导入导出数据乱码问题方法:
1、进入mysql,通过如下命令查看数据库编码方式:
mysql> show variables like 'character_set_%';
+--------------------------+----------------------------------------+
| Variable_name&nbs
- SAE部署Smarty出现:Uncaught exception 'SmartyException' with message 'unable to write
dcj3sjt126com
PHPsmartysae
对于SAE出现的问题:Uncaught exception 'SmartyException' with message 'unable to write file...。
官方给出了详细的FAQ:http://sae.sina.com.cn/?m=faqs&catId=11#show_213
解决方案为:
01
$path
- 《教父》系列台词
dcj3sjt126com
Your love is also your weak point.
你的所爱同时也是你的弱点。
If anything in this life is certain, if history has taught us anything, it is
that you can kill anyone.
不顾家的人永远不可能成为一个真正的男人。 &
- mongodb安装与使用
dyy_gusi
mongo
一.MongoDB安装和启动,widndows和linux基本相同
1.下载数据库,
linux:mongodb-linux-x86_64-ubuntu1404-3.0.3.tgz
2.解压文件,并且放置到合适的位置
tar -vxf mongodb-linux-x86_64-ubun
- Git排除目录
geeksun
git
在Git的版本控制中,可能有些文件是不需要加入控制的,那我们在提交代码时就需要忽略这些文件,下面讲讲应该怎么给Git配置一些忽略规则。
有三种方法可以忽略掉这些文件,这三种方法都能达到目的,只不过适用情景不一样。
1. 针对单一工程排除文件
这种方式会让这个工程的所有修改者在克隆代码的同时,也能克隆到过滤规则,而不用自己再写一份,这就能保证所有修改者应用的都是同一
- Ubuntu 创建开机自启动脚本的方法
hongtoushizi
ubuntu
转载自: http://rongjih.blog.163.com/blog/static/33574461201111504843245/
Ubuntu 创建开机自启动脚本的步骤如下:
1) 将你的启动脚本复制到 /etc/init.d目录下 以下假设你的脚本文件名为 test。
2) 设置脚本文件的权限 $ sudo chmod 755
- 第八章 流量复制/AB测试/协程
jinnianshilongnian
nginxluacoroutine
流量复制
在实际开发中经常涉及到项目的升级,而该升级不能简单的上线就完事了,需要验证该升级是否兼容老的上线,因此可能需要并行运行两个项目一段时间进行数据比对和校验,待没问题后再进行上线。这其实就需要进行流量复制,把流量复制到其他服务器上,一种方式是使用如tcpcopy引流;另外我们还可以使用nginx的HttpLuaModule模块中的ngx.location.capture_multi进行并发
- 电商系统商品表设计
lkl
DROP TABLE IF EXISTS `category`; -- 类目表
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `category` (
`id` int(11) NOT NUL
- 修改phpMyAdmin导入SQL文件的大小限制
pda158
sqlmysql
用phpMyAdmin导入mysql数据库时,我的10M的
数据库不能导入,提示mysql数据库最大只能导入2M。
phpMyAdmin数据库导入出错: You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.
- Tomcat性能调优方案
Sobfist
apachejvmtomcat应用服务器
一、操作系统调优
对于操作系统优化来说,是尽可能的增大可使用的内存容量、提高CPU的频率,保证文件系统的读写速率等。经过压力测试验证,在并发连接很多的情况下,CPU的处理能力越强,系统运行速度越快。。
【适用场景】 任何项目。
二、Java虚拟机调优
应该选择SUN的JVM,在满足项目需要的前提下,尽量选用版本较高的JVM,一般来说高版本产品在速度和效率上比低版本会有改进。
J
- SQLServer学习笔记
vipbooks
数据结构xml
1、create database school 创建数据库school
2、drop database school 删除数据库school
3、use school 连接到school数据库,使其成为当前数据库
4、create table class(classID int primary key identity not null)
创建一个名为class的表,其有一