- 缩小模拟与现实之间的差距:使用 NVIDIA Isaac Lab 训练 Spot 四足动物运动
AI人工智能集结号
人工智能
目录在IsaacLab中训练四足动物的运动能力目标观察和行动空间域随机化网络架构和RL算法细节先决条件用法训练策略执行训练好的策略结果使用JetsonOrin在Spot上部署经过训练的RL策略先决条件JetsonOrin上的硬件和网络设置Jetson上的软件设置运行策略开始开发您的自定义应用程序由于涉及复杂的动力学,为四足动物开发有效的运动策略对机器人技术提出了重大挑战。训练四足动物在现实世界中上
- deepstream | deepstream6.0配置python接口
__AtYou__
经验分享python开发语言人工智能
先决条件:ubuntu18.04deepstreamSDK6.0或更高版本python3.6Gstpythonv1.14.5,如果Jetson上缺少Gstpython安装,请使用以下命令安装:sudoapt-getinstallpython-gi-devexportGST_LIBS="-lgstreamer-1.0-lgobject-2.0-lglib-2.0"exportGST_CFLAGS="
- 百度飞浆目标检测PPYOLOE模型在PC端、Jetson上的部署(python)
代码能跑就可以
百度目标检测python学习计算机视觉笔记
部署目标检测模型前,需要配置好paddlepaddle的环境:开始使用_飞桨-源于产业实践的开源深度学习平台(paddlepaddle.org.cn)PC端和Jetson板卡端的部署方法相同,如下(直接放置部署和测试代码):importpaddle.inferenceimportcv2importnumpyasnpimporttimefrompaddle.inferenceimportConfig
- NFC射频--天线设计
天涯铭月刀
嵌入式硬件NFC天线设计
一、NFC天线电路结构如图3.3所示,13.56Mhz读卡器电路又两部分组成,其中引脚RX到引脚AGND部分区域是信号接收电路;引脚TX1到引脚TX2之间区域是信号发射电路。信号接收电路由四个元器件构成,图中电容C4用来稳定读卡芯片内部提供的固定参考电压Vmid,R1、R2将参考电压信号引入RX引脚,使得RX引脚接收到的正弦波信号幅度在1.5~3V之间,通过调节R1、R2的比值可以调节RX引脚信号
- Jetson-AGX-Orin 安装ros1
skynetkang
nvidia-orinNVIDIA-Orin
Jetson-AGX-Orin安装ros1系统:ubuntu20.04ARM64ros1版本:Noetic添加ROS源sudosh-c'echo"debhttp://packages.ros.org/ros/ubuntu$(lsb_release-sc)main">/etc/apt/sources.list.d/ros-latest.list'添加密钥sudoapt-keyadv--keyserv
- 【jetson交叉编译(5)】如何将apt安装的库复制出来?
Hali_Botebie
linux服务器运维
将apt将apt安装的库复制出来安装的库复制出来,通常指的是将apt-get命令,通常指的是将apt-get命令安装的软件包及其相关文件从系统中提取出来,以便在其他系统或环境中安装的软件包及其相关文件从系统中提取出来,以便在其他系统或环境中使用。使用。以下是将apt安装的库复制出来的步骤:以下是将apt安装的库复制出来的步骤:一、定位安装包路径一、定位安装包路径apt-get下载的软件包默认保存在
- 【jetson交叉编译(6)】orin ubuntu的库安装,通过apt下载deb 库,然后的解压到具体位置/opt/test/3rd
Hali_Botebie
ubuntulinux运维
基于【【jetson交叉编译(5)】如何将apt安装的库复制出来?】得到了deb库要将一个.deb包解压缩到特定位置/opt/test/3rd,你可以使用以下步骤:安装dpkg和ar工具:确保你已经安装了dpkg和ar工具。这些工具通常在大多数Ubuntu系统中已经安装。如果没有安装,可以使用以下命令进行安装:sudoapt-getupdatesudoapt-getinstalldpkgar创建目
- 【网络】 arp 命令 得到网段内所有物理设备ip
DFminer
linux网络运维
我的笔记本和NVIDIAJetsonOrin都位于同一个192.168.1.x的网段内,我想远程访问Orin,但我不知道orin的ip方法1:使用arp命令打开命令提示符:按下Win+R键,打开“运行”对话框。输入cmd并按Enter键打开命令提示符。使用arp命令:在命令提示符中输入arp-a并按Enter键。结果:试了两个动态地址,第二个就是我要找的
- [NVIDIA]-6 入手 Jetson Xavier NX USB摄像头图像采集+显示(opencv)示例
钟学森
JetsonXavierNXopencvc++linux
[NVIDIA]-6入手JetsonXavierNXUSB摄像头图像采集+显示(基于opencv)示例本文主要讲述,基于JetsonXavierNX开发者套件及安装opencv3.3.1,进行USB摄像头图像采集+显示,其中显示前进行resize操作。WhatisJetsonXavierNX:NVIDIA®JetsonXavier™NX是体型超小的AI超级计算机,适用于嵌入式系统和边缘系统。高达2
- jetson agx orin 实时内核 调度延时测试
王燕龙(大卫)
unix服务器
jetsonagxorin是nvidia推出的计算平台,在自动驾驶领域得到广泛应用。确定性执行是自动驾驶系统的基本要求,而任务调度的确定性是影响确定性执行的重要因素。本文测试了jetsonagxorin的调度延时,对比测试了两种情况:打实时内核补丁和不打实时内核补丁。从测试结果来看,对于rt调度策略来说,打了实时内核补丁之后,最大调度延时在70μs以内;而不打实时内核补丁的话,最大调度延时在100
- Jetson TX1 system & ROS
羊羊羊羊羊羊羊--
Jetsonubuntulinux
1systemreference:https://blog.csdn.net/prophet_xh/article/details/123931775Wheninstep01,noneedtochoose“HostMachine”.Wheninstep02,noneedtochoose“jetsonSDKcomponents”ifyouonlyneedthesystem.2ROSreference
- Jetson TX1 UART0(/dev/ttyS0)转为普通串口方法
羊羊羊羊羊羊羊--
Jetsonubuntulinux
1解决方法参考网址https://connecttech.com/resource-center/kdb347-reassigning-disable-serial-debug-connect-tech-tx1-carriers/2参考网址中JetPack版本对应关系*虽然参考网址中区分了TX1和TX2,但是我用TX1、JetPack4.6.2直接看JetPack版本对应的解决方法也行L4TJet
- jetson orin nano 使用yolov8导出engine
coder攻城狮
YOLO
1.导出onnx经过前面训练,得到了best.pt模型,现在想要使用tensorrt进行推理,需要先导出为onnx格式,再转化为engine格式。yoloexportmodel=best.ptformat=onnxopset=12simplify=True2.解决错误在导出过程中,可能会出现错误,cmake版本问题安装好后,默认cmake版本为3.16,需要对cmake进行升级sudopipins
- Linux 36.2@Jetson Orin Nano之Hello AI World!
lida2003
Linuxlinux人工智能计算机视觉
Linux36.2@JetsonOrinNano之HelloAIWorld!1.源由2.HelloAIWorld!3.步骤3.1准备阶段3.2获取代码3.3Python环境3.4重点环节3.5软件配置3.6PyTorch安装3.7编译链接3.8安装更新4.测试4.1video-viewer4.2detectnet4.3演示命令5.参考资料6.附录AI模型1.源由AI到底有多神奇???记得神奇的年代
- 【NVIDIA】Jetson Orin Nano系列:sdkmanager 报错 invalid_request - Authorization flow not allowed
郭老二
AIOrinNano
【AI】AI学习目录汇总1、问题描述在启动sdkmanager后,点击登录,一般在web中弹出登录链接。但是这次报错:invalid_request-Authorizationflownotallowed2、原因分析在Ubuntu20.04上当sdkmanager版本过低时,会报错。参见官网论坛:https://forums.developer.nvidia.com/t/authorization
- orin 36.2 /sys/class/gpio/export节点没有
Janet CHU
orinlinux
JetsonAGXOrin升级sdk到JetPack-36.2,发现/sys/class/gpio/export节点没有,需要怎么配置?kernel-jammy-src/arch/arm64/configs/defconfig中新增配置CONFIG_GPIO_SYSFS=yCONFIG_GPIOLIB=yCONFIG_EXPERT=y然后重新触发Image编译即可。排查过程:makemenucon
- Linux 36.2@Jetson Orin Nano基础环境构建
lida2003
Linuxlinux人工智能计算机视觉运维
Linux36.2@JetsonOrinNano基础环境构建1.源由2.步骤2.1安装NVIDIAJetsonLinux36.2系统2.2必备软件安装2.3基本远程环境2.3.1远程ssh登录2.3.2samba局域网2.3.3VNC远程登录2.4开发环境安装3.总结1.源由现在流行什么,也跟风来么一个一篇。当然,后续是要用到这个AI环境的GPU算力。不过其实很多技术都是具有共通性的,所以大可不必
- 【Yolo】YoloV5训练自定义模型
Jamie.T
YoloYOLOpython开发语言
【Yolo】JetsonOrinNano下部署YoloV5上一篇博文主要记录了在JetsonOrinNano下部署YoloV5环境,并运行了yoloV5n.pt模型,本篇在上一篇的基础上,进一步记录如何训练自己的目标模型,我们以一根口香糖盒子为训练对象进行说明。一、目标资源标记1.安装labelimg通过以下命令安装labelimg软件,labelimg用于在待训练的图片上进行目标标记。可以在wi
- 【Yolo】Jetson Orin Nano下部署 YoloV5
Jamie.T
YoloYOLO
在网上找了好多关于JetsonNano部署Yolov5的帖子,由于每个人的环境和版本都不同,过程也都有所不同,因此在JetsonOrinNanoCLB上安装Yolov5也有必要记录一下过程,以便后续无脑重装,让我们开始。由于我这个JetsonOrinNanoCLB是固态硬盘的形式,没有SD卡槽,因此不能按Nvidia官方采用SD卡进行系统烧录的方式。环境:Jetpack:5.1.1CUDA:11.
- CUDA编程学习笔记(三)
HHHANG___
学习笔记
本篇记录学习cuda的执行模式,主要有几个方面的内容:理解jetsonnano上的gpu架构;理解线程束执行的本质;分支化与避免分支化;展开循环;其他;一、理解jetsonnano的gpu架构这块内容在上一篇笔记中有学习到一些,本篇就进行一个补充和复习。jetsonnano上的gpu是Maxwell架构的,整个gpu上面只有一个SM(流多处理器)。该SM上包含128个处理核心,这128个计算核心被
- 关于学生课堂行为识别算法
NineDays66
算法行为识别深度学习学生行为分析考试分析
目前基于针对学校做了一款考生行为识别算法,算法可以在服务器部署,也可以在前端设备如Jetson、RK等边缘设备运行,目前算法已经投入使用,算法效果如下目前算法在2080Ti服务器运行效率是150帧每秒算法运行平台模型大小吞吐量张/秒PC-2080TI50M150ARM-RK3399PRO10M10行为类别划分如下:学生未到、存在空位学生双手放在桌子下学生左、右看学生传纸条学生举手学生爬桌子睡觉学生
- Jetson AGX Orin安装Anaconda,Cuda,Cudnn,pytorch,Tensorrt,ROS
枭玉龙
#ubuntu系统下安装pytorch人工智能python
Anaconda:https://repo.anaconda.com/archive/Cuda:https://forums.developer.nvidia.com/t/pytorch-for-jetson/720481:安装Anaconda3下载:Anaconda3-2021.11-Linux-aarch64.shchmod+xAnaconda3-2021.11-Linux-aarch64.s
- Jetson nano配置jtop和nvidia-smi高级使用教程
YSUSE15w
linux运维服务器
目录1.更新源2.安装JTOP查看CPU等的占用情况3.关于nvidia-smi持续模式nvidia-smi支持的GPU查询GPU状态监控和管理GPUBoostreference:1.更新源sudoapt-getupdatesudoapt-getfull-upgrade在过程中输入Y确认更新。第二个过程时间根据网络情况可能会花2个小时左右,请耐心等待。如果安装不上,尝试源码安装https://gi
- Jetson Xavier NX CUDA、cuDNN、TensorRT与Pytorch环境配置
想努力的人
pytorch人工智能python
橘子大虾关注IP属地:江苏0.1312022.05.1911:31:43字数331阅读3,854torch与vision源码安装包下载链接:https://pan.baidu.com/s/1mrIgGoMo0bq6otGhlh-E3A提取码:6sb31.Cuda、CuDNN和TensorRT在JetsonXavierNx控制台中执行指令#更新软件源sudoaptupdate#安装JetPack组件
- 2019-05-06 nano操作I2C
马超波
Nano扩展口有两组I2C,分别为bus0bus1接口定义如下:https://www.jetsonhacks.com/nvidia-jetson-nano-j41-header-pinout/https://elinux.org/Jetson/I2CI2C寄存器操作i2cdumpPORTSLAVE_ADDR$sudoi2cdump-f-y40x40i2csetPORTSLAVE_ADDRREGV
- YOLO部署实战(5):NVIDIA Jetson Tx2部署YOLO
马上到我碗里来
YOLO部署实战YOLONVIDIAJetsonTx2
1一些概念JetsonTx2NVIDIAJetson是NVIDIA为新一代自主机器设计的的嵌入式系统,是一个AI平台,它的优势就是可以覆盖不同领域、不同行业。目前Jetson产品线已经有四个产品系列,包括JetsonNano、JetsonTX2、XavierNX和AGXXavier。四个产品系列的定位不同:JetsonNano比较适合和体量较小的设备,定位入门级,售价99美元;JetsonTX2比
- linux 安装vscode后打开,报错 undefined symbol:gbm_bo_get_modifier
HeroYDHY
vscodelinux打开报错
更换低版本安装教程如下:JetsonAGX安装VScode教程,适用于所有系统安装旧版本VScode_vscode低版本-CSDN博客
- 在Jetson Nano上实现单目相机 apritag_ros识别
蒋程扬
ROS机器人自动驾驶视觉检测人工智能
一,apritag_ros安装最开始采用克隆源码编译的方式进行安装,后来在Jetsonnano上有opencv4与opencv3的依赖问题,后来索性直接采用二进制安装:sudoapt-getinstallros-melodic-apriltag-ros二,单目相机数据读取这里使用的是uvc_camera包:launch文件:这里使用了命名空间head_camerahead_camera为相机标定参
- Jetson Nano 2G(1)开箱
宙仔
裸板一块~~~image.png要准备的东东还真不少:1.128G的TF卡,2.USB键鼠套装,3.网线一条(或无线网卡),4.显示器+HDMI线,5.5V3A电源+TypeC线一条.在Nvidia网站下载2G的镜像文件~~https://developer.nvidia.com/zh-cn/embedded/downloads镜像文件下载用Win32DiskImager刷入镜像文件,期间看到一些
- JetsonNX编译librealsense,解决ERROR: Could not find a version that satisfies the requirement pyrealsense2
吾系桉宁
Jetsonrealsense计算机视觉智能硬件arm开发
环境:JetsonNX+Jetpack4.4+Ubuntu18.04感谢问题描述安装教程感谢https://github.com/IntelRealSense/librealsense/issues/7722https://github.com/IntelRealSense/librealsense/issues/6964问题描述#InstallLibRealSensefromsource#Wen
- iOS http封装
374016526
ios服务器交互http网络请求
程序开发避免不了与服务器的交互,这里打包了一个自己写的http交互库。希望可以帮到大家。
内置一个basehttp,当我们创建自己的service可以继承实现。
KuroAppBaseHttp *baseHttp = [[KuroAppBaseHttp alloc] init];
[baseHttp setDelegate:self];
[baseHttp
- lolcat :一个在 Linux 终端中输出彩虹特效的命令行工具
brotherlamp
linuxlinux教程linux视频linux自学linux资料
那些相信 Linux 命令行是单调无聊且没有任何乐趣的人们,你们错了,这里有一些有关 Linux 的文章,它们展示着 Linux 是如何的有趣和“淘气” 。
在本文中,我将讨论一个名为“lolcat”的小工具 – 它可以在终端中生成彩虹般的颜色。
何为 lolcat ?
Lolcat 是一个针对 Linux,BSD 和 OSX 平台的工具,它类似于 cat 命令,并为 cat
- MongoDB索引管理(1)——[九]
eksliang
mongodbMongoDB管理索引
转载请出自出处:http://eksliang.iteye.com/blog/2178427 一、概述
数据库的索引与书籍的索引类似,有了索引就不需要翻转整本书。数据库的索引跟这个原理一样,首先在索引中找,在索引中找到条目以后,就可以直接跳转到目标文档的位置,从而使查询速度提高几个数据量级。
不使用索引的查询称
- Informatica参数及变量
18289753290
Informatica参数变量
下面是本人通俗的理解,如有不对之处,希望指正 info参数的设置:在info中用到的参数都在server的专门的配置文件中(最好以parma)结尾 下面的GLOBAl就是全局的,$开头的是系统级变量,$$开头的变量是自定义变量。如果是在session中或者mapping中用到的变量就是局部变量,那就把global换成对应的session或者mapping名字。
[GLOBAL] $Par
- python 解析unicode字符串为utf8编码字符串
酷的飞上天空
unicode
php返回的json字符串如果包含中文,则会被转换成\uxx格式的unicode编码字符串返回。
在浏览器中能正常识别这种编码,但是后台程序却不能识别,直接输出显示的是\uxx的字符,并未进行转码。
转换方式如下
>>> import json
>>> q = '{"text":"\u4
- Hibernate的总结
永夜-极光
Hibernate
1.hibernate的作用,简化对数据库的编码,使开发人员不必再与复杂的sql语句打交道
做项目大部分都需要用JAVA来链接数据库,比如你要做一个会员注册的 页面,那么 获取到用户填写的 基本信后,你要把这些基本信息存入数据库对应的表中,不用hibernate还有mybatis之类的框架,都不用的话就得用JDBC,也就是JAVA自己的,用这个东西你要写很多的代码,比如保存注册信
- SyntaxError: Non-UTF-8 code starting with '\xc4'
随便小屋
python
刚开始看一下Python语言,传说听强大的,但我感觉还是没Java强吧!
写Hello World的时候就遇到一个问题,在Eclipse中写的,代码如下
'''
Created on 2014年10月27日
@author: Logic
'''
print("Hello World!");
运行结果
SyntaxError: Non-UTF-8
- 学会敬酒礼仪 不做酒席菜鸟
aijuans
菜鸟
俗话说,酒是越喝越厚,但在酒桌上也有很多学问讲究,以下总结了一些酒桌上的你不得不注意的小细节。
细节一:领导相互喝完才轮到自己敬酒。敬酒一定要站起来,双手举杯。
细节二:可以多人敬一人,决不可一人敬多人,除非你是领导。
细节三:自己敬别人,如果不碰杯,自己喝多少可视乎情况而定,比如对方酒量,对方喝酒态度,切不可比对方喝得少,要知道是自己敬人。
细节四:自己敬别人,如果碰杯,一
- 《创新者的基因》读书笔记
aoyouzi
读书笔记《创新者的基因》
创新者的基因
创新者的“基因”,即最具创意的企业家具备的五种“发现技能”:联想,观察,实验,发问,建立人脉。
第一部分破坏性创新,从你开始
第一章破坏性创新者的基因
如何获得启示:
发现以下的因素起到了催化剂的作用:(1) -个挑战现状的问题;(2)对某项技术、某个公司或顾客的观察;(3) -次尝试新鲜事物的经验或实验;(4)与某人进行了一次交谈,为他点醒
- 表单验证技术
百合不是茶
JavaScriptDOM对象String对象事件
js最主要的功能就是验证表单,下面是我对表单验证的一些理解,贴出来与大家交流交流 ,数显我们要知道表单验证需要的技术点, String对象,事件,函数
一:String对象;通常是对字符串的操作;
1,String的属性;
字符串.length;表示该字符串的长度;
var str= "java"
- web.xml配置详解之context-param
bijian1013
javaservletweb.xmlcontext-param
一.格式定义:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>contextConfigLocationValue></param-value>
</context-param>
作用:该元
- Web系统常见编码漏洞(开发工程师知晓)
Bill_chen
sqlPHPWebfckeditor脚本
1.头号大敌:SQL Injection
原因:程序中对用户输入检查不严格,用户可以提交一段数据库查询代码,根据程序返回的结果,
获得某些他想得知的数据,这就是所谓的SQL Injection,即SQL注入。
本质:
对于输入检查不充分,导致SQL语句将用户提交的非法数据当作语句的一部分来执行。
示例:
String query = "SELECT id FROM users
- 【MongoDB学习笔记六】MongoDB修改器
bit1129
mongodb
本文首先介绍下MongoDB的基本的增删改查操作,然后,详细介绍MongoDB提供的修改器,以完成各种各样的文档更新操作 MongoDB的主要操作
show dbs 显示当前用户能看到哪些数据库
use foobar 将数据库切换到foobar
show collections 显示当前数据库有哪些集合
db.people.update,update不带参数,可
- 提高职业素养,做好人生规划
白糖_
人生
培训讲师是成都著名的企业培训讲师,他在讲课中提出的一些观点很新颖,在此我收录了一些分享一下。注:讲师的观点不代表本人的观点,这些东西大家自己揣摩。
1、什么是职业规划:职业规划并不完全代表你到什么阶段要当什么官要拿多少钱,这些都只是梦想。职业规划是清楚的认识自己现在缺什么,这个阶段该学习什么,下个阶段缺什么,又应该怎么去规划学习,这样才算是规划。
- 国外的网站你都到哪边看?
bozch
技术网站国外
学习软件开发技术,如果没有什么英文基础,最好还是看国内的一些技术网站,例如:开源OSchina,csdn,iteye,51cto等等。
个人感觉如果英语基础能力不错的话,可以浏览国外的网站来进行软件技术基础的学习,例如java开发中常用的到的网站有apache.org 里面有apache的很多Projects,springframework.org是spring相关的项目网站,还有几个感觉不错的
- 编程之美-光影切割问题
bylijinnan
编程之美
package a;
public class DisorderCount {
/**《编程之美》“光影切割问题”
* 主要是两个问题:
* 1.数学公式(设定没有三条以上的直线交于同一点):
* 两条直线最多一个交点,将平面分成了4个区域;
* 三条直线最多三个交点,将平面分成了7个区域;
* 可以推出:N条直线 M个交点,区域数为N+M+1。
- 关于Web跨站执行脚本概念
chenbowen00
Web安全跨站执行脚本
跨站脚本攻击(XSS)是web应用程序中最危险和最常见的安全漏洞之一。安全研究人员发现这个漏洞在最受欢迎的网站,包括谷歌、Facebook、亚马逊、PayPal,和许多其他网站。如果你看看bug赏金计划,大多数报告的问题属于 XSS。为了防止跨站脚本攻击,浏览器也有自己的过滤器,但安全研究人员总是想方设法绕过这些过滤器。这个漏洞是通常用于执行cookie窃取、恶意软件传播,会话劫持,恶意重定向。在
- [开源项目与投资]投资开源项目之前需要统计该项目已有的用户数
comsci
开源项目
现在国内和国外,特别是美国那边,突然出现很多开源项目,但是这些项目的用户有多少,有多少忠诚的粉丝,对于投资者来讲,完全是一个未知数,那么要投资开源项目,我们投资者必须准确无误的知道该项目的全部情况,包括项目发起人的情况,项目的维持时间..项目的技术水平,项目的参与者的势力,项目投入产出的效益.....
- oracle alert log file(告警日志文件)
daizj
oracle告警日志文件alert log file
The alert log is a chronological log of messages and errors, and includes the following items:
All internal errors (ORA-00600), block corruption errors (ORA-01578), and deadlock errors (ORA-00060)
- 关于 CAS SSO 文章声明
denger
SSO
由于几年前写了几篇 CAS 系列的文章,之后陆续有人参照文章去实现,可都遇到了各种问题,同时经常或多或少的收到不少人的求助。现在这时特此说明几点:
1. 那些文章发表于好几年前了,CAS 已经更新几个很多版本了,由于近年已经没有做该领域方面的事情,所有文章也没有持续更新。
2. 文章只是提供思路,尽管 CAS 版本已经发生变化,但原理和流程仍然一致。最重要的是明白原理,然后
- 初二上学期难记单词
dcj3sjt126com
englishword
lesson 课
traffic 交通
matter 要紧;事物
happy 快乐的,幸福的
second 第二的
idea 主意;想法;意见
mean 意味着
important 重要的,重大的
never 从来,决不
afraid 害怕 的
fifth 第五的
hometown 故乡,家乡
discuss 讨论;议论
east 东方的
agree 同意;赞成
bo
- uicollectionview 纯代码布局, 添加头部视图
dcj3sjt126com
Collection
#import <UIKit/UIKit.h>
@interface myHeadView : UICollectionReusableView
{
UILabel *TitleLable;
}
-(void)setTextTitle;
@end
#import "myHeadView.h"
@implementation m
- N 位随机数字串的 JAVA 生成实现
FX夜归人
javaMath随机数Random
/**
* 功能描述 随机数工具类<br />
* @author FengXueYeGuiRen
* 创建时间 2014-7-25<br />
*/
public class RandomUtil {
// 随机数生成器
private static java.util.Random random = new java.util.R
- Ehcache(09)——缓存Web页面
234390216
ehcache页面缓存
页面缓存
目录
1 SimplePageCachingFilter
1.1 calculateKey
1.2 可配置的初始化参数
1.2.1 cach
- spring中少用的注解@primary解析
jackyrong
primary
这次看下spring中少见的注解@primary注解,例子
@Component
public class MetalSinger implements Singer{
@Override
public String sing(String lyrics) {
return "I am singing with DIO voice
- Java几款性能分析工具的对比
lbwahoo
java
Java几款性能分析工具的对比
摘自:http://my.oschina.net/liux/blog/51800
在给客户的应用程序维护的过程中,我注意到在高负载下的一些性能问题。理论上,增加对应用程序的负载会使性能等比率的下降。然而,我认为性能下降的比率远远高于负载的增加。我也发现,性能可以通过改变应用程序的逻辑来提升,甚至达到极限。为了更详细的了解这一点,我们需要做一些性能
- JVM参数配置大全
nickys
jvm应用服务器
JVM参数配置大全
/usr/local/jdk/bin/java -Dresin.home=/usr/local/resin -server -Xms1800M -Xmx1800M -Xmn300M -Xss512K -XX:PermSize=300M -XX:MaxPermSize=300M -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=5 -
- 搭建 CentOS 6 服务器(14) - squid、Varnish
rensanning
varnish
(一)squid
安装
# yum install httpd-tools -y
# htpasswd -c -b /etc/squid/passwords squiduser 123456
# yum install squid -y
设置
# cp /etc/squid/squid.conf /etc/squid/squid.conf.bak
# vi /etc/
- Spring缓存注解@Cache使用
tom_seed
spring
参考资料
http://www.ibm.com/developerworks/cn/opensource/os-cn-spring-cache/
http://swiftlet.net/archives/774
缓存注解有以下三个:
@Cacheable @CacheEvict @CachePut
- dom4j解析XML时出现"java.lang.noclassdeffounderror: org/jaxen/jaxenexception"错误
xp9802
java.lang.NoClassDefFoundError: org/jaxen/JaxenExc
关键字: java.lang.noclassdeffounderror: org/jaxen/jaxenexception
使用dom4j解析XML时,要快速获取某个节点的数据,使用XPath是个不错的方法,dom4j的快速手册里也建议使用这种方式
执行时却抛出以下异常:
Exceptio