- ARM驱动学习之基础小知识
JT灬新一
ARM嵌入式arm开发学习
ARM驱动学习之基础小知识•sch原理图工程师工作内容–方案–元器件选型–采购(能不能买到,价格)–原理图(涉及到稳定性)•layout画板工程师–layout(封装、布局,布线,log)(涉及到稳定性)–焊接的一部分工作(调试阶段板子的焊接)•驱动工程师–驱动,原理图,layout三部分的交集容易发生矛盾•PCB研发流程介绍–方案,原理图(网表)–layout工程师(gerber文件)–PCB板
- 免费像素画绘制软件 | Pixelorama v1.0.3
dntktop
软件运维windows
Pixelorama是一款开源像素艺术多工具软件,旨在为用户提供一个强大且易于使用的平台来创作各种像素艺术作品,包括精灵、瓷砖和动画。这款软件以其丰富的工具箱、动画支持、像素完美模式、剪裁遮罩、预制及可导入的调色板等特色功能,满足了像素艺术家们的各种需求。用户可以享受到动态工具映射、洋葱皮效果、帧标签、播放动画时绘制等高级功能,以及非破坏性的、完全可定制的图层效果,如轮廓、渐变映射、阴影和调色板化
- 复刻手表VS厂官网,揭秘顶级大厂的购买渠道
腕表世界
在时尚潮流的世界里,复刻手表一直以其精湛的工艺和独特的设计吸引了众多消费者的目光。提及复刻手表,不得不提的就是那些被誉为天花板级别的顶级大厂,如C厂、VS厂、ZF厂等。那么,这些顶级大厂之中,究竟哪一个才是最好的呢?今天,就让我来为大家揭晓这个谜题。腕表咨询微信:10428850首先,我们要明白一个道理,这些顶级大厂并非每一款表都制作,所以他们之间并不存在哪一个厂最好,而只有哪一个厂在某一款表上做
- 2020-03-24
艺鹰空间设计
从欧美的复古奢华,到现代极简的北欧风,一个太沉闷,一个略单调,设计师梁博,在自己的作品中融入一点点的复古元素,即能保留现代风格的清爽和功能上的便利,又可以收获复古的奢华和优雅,简直是太完美的搭配!古典风格住宅,设计师重新设计,厨房和起居室结合在一起,走廊和厨房起居室之间的墙从地板到天花板变成了一个透明隔断,给空间带来了更多的空气和光线。主卧室的设计颇有高级酒店的味道,左侧设置了休闲椅,右侧则有办公
- 两岁娃不会数数?正常!帮娃跨越数字关,点数识数量数对应都要会
说书人熊二娘
前几天,我遇到一个很久不见的年长朋友。他向我吐槽自己的孙子不会数数。他对我说自己有一天拿出了道具,让小孙子学数。两岁多的小孙子看了看那些道具,对他说:“爷爷,我们今天还是算了吧。”两岁多的孩子学数的确是早了一点。孩子的认知水平没有到,学起东西来就会异常困难。等过了一段时间,他认知和理解力达到了学数的程度,分分钟就能搞定这些问题。我儿子3岁7个月,最近突然能够数到100,玩起百数板也非常开心。我偶尔
- 笑谈三国(一)叹子龙 二首
水火同源
叹子龙二首其一一点寒芒万丈光,血踪万里舞银枪。当阳护主英雄胆,将军虎威镇八荒!赵云赵子龙其二长板救主不世功,单枪退曹亦从容。可叹未曾居高位,只看劝主莫征东!
- 超越免费
奔向自由的路上
在这个互联时代,由于社会的进步,我们亨受了很多免费的东西,比如免费的电脑操作软件,免费的杀毒软件,免费的搜索服务,雅虎的杨致远和费罗首创让互联网成为一个开放,免费的工具。后来微软用免费的方式压浏览器市场打败了当时一家独大的网景公司,一时之间,免费成了趋势,互联网传播的本质,起到了一个巨大的复印件的作用。免费带来的一个结果是迅速形成垄断,造就了googlefacebook和阿里巴巴这样的经典掉板,然
- 【STM32系统】基于STM32设计的锂电池电量/电压检测报警器系统——文末完整资料下载(程序源码/电路原理图/电路PCB/设计文档/模块资料/元器件清单/实物图/答辩问题技巧/PPT模版等)
阿齐Archie
单片机嵌入式项目stm32嵌入式硬件单片机
基于STM32设计的锂电池电量/电压检测报警器系统系统视频:摘要:本设计旨在研究一个基于STM32F103C8T6微控制器的锂电池电量/电压检测报警器系统,应用于便携式电子设备电池管理。系统通过STM32的ADC模块对锂电池电压进行采集,利用LCD1602显示模块实时显示电池电压,当检测到电池电量不足或电压异常时,蜂鸣器报警模块会发出警报提醒用户。系统采用简单的硬件结构和优化的软件架构,通过对实际
- 计算机网络基础
柒公子c
1通信协议1.1定义通信协议(communicationsprotocol)是指双方实体完成通信或服务所必须遵循的规则和约定。协议定义了数据单元使用的格式,信息单元应该包含的信息与含义,连接方式,信息发送和接收的时序,从而确保网络中数据顺利地传送到确定的地方。在计算机通信中,通信协议用于实现计算机与网络连接之间的标准,网络如果没有统一的通信协议,电脑之间的信息传递就无法识别。通信协议是指通信各方事
- 免税概念股九连板?为啥免税店能成股市最热的当红“炸子鸡”?
慕容随风
根据封面新闻7月10日的报道,随着王府井6月9日的一纸“获得免税牌照”的公告,免税概念股逐渐引爆市场,此后免税概念股乘风破浪,一路飙升,个股受到追捧。6月以来王府井股价涨幅已超3倍;免税概念龙头中国国旅改名中国中免;凯撒旅业连续9天无量涨停······我国对免税业实行“统一经营、统一组织进货、统一制定零售价格、统一制定管理规定”的政策,各类免税业态均以授权牌照、指定专营公司的模式运营。王府井之前,
- javascript添加p元素,html添加文字,appendChild
游勇一
javascripthtml添加pappendChild
javascript添加p元素,html添加文字,appendChild。网页添加p元素效果截图。个人签名:游志勇,预制板,南托岭预制场。文字展示#wordsadd{font-size:70px;word-break:break-all;}#wordsaddp{margin:002px0;padding:002px0;line-height:93%;}.btn_width{width:90px;}
- 制衣厂的故事13
记忆里的角落
我们的主任是一位胖美人,她别的本事没有,就会在我们面前摆官腔架子。“L码的衣服是谁验的,这么一大块脏污都没看加啊?你们验货闭着眼吗?”没说我们眼瞎不是她厚道,而是我们跟她斗争得来的结果,嗯,还算满意。她拿着一件衣服,站在包装车间跟我们车间相连的门边上对着我们高声喊,板娘就在她身后的包装车间陪着客户检验货。我们心里别提有多反感这种拿腔捏调,还没等有人回答,啪唧,衣服老远扔过来落在小刘前面。我使了个眼
- 普及高仿爱马仕女包哪里买,推荐最好的4个渠道
潮奢之家
全网最低,质量最好,一手货源的原版,广州奢包汇是你的的选择。团队直接和工厂对接,原厂正品定制板开通,支持图纸咨询!主营各种原单:鞋、包、衣服、手表、首饰、皮带等类型的复制品拒绝看一眼,只做顶级品质的复制品!团队整合资源,对接大工厂原版定制开模未达95%不出货,可以任意对比,支持7天包退。经营承诺:同款同版,市面同版,品质同品。更多详情加薇信了解:88195525高仿爱马仕女包哪里买,推荐最好的4个
- 爱自己是终身浪漫的开始
不语_2880
在《25岁,我的初老症状》那篇文章下,有个姑娘跟我说“爱自己是终身浪漫的开始“突然也想到李上安歌词里唱的那句”爱自己才能终身浪漫,爱别人才能获取温暖“二刷完《泰坦尼克号》后,尽管还是被最后的结局赚足了眼泪,被那个说最怕冰凉刺骨的海水却还是毫不犹豫的将露丝推上了唯一漂浮板的爱情所感动“你以后要坚强的活下去,结婚,生子,好好过完这一生”但也一直在想露丝愿意放下一切跟他走,到底是因为那个人的爱,还是自己
- 计算PCB设计中SMD焊盘尺寸的最佳方法
David WangYang
硬件工程
SMD元件需要精确尺寸的焊盘以便在组装过程中进行焊接。PCB设计师仍然需要使用数据表中的信息以及通用的焊盘和焊地尺寸公式来创建许多自己的封装。设计师负责确保焊盘尺寸正确,要么通过计算并与封装数据进行比较,查阅数据表,要么通过记住SMD焊盘尺寸标准。如果你有一个元件,但你没有访问到封装,而你决定自己构建封装,有哪些资源可以确保你拥有正确的焊盘尺寸?计算SMD焊盘尺寸对于SMD组件,确定焊盘尺寸有几种
- Android app后台运行休眠仍然可以运行的方法(确保一直运行)
2401_84102689
2024年程序员学习android
先自我介绍一下,小编浙江大学毕业,去过华为、字节跳动等大厂,目前阿里P7深知大多数程序员,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!因此收集整理了一份《2024年最新Android移动开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友。
- 如何突破职业天花板?(摘录及自我消化)
艾娜呀
什么是职业天花板?所谓职业天花板就是职业到了一个瓶颈阶段的形象比喻。有一种想要上升却犹如一块天花板阻隔而来的无力感。目前你已经到达了职场中能力之内的最高点。而你的能力可以更进一步,却因为种种原因,不能跨过那到坎。处于这个阶段是突破也是机遇。三十五岁是个尴尬的年龄,尤其是女人。很多企业明确要求不招聘三十五岁之后的女人。婚姻中也面临高龄生产的风险。好像从这个年龄开始,中年危机就出现了。工作中的无力感,
- 关于高仿LV包包在哪里可以买到,推荐最好的4个渠道
潮奢之家
全网最低,质量最好,一手货源的原版,广州奢包汇是你的的选择。团队直接和工厂对接,原厂正品定制板开通,支持图纸咨询!主营各种原单:鞋、包、衣服、手表、首饰、皮带等类型的复制品拒绝看一眼,只做顶级品质的复制品!团队整合资源,对接大工厂原版定制开模未达95%不出货,可以任意对比,支持7天包退。经营承诺:同款同版,市面同版,品质同品。更多详情加薇信了解:88195525高仿LV包包在哪里可以买到,推荐最好
- MySQL连接层-(通讯协议-线程-验证)
否极泰来+
mysql
通讯协议通讯协议连接方式所支持的操作系统TCP/IPlocal,remoteAIISocketfilelocalUNIX-derivedoperatingsystemsincludingLinux,BSD,MaxOSXSharedmemorylocalWindowsNamedpipeslocalWindows1.TCP/IP(传输控制协议/互联网协议):-是用于连接互联网上主机的一套通信协议-使用
- css滚动条隐藏但是可以滚动
每一天,每一步
HTML/CSScss前端javascript
要实现滚动条隐藏但仍然可以滚动的效果,可以使用CSS来隐藏滚动条,同时允许鼠标的滚轮或触摸板滚动。/*隐藏滚动条,但仍可滚动*/.scrollable{overflow:auto;/*保持内容可滚动*/scrollbar-width:none;/*对于现代浏览器,隐藏滚动条*/}/*针对IE和Edge的隐藏滚动条样式*/.scrollable::-webkit-scrollbar{display:
- 【原创纯手打】如何使用Vue写微信朋友圈中的留言回复功能(附源码)
终极萌萌暴龙战士
前端javascript开发语言vue.js
简单的留言板懂的都懂,问题是如何添加留言功能当我们添加写的内容存储到数组,然后将其遍历出来,在外部渲染时,再次遍历item.children,然后对其添加新的页面渲染绑定回复键,在store.js中写下hf(state,obj){//判断是否有children属性,如果有直接追加,如果没有就添加children数组if(state.list[obj.index].hasOwnProperty('c
- 【雕爷学编程】Arduino智慧农业之智能养殖系统(水质监测和自动投喂)
驴友花雕
智慧农业Arduino手册智慧农业物联网嵌入式硬件Arduinoc++单片机智能养殖系统自动投喂
Arduino是一个开放源码的电子原型平台,它可以让你用简单的硬件和软件来创建各种互动的项目。Arduino的核心是一个微控制器板,它可以通过一系列的引脚来连接各种传感器、执行器、显示器等外部设备。Arduino的编程是基于C/C++语言的,你可以使用ArduinoIDE(集成开发环境)来编写、编译和上传代码到Arduino板上。Arduino还有一个丰富的库和社区,你可以利用它们来扩展Ardui
- 6/13SteveJobs…Day45-School-translatation
Serenaliu85
在木头做的柜台前,破烂的夹子里装满了厚厚的商品目录册,人们会为了开关,电阻器,电容器商品讨价还价,有时为了最新的记忆芯片还价。他的爸爸过去为了汽车配件常做那样的事,并且他成功地还低价格因为他比售货员还了解每个产品的价值。乔布斯也向父亲那样。他热衷于谈判并从中获得实惠,这也让他对电子零件有了更充分的了解。他会去电子产品跳蚤市场,比如SanJose交换大会,找到含有一些价值芯片的旧线路板或者零部件和卖
- pcb 受潮_在PCB设计中如何正确的处理潮湿敏感性元件
小timtim
pcb受潮
在PCB设计中如何处理潮湿敏感性元件涉及塑料集成电路(IC)潮湿敏感性的情况渐渐地变得越来越坏,这是由于许多工业趋势所造成的,其中包括对用来支持关键通信和技术应用的更高可靠性产品的不断寻求。单单潮湿敏感性元件(MSD,moisture-sensitivedevice)的失效率已经是处在一个不可忍受的水平,再加上封装技术的不断变化。更短的开发周期、不断缩小的尺寸、新的材料和更大的芯片正造成MSD数量
- PCB知识
G_G_
ADpcb工艺
PCB的相关知识PCB(PrintedCircuitBoard,印刷电路板)是一种用于支持和连接电子组件的基板。它是由一层或多层的导电层(通常是铜)和绝缘层(通常是环氧树脂)组成的。PCB在电子设备中起到了电气连接、机械支撑和热传导的作用。以下是PCB的一些相关知识:PCB的结构:PCB通常由以下几层组成:导电层:通常是铜箔,用于传导电流和信号。绝缘层:通常是环氧树脂或聚酰亚胺等材料,用于隔离导电
- 林子漫笔“微日记”(771-775):特别日子“特别热”
林文斌
九龙戏珠彩绸舞,红红火火大中华!【2018-11-02】长袖善舞“夕阳红”最美不过夕阳红,长袖善舞更青春。今天,经过连续一周排练的奶奶正式参加了蓝天幼儿园的彩绸舞演出。只见一条条彩绸挥舞,如同一条条火龙飞舞,现场近千人为之爆发出雷鸣的掌声,几乎要震穿篮球馆的天花板,舞蹈队的实力和受欢迎程度可见一斑。话还要从上周说起,当时幼儿园招聘有舞蹈基础的老人参加秋运会节目演出。孩子的奶奶长期跳舞,舞姿功底娴熟
- C语言《智能自平衡小车,实现平衡功能的基础上,加入了超声波避障、超声波跟随、蓝牙遥控等功能》+源代码+文档说明
jzpfbpx
c语言开发语言
文章目录源代码下载地址项目介绍项目功能项目备注源代码下载地址源代码下载地址点击这里下载源码项目介绍C语言《智能自平衡小车,实现平衡功能的基础上,加入了超声波避障、超声波跟随、蓝牙遥控等功能》+源代码+文档说明项目功能为了实现小车功能,小车硬件主要包括:控制核心板带编码器的直流电机车架12V1900mah锂电池项目备注1、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用!
- 第一章 错误的开始
空子2022
Pete睁开双眼,看着陌生的房间,印入眼帘的是天花板上的陌生吊灯,身体上的酸痛以及不适感在提醒着他,昨晚在自己身上发生了什么。他用手遮住了自己的脸,脸上因为Vegas煽的巴掌而微痛红肿,画面他已经不想再回忆了,下身的酸痛感,一直在提醒着他昨天发生的一切,都是真的。他想要起身,但又无力地躺着。这时,淋浴间的门打开了,Vegas从里面走了出来,脸上带着一抹微笑,“你醒了,Pete,这就是你反抗我的下场
- Ubuntu 22.04网络无法连接的解决方法
威桑
Linuxubuntulinux
在使用Ubuntu22.04系统时,在一次重启后桌面右上角并没有有线网络图标,并且打开浏览器无法访问百度。虚拟机网络连接方式是NAT模式,电脑主机也是有网络的。删除NetworkManager缓存文件,重启网络后问题就解决了。sudoserviceNetworkManagerstopsudorm/var/lib/NetworkManager/NetworkManager.statesudoserv
- 明天市场选择方向
阿丁解盘
创业板60分钟浪形分析:今天市场继续探底,各指数均是缩量中阴线报收。前期反弹高点提示风险,并且重点提示上证的调整是去考验前低点2555,今天已经破了前低点2555,加之市场连续缩量,明天又是一个关键的选择方向的时候,或结束调整向上延续反弹,或继续2次探底。今天的分析把盘面中表现出的信号给大家阐述一下。创业板60分钟图上证指数我们在2703反弹高点之后,一直认为会有一波b浪调整,在2555低点反弹后
- jquery实现的jsonp掉java后台
知了ing
javajsonpjquery
什么是JSONP?
先说说JSONP是怎么产生的:
其实网上关于JSONP的讲解有很多,但却千篇一律,而且云里雾里,对于很多刚接触的人来讲理解起来有些困难,小可不才,试着用自己的方式来阐释一下这个问题,看看是否有帮助。
1、一个众所周知的问题,Ajax直接请求普通文件存在跨域无权限访问的问题,甭管你是静态页面、动态网页、web服务、WCF,只要是跨域请求,一律不准;
2、
- Struts2学习笔记
caoyong
struts2
SSH : Spring + Struts2 + Hibernate
三层架构(表示层,业务逻辑层,数据访问层) MVC模式 (Model View Controller)
分层原则:单向依赖,接口耦合
1、Struts2 = Struts + Webwork
2、搭建struts2开发环境
a>、到www.apac
- SpringMVC学习之后台往前台传值方法
满城风雨近重阳
springMVC
springMVC控制器往前台传值的方法有以下几种:
1.ModelAndView
通过往ModelAndView中存放viewName:目标地址和attribute参数来实现传参:
ModelAndView mv=new ModelAndView();
mv.setViewName="success
- WebService存在的必要性?
一炮送你回车库
webservice
做Java的经常在选择Webservice框架上徘徊很久,Axis Xfire Axis2 CXF ,他们只有一个功能,发布HTTP服务然后用XML做数据传输。
是的,他们就做了两个功能,发布一个http服务让客户端或者浏览器连接,接收xml参数并发送xml结果。
当在不同的平台间传输数据时,就需要一个都能解析的数据格式。
但是为什么要使用xml呢?不能使json或者其他通用数据
- js年份下拉框
3213213333332132
java web ee
<div id="divValue">test...</div>测试
//年份
<select id="year"></select>
<script type="text/javascript">
window.onload =
- 简单链式调用的实现技术
归来朝歌
方法调用链式反应编程思想
在编程中,我们可以经常遇到这样一种场景:一个实例不断调用它自身的方法,像一条链条一样进行调用
这样的调用你可能在Ajax中,在页面中添加标签:
$("<p>").append($("<span>").text(list[i].name)).appendTo("#result");
也可能在HQ
- JAVA调用.net 发布的webservice 接口
darkranger
webservice
/**
* @Title: callInvoke
* @Description: TODO(调用接口公共方法)
* @param @param url 地址
* @param @param method 方法
* @param @param pama 参数
* @param @return
* @param @throws BusinessException
- Javascript模糊查找 | 第一章 循环不能不重视。
aijuans
Way
最近受我的朋友委托用js+HTML做一个像手册一样的程序,里面要有可展开的大纲,模糊查找等功能。我这个人说实在的懒,本来是不愿意的,但想起了父亲以前教我要给朋友搞好关系,再加上这也可以巩固自己的js技术,于是就开始开发这个程序,没想到却出了点小问题,我做的查找只能绝对查找。具体的js代码如下:
function search(){
var arr=new Array("my
- 狼和羊,该怎么抉择
atongyeye
工作
狼和羊,该怎么抉择
在做一个链家的小项目,只有我和另外一个同事两个人负责,各负责一部分接口,我的接口写完,并全部测联调试通过。所以工作就剩下一下细枝末节的,工作就轻松很多。每天会帮另一个同事测试一些功能点,协助他完成一些业务型不强的工作。
今天早上到公司没多久,领导就在QQ上给我发信息,让我多协助同事测试,让我积极主动些,有点责任心等等,我听了这话,心里面立马凉半截,首先一个领导轻易说
- 读取android系统的联系人拨号
百合不是茶
androidsqlite数据库内容提供者系统服务的使用
联系人的姓名和号码是保存在不同的表中,不要一下子把号码查询来,我开始就是把姓名和电话同时查询出来的,导致系统非常的慢
关键代码:
1, 使用javabean操作存储读取到的数据
package com.example.bean;
/**
*
* @author Admini
- ORACLE自定义异常
bijian1013
数据库自定义异常
实例:
CREATE OR REPLACE PROCEDURE test_Exception
(
ParameterA IN varchar2,
ParameterB IN varchar2,
ErrorCode OUT varchar2 --返回值,错误编码
)
AS
/*以下是一些变量的定义*/
V1 NUMBER;
V2 nvarc
- 查看端号使用情况
征客丶
windows
一、查看端口
在windows命令行窗口下执行:
>netstat -aon|findstr "8080"
显示结果:
TCP 127.0.0.1:80 0.0.0.0:0 &
- 【Spark二十】运行Spark Streaming的NetworkWordCount实例
bit1129
wordcount
Spark Streaming简介
NetworkWordCount代码
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
- Struts2 与 SpringMVC的比较
BlueSkator
struts2spring mvc
1. 机制:spring mvc的入口是servlet,而struts2是filter,这样就导致了二者的机制不同。 2. 性能:spring会稍微比struts快。spring mvc是基于方法的设计,而sturts是基于类,每次发一次请求都会实例一个action,每个action都会被注入属性,而spring基于方法,粒度更细,但要小心把握像在servlet控制数据一样。spring
- Hibernate在更新时,是可以不用session的update方法的(转帖)
BreakingBad
Hibernateupdate
地址:http://blog.csdn.net/plpblue/article/details/9304459
public void synDevNameWithItil()
{Session session = null;Transaction tr = null;try{session = HibernateUtil.getSession();tr = session.beginTran
- 读《研磨设计模式》-代码笔记-观察者模式
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
import java.util.Observer;
/**
* “观
- 重置MySQL密码
chenhbc
mysql重置密码忘记密码
如果你也像我这么健忘,把MySQL的密码搞忘记了,经过下面几个步骤就可以重置了(以Windows为例,Linux/Unix类似):
1、关闭MySQL服务
2、打开CMD,进入MySQL安装目录的bin目录下,以跳过权限检查的方式启动MySQL
mysqld --skip-grant-tables
3、新开一个CMD窗口,进入MySQL
mysql -uroot
 
- 再谈系统论,控制论和信息论
comsci
设计模式生物能源企业应用领域模型
再谈系统论,控制论和信息论
偶然看
- oracle moving window size与 AWR retention period关系
daizj
oracle
转自: http://tomszrp.itpub.net/post/11835/494147
晚上在做11gR1的一个awrrpt报告时,顺便想调整一下AWR snapshot的保留时间,结果遇到了ORA-13541这样的错误.下面是这个问题的发生和解决过程.
SQL> select * from v$version;
BANNER
-------------------
- Python版B树
dieslrae
python
话说以前的树都用java写的,最近发现python有点生疏了,于是用python写了个B树实现,B树在索引领域用得还是蛮多了,如果没记错mysql的默认索引好像就是B树...
首先是数据实体对象,很简单,只存放key,value
class Entity(object):
'''数据实体'''
def __init__(self,key,value)
- C语言冒泡排序
dcj3sjt126com
算法
代码示例:
# include <stdio.h>
//冒泡排序
void sort(int * a, int len)
{
int i, j, t;
for (i=0; i<len-1; i++)
{
for (j=0; j<len-1-i; j++)
{
if (a[j] > a[j+1]) // >表示升序
- 自定义导航栏样式
dcj3sjt126com
自定义
-(void)setupAppAppearance
{
[[UILabel appearance] setFont:[UIFont fontWithName:@"FZLTHK—GBK1-0" size:20]];
[UIButton appearance].titleLabel.font =[UIFont fontWithName:@"FZLTH
- 11.性能优化-优化-JVM参数总结
frank1234
jvm参数性能优化
1.堆
-Xms --初始堆大小
-Xmx --最大堆大小
-Xmn --新生代大小
-Xss --线程栈大小
-XX:PermSize --永久代初始大小
-XX:MaxPermSize --永久代最大值
-XX:SurvivorRatio --新生代和suvivor比例,默认为8
-XX:TargetSurvivorRatio --survivor可使用
- nginx日志分割 for linux
HarborChung
nginxlinux脚本
nginx日志分割 for linux 默认情况下,nginx是不分割访问日志的,久而久之,网站的日志文件将会越来越大,占用空间不说,如果有问题要查看网站的日志的话,庞大的文件也将很难打开,于是便有了下面的脚本 使用方法,先将以下脚本保存为 cutlog.sh,放在/root 目录下,然后给予此脚本执行的权限
复制代码代码如下:
chmo
- Spring4新特性——泛型限定式依赖注入
jinnianshilongnian
springspring4泛型式依赖注入
Spring4新特性——泛型限定式依赖注入
Spring4新特性——核心容器的其他改进
Spring4新特性——Web开发的增强
Spring4新特性——集成Bean Validation 1.1(JSR-349)到SpringMVC
Spring4新特性——Groovy Bean定义DSL
Spring4新特性——更好的Java泛型操作API
Spring4新
- centOS安装GCC和G++
liuxihope
centosgcc
Centos支持yum安装,安装软件一般格式为yum install .......,注意安装时要先成为root用户。
按照这个思路,我想安装过程如下:
安装gcc:yum install gcc
安装g++: yum install g++
实际操作过程发现,只能有gcc安装成功,而g++安装失败,提示g++ command not found。上网查了一下,正确安装应该
- 第13章 Ajax进阶(上)
onestopweb
Ajax
index.html
<!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/
- How to determine BusinessObjects service pack and fix pack
blueoxygen
BO
http://bukhantsov.org/2011/08/how-to-determine-businessobjects-service-pack-and-fix-pack/
The table below is helpful. Reference
BOE XI 3.x
12.0.0.
y BOE XI 3.0 12.0.
x.
y BO
- Oracle里的自增字段设置
tomcat_oracle
oracle
大家都知道吧,这很坑,尤其是用惯了mysql里的自增字段设置,结果oracle里面没有的。oh,no 我用的是12c版本的,它有一个新特性,可以这样设置自增序列,在创建表是,把id设置为自增序列
create table t
(
id number generated by default as identity (start with 1 increment b
- Spring Security(01)——初体验
yang_winnie
springSecurity
Spring Security(01)——初体验
博客分类: spring Security
Spring Security入门安全认证
首先我们为Spring Security专门建立一个Spring的配置文件,该文件就专门用来作为Spring Security的配置