- bfs 求解迷宫最短路径问题
蒟蒻彧彧
搜索
问题描述下图给出了一个迷宫的平面图,其中标记为1的为障碍,标记为0的为可以通行的地方。010000000100001001110000迷宫的入口为左上角,出口为右下角,在迷宫中,只能从一个位置走到这个它的上、下、左、右四个方向之一。对于上面的迷宫,从入口开始,可以按DRRURRDDDR的顺序通过迷宫,一共10步。其中D、U、L、R分别表示向下、向上、向左、向右走。对于下面这个更复杂的迷宫(30行5
- 水中开纸花
梧桐雨_72fd
你知道怎样让纸花在水中盛开吗?今天就让我来告诉你吧。先用用你的彩笔,在彩色手工纸上画一个花的平面图,再动动你灵巧的双手把它剪下来,千万不要让剪刀“咬”到你的小手哟,伸伸你细细长长的手指把花瓣合拢起来,让他形成一个小花苞。接着,端来一盆盛满清水的器皿,把这个小花苞小心翼翼地放入水中,让它轻轻地浮在水面上,这时候,你就得屏住呼吸,大气也不敢出,眼睛直勾勾地盯住,一点儿也不敢动,因为最……(这里省直省略
- 虫字旁,童年时光不堪回首
MAYA读书笔记
《虫子旁》作者:朱赢椿关键字:虫、童趣、越读越喜欢《虫子旁》是朱赢椿的观虫日志,观虫的地点是南京师范大学的随园书坊,整本书的版面设计是清新淡雅的,色调是富有生机的绿与雅致的黑结合,书中的图片是有故事感的,微焦镜头呈现虫子们各异的状态,我和虫、虫与虫之间生命的联系,命运不同的境遇。这本书还贴心的附上随园书坊的平面图和观察虫子的场景照片及阅读说明。一年之计在于春,虫子肯定知道,作者随春入园,想知道虫知
- OpenGL 投影方式、存储着色器、基本图元连接
Joker_King
投影方式正投影图像以1:1的方式绘制到屏幕上。视觉上看到的是2D平面图像。image-20200710105247748只有位于坐标系中的视图才可以被看到。GLFrustum::SetOrthographic(,,,,,)透视投影以人眼的视角进行绘制,有远小近大的效果。image-20200710105735524当我们的视窗越大,我们所能看到的范围就越大。//fFov:垂直方向上的视窗角度//f
- Java - JVM内存模型 3分钟教你成为JVM的尖子生
大猪大猪
在很久很久以前,也就是1992年3月份,有一所NB轰轰的咖啡学校诞生了,它的名字叫JAVA,学校的校规极其的厉害,普通学生闻风丧胆,唯一尖子生般的人才能留下来,别猜了那人就是"你"。本色出演名单姓名别名简称学校JavaVirtualMachineJVM教室堆空间Heap老师垃圾回收器MinorGC/MajorGC学生数据Object学校平面图俗名使用权限简称Metaspace教室学生会,校长专用M
- Solidworks 草图绘制练习,工业机械手平面图
邓家文007
solidworks学习3d
**草图练习一:文件链接:https://download.csdn.net/download/morecrazylove/81319961
- 《什么是周长》单元复习总结
坪山区弘金地学校张伟
《什么是周长》单元复习总结什么是周长这个单元重点是让学生理解周长的意义,同时掌握长方形和正方形的周长计算方法。作为一个平面图形的计算问题对于三年级的学生来说还是存在很大的困难,他们从直观思维到抽象思维的能力相对还是比较弱的,最近连续几年授课三年级,也有一年选取周长的认识作为公开课,但是最后的效果都不尽如意,其实很多孩子们在这个时候虽然没有学习什么是面积,但是他们心目中装的其实是面积概念,比如判断周
- 造价新人-建筑识图
国风雅
对于土建工程对于我就不是很专业了,虽然在这几年也做过一些土建的预算,但也都是有局限性的,做的专业也比较少。我就简单的对土建图纸说一下我平时关注的点吧。土建图纸一般分为建筑图纸、结构图纸、精装修图纸,一、建筑图纸建筑图纸大概分为:总平面图、建筑设计说明、门窗表、营造做法表、平面图、立面图、剖面图、详图。1、总平面图通过总面图可以了解到项目的大概建筑面积、整个项目各单体之间的空间关系。2、建筑设计说明
- 使用人工智能将扫描地图中的数据数字化
GIS工具-gistools2021
人工智能qgis
BuntingLabs推出了新版本QGISAI地图追踪插件,这是一款由人工智能驱动的自动数字化扫描地图和平面图特征的工具。Egan和联合创始人BrendanAshworth开发了这个插件,以快速加快从扫描地图和平面图中提取地理特征的过程。通常,从PDF中提取地理空间信息需要手动跟踪PDF或扫描地图图像中的要素(例如直线、多边形和点)以创建GIS矢量数据,这是一个费力的过程。根据PDF或扫描地图的复
- 清朝皇帝驾崩后,都埋在了哪里,末代皇帝溥仪,又葬在了何处
翰林冷知识
说到清朝皇陵,需要分成两个阶段,入关前和入关后。入关前,满清算是地方割据,皇陵制度也不完备,多按满俗;入关后,满清正式入主中原,皇陵制度承接明朝,大多参考朱元璋的明孝陵和他后代的十三陵。▲明孝陵平面图一、关外三陵满清居于东北时,设了关外三陵(也称盛京三陵):清永陵、清福陵和清昭陵。清永陵,位于辽宁宾满族自治县永陵镇西北启运山脚下,努尔哈赤的六世祖猛哥贴木尔、曾祖福满、祖父觉昌安、父亲塔克世均葬于此
- 深圳办公家具方案设计需要注意什么?
深圳办公家具
说起深圳办公家具的设计方案,是根据企业的文化以及员工的工作习惯进行设计的。大致分为以下几种设计流程,一般量房了解设计需求,进行平面图的绘制和立体图的绘制,还有效果图的绘制。大家都知道办公家具是所有办公室布置中占空间最大的物品,办公家具样式和风格会对办公室的整体风格产生相当大的影响。因此,进行空间设计时必须将办公家具考虑进去。家具要与整体风格统一、色调要和谐,从而打造一个舒适的办公室环境。所以要结合
- JVM - 图解篇
kikiki2
在很久很久以前,也就是1992年3月份,有一所NB轰轰的咖啡学校诞生了,它的名字叫JAVA,学校的校规极其的厉害,普通学生闻风丧胆,唯一尖子生般的人才能留下来,别猜了那人就是"你"。本色出演名单姓名别名简称学校JavaVirtualMachineJVM教室堆空间Heap老师垃圾回收器MinorGC/MajorGC学生数据Object学校平面图俗名使用权限简称Eden教室新生EdenSurvivor
- 设计趋势 | 探讨孟菲斯设计风格的发展与沿革,玩转设计!
Tzw_n
首发于微信公众号:小阿田的设计笔记~探索孟菲斯风格的演变,试试这些超酷的方法把曼菲斯风格运用到您的设计中。关注微信公众号:小阿田的设计笔记设计要跟得上流行又现代的风格并不是那么简单。流行来来去去,常常起死回生,就像僵尸一样。这次(再次)风靡设计界的是曼菲斯(Memphis)风格:在静态图案之间穿插波浪线条和任意的平面图形;大胆的用色与柔和的粉嫩色调形成对比,再加上粗黑的几何图形衬托,还少不了一些波
- PS之外的平面设计利器:7款高效软件帮你轻松搞定
割草机sk
photoshop人工智能uidreamweaver交互
平面图设计的痕迹体现在日常生活的方方面面,如路边传单、杂志、产品包装袋或手机开屏海报等,平面设计软件层出不穷。Photoshop是大多数平面图设计初学者的入门软件,但随着设计师需求的不断提高,平面图设计软件Photoshop逐渐显示出其弊端。比如大文件与多文件并行时,Photoshop容易卡住、闪回、崩溃。而Photoshop需要下载安装包,过程繁琐复杂,因此轻量级的平面图设计软件受到设计师的青睐
- AI生图软件对室内设计而言有什么用?
jianewang
人工智能AI作画
AI生图软件对室内设计而言具有多方面的用途和优势,AI生图软件可以通过机器学习和深度学习算法进行学习,帮助设计师快速、高效地完成设计任务,提高设计的质量和效果。AI生图软件对于室内设计而言有很多用途和优势,具体如下:1、提高设计效率:AI生图软件可以自动完成平面图的绘制和3D效果图的呈现,大大节省了设计师的时间和精力。设计者只需要手动完成一些必要的调整,就能实现快速的设计输出。2、提供更多创意和选
- 第七章 平面直角坐标系 单元复习设计
hnzxsj
教学学习
第七章平面直角坐标系单元复习【学习目标】1.了解有序数对的应用意义,了解平面上确定点的常用方法.2.掌握坐标变化与图形平移的关系;能利用点的平移规律将平面图形进行平移;会根据图形上点的坐标的变化,来判定图形的移动过程.3.发展学生的形象思维能力,和数形结合的意识.【教学重难点】1.有序数对及平面内确定点的方法;坐标变化与图形平移的关系;.2.利用坐标变化与图形平移的关系解决实际问题.
- 2018年7月17日傅锦程观察日志
ic班
今天仔仔自主选择了“贝壳图片与实物配对”工作,主要让孩子触摸感知物体的形状和观察颜色,把立体实物和平面图片相结合,在老师的示范过后,仔仔能够自己独立正确的完成此次工作。操作整个过程里仔仔情绪都很稳定,即使途中有被小朋友做了短暂的干扰,也能及时的进入之前的工作状态。工作结束后,自己独立收拾了工作,并将工作正确归位,这份工作仔仔重复操作了2次,挑战性适度,拥有积极的发展作用。工作时长十二分钟左右在选择
- 家庭会议的第三天晚上
走向阳光的自己
家庭会议第三天晚上,玺跟我一起同桌做作业,我在完成自己的事情,玺的数学作业是画图,她在学习比例,要画家里的平面图,她说画图好烦,准备对着书上的画图题画一遍,听她这样说我的心里着急了,就说她放弃自己思考的机会,这是在哄自己,我停不下自己的担心,嘴中停不住唠叨......玺边做边说,妈妈上当了,妈妈打脸了,后来她让我看她的图,确实是跟家里布局图差不多,只是没有画成精准的1:200的比例。说实话我以前是
- 刚体的平面运动
Debug的魔法小马
早期垃圾博客其他
平面运动可以用基点法描述:原理:一个刚体在平面上的运动可由刚体上相对刚体不动的一条带方向直线完全描述。而一条直线可以由一个基点和一个方向完全描述。因此在绝对坐标系下列些决定基点O’和转角ψ\psiψ(如和绝对坐标系X轴夹角)的方程就能完全描述平面图形的运动,称为平面图形的运动方程:xo^’^=f1(t)yo^’^=f2(t)ψ\psiψ=f3(t)性质:平面运动可选取任意基点而分解为平移和转动,其
- 立体几何中的折纸类问题:2019年理数全国卷C题19
易水樵
折纸:2019年理数全国卷C题19(12分)图1是由矩形和菱形组成的一个平面图形,其中将其沿折起使得与重合,连接,如图2.(1)证明∶图2中的四点共面,且平面平面;(2)求图2中的二面角的大小.2019年理科数学全国卷C【解答问题1】∵是矩形,∴,∵是菱形,∴∴∴四点共面.∵是矩形,∴,∵是直角三角形,∴又∵,∴平面又∴平面,∴平面平面.【解答问题2】如图所示,记中点为.是菱形,且所以,是正三角形
- 2018-07-23 地基与基础-底板钢筋【施工日志】
施工日志
进展7月21日、7月22日、7月23日1、加工、安装基础底板的钢筋;2、安装基础的模板;3、没有3了,进度实在是太慢了,因为工人少,就算有工作面也没法开展工作...延伸模板实在是支得慢了,还没有一个成型的,就先说一下底板钢筋吧。先看图纸上的基础平面图和剖面图,从图上可以看到双向都是φ16@150,即直径16mm的三级钢,间距150mm排布。而实际量得两个方向的间距也是150mm,没有问题。设计说明
- 拓荒者 第十一章 另眼相看
如弢
王帅从他的文件夹里取出平面图,看了看后递给鹏飞。“这个你保存,昨晚王总见你睡着了,就先放我这了。走,和我一起去放孔位”,王帅手握着皮尺,两人根据平面图上标示的尺寸,结合着周边的建筑,忙活起来。当两人再次站在水准仪旁,鹏飞记录,王帅读数。这个项目小,锅炉房也不大,过程简化,但是“麻雀虽小五脏俱全”,该做的步骤不会少。场地内孔位上立着两台钻机设备,一台有塔架、一台无塔架,这样的场景让鹏飞呆住了,之前工
- 2019年2月25日-3月3日周检视
枫笛1908
【日历】1.按时参会:后勤工作会、公司办公会、部门全体成员会议、小美体验课、手工课;报送小型基建2个线上项目、3个线下项目、技改大修项目相关资料;多维精益化培训及考试。2.女儿开学,担任轮值数学领读组长;3.女儿作业、钢琴课、乐子课。【清单】1.县公司及乡所补充项目的方案;委托设计编制安全等级为C/D楼宇的加固方案;中央空调维修方案施工图二审定案;满春总平面图审定✔2.安排梳理公房确权事宜;✔3.
- 商业案例实战:Python数据可视化之四象限图
数据科学作家
python数据分析数据挖掘人工智能机器学习数据库数据可视化
1.四象限图的含义四象限图是一种针对二维数据(x,y)的平面图形。二维数据(x,y)的两个维度垂直交叉在一起,分别构成四象限图的X轴及Y轴。两个维度所有样本的均值(即x的均值和y的均值)可以作为分界线,把整个平面区域划分为四个区域象限,然后按照每个样本(x,y)实际值的大小,将每个样本映射到具体的区间,从而实现样本的简单四分类。针对每个类别的样本还可以可以进行深入研究,提出有针对性的策略和建议。2
- 2019.03.28
汶河南路有棵树
周四,阴天,冷风。这几天加班很厉害,昨晚十点半,前天十一点,永远有画不完的图,永远有改不完的方案。昨天晚上院长要我们把平面图改完整,完成线,家具尺寸距离等等,结果他就在办公室等我们,做出一副决战到天亮的样子,告诉我和同事阿敏整理好给他再看一遍。一顿艰难而漫长的修改整理,头昏脑胀,还是得继续下去,接近十点给他看完一版又是一顿痛改,有自己的错误,有理解交接上的错误,总之在我手上出错的图就是我的责任。半
- 拓扑图论、常见的图
csuzhucong
算法
目录一,拓扑图论二,彼得森图三,正则图四,完全图1,完全图2,K73,K5五,二分图CodeForces687ANP-HardProblem力扣785.判断二分图六,完全二分图1,完全二分图2,K2,33,K3,3七,广义子图、禁图表征1,广义子图2,广义子图定理3,禁图表征4,广义子图的二元关系八,平面图1,瓦格纳定理一,拓扑图论拓扑图论研究曲面中的图嵌入、图的空间嵌入及作为拓扑空间的图,还研究
- 新手也能轻松上手!10 款免费平面图设计软件推荐!
割草机sk
photoshopuifigma交互
从事设计行业的工人或多或少会接触到平面图。例如,在建造新房、办公室、酒店等任何类型的建筑时,都需要使用平面图来保证项目的准确性。因此,掌握绘制平面图软件的技巧也非常重要。在保证效率的同时,结果的准确性也非常高。在本文中,我们将分析10款平面图设计软件的免费功能特点,帮助您选择最合适的平面图设计软件。1、即时设计即时设计是一款免费的国产在线合作平面图设计软件,可以一站式完成原型、设计、交互和交付,提
- 零基础也能学会平面图绘制?跟着大厂设计师一起学习吧!
割草机sk
学习
绘制平面图是一种审美,“美”的感觉本身是主观的,我们很难定义“美”的具体标准,但绘制平面图的观众是人,人们对事物的感情有一个普遍的规则,人们普遍认为观众可以欣赏的平面图是一个很好的设计。因此,在绘制平面图时,如果能结合审美心理学,将更有利于创作出优秀的平面图作品。在这篇文章中,让我们来看看8个平面图中常用的基本规则。KISS原则KISS原则,是的「KeepItSimple,Stupid」缩写,又称
- 迷宫(蓝桥杯省赛C/C++)
菜只因C
蓝桥杯c++c语言大数据开发语言数据结构算法
题目描述本题为填空题,只需要算出结果后,在代码中使用输出语句将所填结果输出即可。下图给出了一个迷宫的平面图,其中标记为1的为障碍,标记为0的为可以通行的地方。010000000100001001110000迷宫的入口为左上角,出口为右下角,在迷宫中,只能从一个位置走到这个它的上、下、左、右四个方向之一。对于上面的迷宫,从入口开始,可以按DRRURRDDDR的顺序通过迷宫,一共10步。其中D、U、L
- linux画平面图软件,Sweet Home 3D傻瓜平面图软件,人人都能画出室内平面图
weixin_39662432
linux画平面图软件
当拥有人生第一个家、第一个空间想要装潢、摆设时,要如何跟室内设计师,精准传达自己心目中的理想面貌?最简单的就是直接画示意图,但是没有学过相关软体怎么办?别担心!今天要跟大家分享这款SweetHome3D,比小画家还简单,它是一款专门设计让人人都可以快速上手的室内设计平面图软件,画好平面图后还支援自动转为3D图,支援Mac、Windows、Limux三平台,最重要的语言部分,支持简体中文。大家如果想
- LeetCode[Math] - #66 Plus One
Cwind
javaLeetCode题解AlgorithmMath
原题链接:#66 Plus One
要求:
给定一个用数字数组表示的非负整数,如num1 = {1, 2, 3, 9}, num2 = {9, 9}等,给这个数加上1。
注意:
1. 数字的较高位存在数组的头上,即num1表示数字1239
2. 每一位(数组中的每个元素)的取值范围为0~9
难度:简单
分析:
题目比较简单,只须从数组
- JQuery中$.ajax()方法参数详解
AILIKES
JavaScriptjsonpjqueryAjaxjson
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。
type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和 delete也可以使用,但仅部分浏览器支持。
timeout: 要求为Number类型的参数,设置请求超时时间(毫秒)。此设置将覆盖$.ajaxSetup()方法的全局
- JConsole & JVisualVM远程监视Webphere服务器JVM
Kai_Ge
JVisualVMJConsoleWebphere
JConsole是JDK里自带的一个工具,可以监测Java程序运行时所有对象的申请、释放等动作,将内存管理的所有信息进行统计、分析、可视化。我们可以根据这些信息判断程序是否有内存泄漏问题。
使用JConsole工具来分析WAS的JVM问题,需要进行相关的配置。
首先我们看WAS服务器端的配置.
1、登录was控制台https://10.4.119.18
- 自定义annotation
120153216
annotation
Java annotation 自定义注释@interface的用法 一、什么是注释
说起注释,得先提一提什么是元数据(metadata)。所谓元数据就是数据的数据。也就是说,元数据是描述数据的。就象数据表中的字段一样,每个字段描述了这个字段下的数据的含义。而J2SE5.0中提供的注释就是java源代码的元数据,也就是说注释是描述java源
- CentOS 5/6.X 使用 EPEL YUM源
2002wmj
centos
CentOS 6.X 安装使用EPEL YUM源1. 查看操作系统版本[root@node1 ~]# uname -a Linux node1.test.com 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [root@node1 ~]#
- 在SQLSERVER中查找缺失和无用的索引SQL
357029540
SQL Server
--缺失的索引
SELECT avg_total_user_cost * avg_user_impact * ( user_scans + user_seeks ) AS PossibleImprovement ,
last_user_seek ,
 
- Spring3 MVC 笔记(二) —json+rest优化
7454103
Spring3 MVC
接上次的 spring mvc 注解的一些详细信息!
其实也是一些个人的学习笔记 呵呵!
- 替换“\”的时候报错Unexpected internal error near index 1 \ ^
adminjun
java“\替换”
发现还是有些东西没有刻子脑子里,,过段时间就没什么概念了,所以贴出来...以免再忘...
在拆分字符串时遇到通过 \ 来拆分,可是用所以想通过转义 \\ 来拆分的时候会报异常
public class Main {
/*
- POJ 1035 Spell checker(哈希表)
aijuans
暴力求解--哈希表
/*
题意:输入字典,然后输入单词,判断字典中是否出现过该单词,或者是否进行删除、添加、替换操作,如果是,则输出对应的字典中的单词
要求按照输入时候的排名输出
题解:建立两个哈希表。一个存储字典和输入字典中单词的排名,一个进行最后输出的判重
*/
#include <iostream>
//#define
using namespace std;
const int HASH =
- 通过原型实现javascript Array的去重、最大值和最小值
ayaoxinchao
JavaScriptarrayprototype
用原型函数(prototype)可以定义一些很方便的自定义函数,实现各种自定义功能。本次主要是实现了Array的去重、获取最大值和最小值。
实现代码如下:
<script type="text/javascript">
Array.prototype.unique = function() {
var a = {};
var le
- UIWebView实现https双向认证请求
bewithme
UIWebViewhttpsObjective-C
什么是HTTPS双向认证我已在先前的博文 ASIHTTPRequest实现https双向认证请求
中有讲述,不理解的读者可以先复习一下。本文是用UIWebView来实现对需要客户端证书验证的服务请求,网上有些文章中有涉及到此内容,但都只言片语,没有讲完全,更没有完整的代码,让人困扰不已。但是此知
- NoSQL数据库之Redis数据库管理(Redis高级应用之事务处理、持久化操作、pub_sub、虚拟内存)
bijian1013
redis数据库NoSQL
3.事务处理
Redis对事务的支持目前不比较简单。Redis只能保证一个client发起的事务中的命令可以连续的执行,而中间不会插入其他client的命令。当一个client在一个连接中发出multi命令时,这个连接会进入一个事务上下文,该连接后续的命令不会立即执行,而是先放到一个队列中,当执行exec命令时,redis会顺序的执行队列中
- 各数据库分页sql备忘
bingyingao
oraclesql分页
ORACLE
下面这个效率很低
SELECT * FROM ( SELECT A.*, ROWNUM RN FROM (SELECT * FROM IPAY_RCD_FS_RETURN order by id desc) A ) WHERE RN <20;
下面这个效率很高
SELECT A.*, ROWNUM RN FROM (SELECT * FROM IPAY_RCD_
- 【Scala七】Scala核心一:函数
bit1129
scala
1. 如果函数体只有一行代码,则可以不用写{},比如
def print(x: Int) = println(x)
一行上的多条语句用分号隔开,则只有第一句属于方法体,例如
def printWithValue(x: Int) : String= println(x); "ABC"
上面的代码报错,因为,printWithValue的方法
- 了解GHC的factorial编译过程
bookjovi
haskell
GHC相对其他主流语言的编译器或解释器还是比较复杂的,一部分原因是haskell本身的设计就不易于实现compiler,如lazy特性,static typed,类型推导等。
关于GHC的内部实现有篇文章说的挺好,这里,文中在RTS一节中详细说了haskell的concurrent实现,里面提到了green thread,如果熟悉Go语言的话就会发现,ghc的concurrent实现和Go有点类
- Java-Collections Framework学习与总结-LinkedHashMap
BrokenDreams
LinkedHashMap
前面总结了java.util.HashMap,了解了其内部由散列表实现,每个桶内是一个单向链表。那有没有双向链表的实现呢?双向链表的实现会具备什么特性呢?来看一下HashMap的一个子类——java.util.LinkedHashMap。
- 读《研磨设计模式》-代码笔记-抽象工厂模式-Abstract Factory
bylijinnan
abstract
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
package design.pattern;
/*
* Abstract Factory Pattern
* 抽象工厂模式的目的是:
* 通过在抽象工厂里面定义一组产品接口,方便地切换“产品簇”
* 这些接口是相关或者相依赖的
- 压暗面部高光
cherishLC
PS
方法一、压暗高光&重新着色
当皮肤很油又使用闪光灯时,很容易在面部形成高光区域。
下面讲一下我今天处理高光区域的心得:
皮肤可以分为纹理和色彩两个属性。其中纹理主要由亮度通道(Lab模式的L通道)决定,色彩则由a、b通道确定。
处理思路为在保持高光区域纹理的情况下,对高光区域着色。具体步骤为:降低高光区域的整体的亮度,再进行着色。
如果想简化步骤,可以只进行着色(参看下面的步骤1
- Java VisualVM监控远程JVM
crabdave
visualvm
Java VisualVM监控远程JVM
JDK1.6开始自带的VisualVM就是不错的监控工具.
这个工具就在JAVA_HOME\bin\目录下的jvisualvm.exe, 双击这个文件就能看到界面
通过JMX连接远程机器, 需要经过下面的配置:
1. 修改远程机器JDK配置文件 (我这里远程机器是linux).
 
- Saiku去掉登录模块
daizj
saiku登录olapBI
1、修改applicationContext-saiku-webapp.xml
<security:intercept-url pattern="/rest/**" access="IS_AUTHENTICATED_ANONYMOUSLY" />
<security:intercept-url pattern=&qu
- 浅析 Flex中的Focus
dsjt
htmlFlexFlash
关键字:focus、 setFocus、 IFocusManager、KeyboardEvent
焦点、设置焦点、获得焦点、键盘事件
一、无焦点的困扰——组件监听不到键盘事件
原因:只有获得焦点的组件(确切说是InteractiveObject)才能监听到键盘事件的目标阶段;键盘事件(flash.events.KeyboardEvent)参与冒泡阶段,所以焦点组件的父项(以及它爸
- Yii全局函数使用
dcj3sjt126com
yii
由于YII致力于完美的整合第三方库,它并没有定义任何全局函数。yii中的每一个应用都需要全类别和对象范围。例如,Yii::app()->user;Yii::app()->params['name'];等等。我们可以自行设定全局函数,使得代码看起来更加简洁易用。(原文地址)
我们可以保存在globals.php在protected目录下。然后,在入口脚本index.php的,我们包括在
- 设计模式之单例模式二(解决无序写入的问题)
come_for_dream
单例模式volatile乱序执行双重检验锁
在上篇文章中我们使用了双重检验锁的方式避免懒汉式单例模式下由于多线程造成的实例被多次创建的问题,但是因为由于JVM为了使得处理器内部的运算单元能充分利用,处理器可能会对输入代码进行乱序执行(Out Of Order Execute)优化,处理器会在计算之后将乱序执行的结果进行重组,保证该
- 程序员从初级到高级的蜕变
gcq511120594
框架工作PHPandroidhtml5
软件开发是一个奇怪的行业,市场远远供不应求。这是一个已经存在多年的问题,而且随着时间的流逝,愈演愈烈。
我们严重缺乏能够满足需求的人才。这个行业相当年轻。大多数软件项目是失败的。几乎所有的项目都会超出预算。我们解决问题的最佳指导方针可以归结为——“用一些通用方法去解决问题,当然这些方法常常不管用,于是,唯一能做的就是不断地尝试,逐个看看是否奏效”。
现在我们把淫浸代码时间超过3年的开发人员称为
- Reverse Linked List
hcx2013
list
Reverse a singly linked list.
/**
* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) { val = x; }
* }
*/
p
- Spring4.1新特性——数据库集成测试
jinnianshilongnian
spring 4.1
目录
Spring4.1新特性——综述
Spring4.1新特性——Spring核心部分及其他
Spring4.1新特性——Spring缓存框架增强
Spring4.1新特性——异步调用和事件机制的异常处理
Spring4.1新特性——数据库集成测试脚本初始化
Spring4.1新特性——Spring MVC增强
Spring4.1新特性——页面自动化测试框架Spring MVC T
- C# Ajax上传图片同时生成微缩图(附Demo)
liyonghui160com
1.Ajax无刷新上传图片,详情请阅我的这篇文章。(jquery + c# ashx)
2.C#位图处理 System.Drawing。
3.最新demo支持IE7,IE8,Fir
- Java list三种遍历方法性能比较
pda158
java
从c/c++语言转向java开发,学习java语言list遍历的三种方法,顺便测试各种遍历方法的性能,测试方法为在ArrayList中插入1千万条记录,然后遍历ArrayList,发现了一个奇怪的现象,测试代码例如以下:
package com.hisense.tiger.list;
import java.util.ArrayList;
import java.util.Iterator;
- 300个涵盖IT各方面的免费资源(上)——商业与市场篇
shoothao
seo商业与市场IT资源免费资源
A.网站模板+logo+服务器主机+发票生成
HTML5 UP:响应式的HTML5和CSS3网站模板。
Bootswatch:免费的Bootstrap主题。
Templated:收集了845个免费的CSS和HTML5网站模板。
Wordpress.org|Wordpress.com:可免费创建你的新网站。
Strikingly:关注领域中免费无限的移动优
- localStorage、sessionStorage
uule
localStorage
W3School 例子
HTML5 提供了两种在客户端存储数据的新方法:
localStorage - 没有时间限制的数据存储
sessionStorage - 针对一个 session 的数据存储
之前,这些都是由 cookie 完成的。但是 cookie 不适合大量数据的存储,因为它们由每个对服务器的请求来传递,这使得 cookie 速度很慢而且效率也不