- Web安全之XSS跨站脚本攻击
Shadow_143
web安全安全渗透测试
1.XSS漏洞简介XSS攻击通常指的是通过利用网页开发时留下的漏洞,通过巧妙的方法注入恶意指令代码到网页,使用户加载并执行攻击者恶意制造的网页程序。这些恶意网页程序通常是JavaScript,但实际上也可以包括Java,VBScript,ActiveX,Flash或者甚至是普通的HTML。攻击成功后,攻击者可能得到更高的权限(如执行一些操作)、私密网页内容、会话和cookie等各种内容。2.XSS
- HFM深入技术学习系列之二--规则
Flora_Fang
HFMHFM
学习的路线学习如何写规则,从技术的角度看,从以下几点入手:0HFM合并报表的基本业务功能1规则的入口,即HFM是从哪里调用我们写的规则。2规则的基本语法,规则是用VBSCRIPT写的,这里所说的基本语法不是指的VBSCRIPT的语法,其实更多地是说规则里HS这个OBJECT和相关函数如何使用。3规则的深入应用HFM合并报表的基本业务功能HFM是一个专业性很强的软件,技术人员如果对其涉及到的财务-合
- VBA之正则表达式(3)-- 特殊公式计算
taller_2000
VBAExcel正则VBA正则公式替换计算
实例需求:数据保存在B列,其格式为规格1*数量1+规格2*数量2+...,现在需要统计数量总和,如C列所示。例如B3中明细为100*3+115*1对应的包装个数就是3+1。示例代码如下。SubRegExpDemo()DimstrTxtAsStringDimobjRegExAsObjectDimjAsIntegerSetobjRegEx=CreateObject("vbscript.regexp")
- 智能化脚本autoit v3的简单了解
weixin_30617561
操作系统
AutoItv3是一个类似BASIC脚本语言的免费软件,它设计用于WindowsGUI(图形用户界面)中进行自动化操作.利用模拟键盘按键,鼠标移动和窗口/控件的操作实现自动化任务.而这是其它语言不可能做到或无可靠方法实现的(比如VBScript和SendKeys).AutoIt非常小巧,完全运行在所有windows操作系统上.并且不需要任何运行库!AutoIt最初是为PC(个人电脑)的"批量处理"
- C#、ASP、ASP.NET、.NET、ASP.NET CORE区别、ASP.NET Core其概念和特点、ASP.NET Core个人心得体会
lijingguang
C#c#
C#是一种面向对象的编程语言,主要用于开发跨平台的应用程序。它是.NET框架的一部分,并且可以在.NET平台上运行。ASP(ActiveServerPages)是一种用于构建动态Web页面的技术,使用VBScript或JScript作为服务器端脚本语言。它是早期的Microsoft技术,现已逐渐过时。ASP.NET是微软推出的下一代Web应用程序开发技术,它提供了更强大、更高效的功能和工具。ASP
- 开发首选bat脚本,省时省力!(写的不好,多多见谅)
ʚ小华
idea
作为开发人员,每天上班启动软件花费大把时间,写个脚本,一劳永逸!chcp65001@echooff::获取管理员权限::%1mshtavbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c%~s0::","","runas",1)(window.close)&&exit::start/d"C:\Users\2318
- VBScript 常用脚本
iamsea
运行setobjShell=CreateObject("WScript.Shell")strCommandLine="C:\WJR\RTX.exe"objShell.Run(strCommandLine)模拟键盘输入setWshShell=CreateObject("WScript.Shell")'WshShell.SendKeys"+(^)"解压文件UnZip"待解压文件路径","接收解压文件目
- 【知识】浅谈xss攻击及如何简单的预防
小黑马i
什么是xss攻击?XSS攻击通常指的是通过利用网页开发时留下的漏洞,通过巧妙的方法注入恶意指令代码到网页,使用户加载并执行攻击者恶意制造的网页程序。这些恶意网页程序通常是JavaScript,但实际上也可以包括Java、VBScript、ActiveX、Flash或者甚至是普通的HTML。攻击成功后,攻击者可能得到包括但不限于更高的权限(如执行一些操作)、私密网页内容、会话和cookie等各种内容
- ASP VBSCRIPT VBA RSA 公钥加密 私钥解密 私钥签名 公钥验签
todaygods
c#rsa加密解密opensslbase64
私钥解密,私钥签名->公钥验签ClassClass_Crypt_RsaPrivateTAsc,objRsaPrivatePrivateKey_,PublicKey_'@PrivateKey:Yourpersonalprivatekey.Keepthishidden.NeedC#format.PublicPropertyGetPrivateKeyPrivateKey=PrivateKey_EndPr
- VBA和VBScript的SHA2加密哈希算法
cxygs5788
数据结构与算法
介绍安全哈希算法2是由美国国家安全局(NSA)设计并由美国国家标准技术研究院(NIST)作为政府标准发布的一系列密码哈希算法。NIST目前正在进行一项竞赛,目的是为SHA-3寻找新的算法系列。这些新功能可能不一定源自SHA-2算法。MD5算法是使用最广泛的哈希算法之一,但是发现它存在很多弱点,因此强烈建议停止使用MD5。什么是SHA2SHA2是一种哈希算法。哈希算法基本上是一种输出固定长度的单向加
- 快速进阶Web开发领域:发现ASP学习网站的无限可能!
知识分享小能手
学习心得体会编程语言如门前端学习数据库
介绍:ASP是一种服务器端脚本编程环境,由Microsoft公司开发,主要用于创建动态和交互式的网页以及构建功能强大的Web应用程序。以下是ASP的一些主要特点:服务器端脚本:ASP代码在服务器上执行,然后将结果以HTML为后缀名的形式发送到用户的浏览器。这意味着用户无法查看原始的ASP代码,只能看到由ASP生成的HTML内容。支持多种编程语言:ASP通常与VBScript或JavaScript配
- 链接或框架注入漏洞原理以及修复方法
it技术分享just_free
安全安全web安全网络安全
漏洞名称:框架注入、链接注入漏洞描述:一个框架注入攻击是一个所有基于GUI的浏览器攻击,它包括任何代码如JavaScript,VBScript(ActivX),Flash,AJAX(html+js+py)。代码被注入是由于脚本没有对它们正确验证,攻击者有可能注入含有恶意内容的frame或iframe标记。链接注入是修改站点内容的行为,其方式为将外部站点的URL嵌入其中,或将有易受攻击的站点中的脚本
- javascript和jscript的区别
微笑着坚强ing
javascript和jscript都是一种脚本语言,都是ECMA-262的实现,不同的是javascript是网景公司开发的,jscript是微软公司开发的,自然有所不同。两者都可以运行在客户端,也可以运行在服务端,但无论运行在哪一端,其解释器都不相同。在服务端,javascript是由网景公司的服务端解释器进行解释,不属于ASP写法;JScript与VBScript使用相同的服务端解释器解释,
- Python入门的三大问题和三大谎言
小牛叔
Python广告,铺天盖地,小白们雾里看花,Python无限美好。作为会20几种语言(BASICFoxbase/proVBVCCC++c#jstypescriptHTMLArduinoCDelphiVBAVB汇编scratchjavaswiftpythonsqlvbscript...)的爱好者,我先说说如果入门python应该想好三大问题,并且在此戳穿三大谎言:问题一是不是兴趣?确认你不是被短期贩
- mysql 8.0 windows一键安装脚本
名称真多
说点什么写这个mysql目的原来是在做web项目的一键部署安装,其实就是exe自动运行安装。脚本注释内容较少为什呢懒得呗。。。支持功能:改密,执行sql文件,多mysql运行等等。sql文件内容不提供了想知道给我点赞呗点完我再发@echooffif"%1"=="h"gotobeginmshtavbscript:createobject("wscript.shell").run("""%~nx0""
- [转载]VBS入门教程 VBS基础教程
搬了菠萝蜜
Windows
[转载]VBS入门教程VBS基础教程(收藏)VBS基础教程VBS(VBScript的进一步简写)是基于VisualBasic的脚本语言.MicrosoftVisualBasic是微软公司出品的一套可视化编程工具,语法基于Basic.脚本语言,就是不编译成二进制文件,直接由宿主(host)解释源代码并执行,简单点说就是你写的程序不需要编译成.exe,而是直接给用户发送.vbs的源程序,用户就能执行了
- 36、WEB攻防——通用漏洞&XSS跨站&MXSS&UXSS&FlashXSS&PDFXSS
PT_silver
小迪安全前端xss
文章目录MXSSUXSSFlashXSSPDFXSS跨站的艺术-XSS入门与介绍UTF-7XSS、MHTMLXSS、CSSXSS、VBScriptXSS已经过时,基本上不会出现。MXSS简单来说,就是你往前端页面插入payload,但是前端有些防御策略会将payload编码,导致payload不能被正常执行。如果将插入payload的链接用低版本QQ转发给别人,因为QQ有自动预览功能,重新优化原网
- bat批处理以管理员权限运行的实现方法
爱简讯
方法一:有的电脑是非管理员登录,运行程序时,需要提示是否运行运行。解决方法如下:@echooff%1%2ver|find"5.">nul&&goto:Adminmshtavbscript:createobject("shell.application").shellexecute("%~s0","goto:Admin","","runas",1)(window.close)&goto:eof:Ad
- Windows脚本:监控并自动重启某个进程
黎陌MLing
linux其他windows
Windows脚本:监控自动并重启某个进程一、简介二.bat脚本方式2.1编制脚本2.2创建并运行脚本2.3设置关闭cmd窗口三、使用VBScript脚本方式3.1编制脚本3.2运行脚本四、设置脚本开机自启动五、某些软件加入启动项后,开机不会自动启动的解决方法 在实际应用中,我们会发现有些程序(进程)在运行的时候可能会挂掉或电脑关机重启了某些进程没有自动启动,需要我们去监控该程序,并在它挂掉的时
- VBScript里msgbox出现中文乱码的解决办法
同一片云彩
运维
法1.notepad打开vbscript文件,如test.vbs,选择另存为,选择编码方式为Unicode后保存即可。unicode:EncodesinUTF-16formatusingthelittle-endianbyteorder.法2.notepad++打开vbscript文件,如test.vbs,选择编码方式为EncodeinUCS-2LittleEndian(UTF-16LE)即可。扩
- 用bat(DOS命令)实现自动网络配置
maozhu_yimi
网络服务器
bat文件创建方法先创建为其它文件(比如a1.txt),然后修改扩展名为.bat。最终得到a1.bat文件“根据用户需要切换网络配置”的工具下面代码根据需求自行修改@echooffrem强制获取管理员权限%1mshtavbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c%~s0::","","runas",1)(
- 利用vbscript进行PDM文件导出excle操作
尧、木子
日常杂项PowerDesigner
文章目录背景描述vbscript脚本代码执行方法背景描述近期在做数据库设计,使用的软件是powerdesigner。当设计完成后,交给领导审阅,意外的发现,领导并没有powerdesigner软件,无法进行查看,于是领导让我转换格式后,再发给他,于是便有了转换pdm文件的操作路程,当然也可以导出为word文档,可能是我不会用,导出后看的内容有点乱,自己都没有看下去的欲望,何况领导呢,于是想这能不能
- vbscript和asp.net的一些整理
金斗潼关
工作vbscriptasp.net
1、前言因为工作中有涉及,因此就把一些常用的代码整理了一下。2、vbscript2.1、dowhile循环Dimrsdowhilenotrs.Eof'rs.eof表示结果集无法获取更多的数据即(EndOfFile),表示结果集遍历结束sManagerIDs=sManagerIDs&rs("PeopleID")&";"rs.moveNextloopres=Split(sManagerIDs,";")
- 判断一段VBScript病毒脚本属于哪个模块
wawa0611
计算机病毒VBScript病毒脚本病毒模块
(哭晕了已经,家人们谁懂啊,刚刚考试居然考了这个我不会判断OMG!!!!五段脚本判断是哪个模块老是分不清攻击和破坏模块)免责声明:本文章仅供了解脚本病毒代码,请勿将其用于非法用途。病毒脚本通常包含以下几个模块:1.攻击模块:用于寻找并攻击目标系统中的漏洞或弱点。2.感染模块:用于将病毒代码复制到其他文件或程序中,实现病毒的传播。3.主控模块:用于控制病毒的行为,包括触发条件、传播方式、破坏行为等。
- powershell脚本 判断NLB是否已安装
三希
前端javascriptui
bat脚本:456.bat@REMREM解决下载的时候字符乱码的问题chcp65001@echooff@REM管理员运行powershell脚本PUSHD%~DP0&cd/d"%~dp0"%1%2mshtavbscript:createobject("shell.application").shellexecute("%~s0","goto:runas","","runas",1)(window.
- xss介绍
小面包_
详情介绍:XSS攻击通常指的是通过利用网页开发时留下的漏洞,通过巧妙的方法注入恶意指令代码到网页,使用户加载并执行攻击者恶意制造的网页程序。这些恶意网页程序通常是JavaScript,但实际上也可以包括Java、VBScript、ActiveX、Flash或者甚至是普通的HTML。攻击成功后,攻击者可能得到包括但不限于更高的权限(如执行一些操作)、私密网页内容、会话和cookie等各种内容。简述:
- 2018-07-22 VBScript
b099e4f1c471
VBScript(VisualBasicScript):Windows脚本语言默认asp语言,还可用在Windows脚本编程和网页编程中语法类似VB,但不使用VB运行库,由Windows操作系统解释运行功能较强大,易学易用安全性较差不支持继承、多态等特性,也不支持多线程基本语法说明image.png保留字image.png数据类型image.pngVariant子类型image.pngVarian
- CVE-2018-8174漏洞复现
网络安全(阿逸)
#漏洞复现安全linuxwindows
漏洞介绍“CVE-2018-8174这个漏洞是针对IE浏览器的一个远程代码执行漏洞,是WindowsVBScriptEngine代码执行漏洞,由于VBScript脚本执行引擎(vbscript.dll)存在代码执行漏洞,攻击者可以将恶意的VBScript嵌入到office文件或者网站中,一旦用户不小心点击,远程攻击者可以获取当前用户权限执行脚本中的恶意代码。复现环境windows7kali漏洞复现
- 如何处理预防XSS漏洞攻击问题
德迅云安全杨德俊
xss网络前端
XSS,全称跨站脚本攻击(Cross-SiteScripting),是一种常见的网络安全漏洞,通过利用网页开发时留下的漏洞,注入恶意指令代码到网页,使用户加载并执行攻击者恶意制造的网页程序。这些恶意网页程序通常是JavaScript,但实际上也可以包括Java、VBScript、ActiveX、Flash或者甚至是普通的HTML。攻击者利用这种漏洞向网页中插入恶意脚本代码,当用户访问包含恶意脚本的
- 2018-07-22 VBScript变量
b099e4f1c471
VBScript变量image.png变量的作用域image.pngVBScript常量image.pngVBScript运算符image.pngVBScript选择结构image.pngVBScript选择结构image.pngVBScript过程image.pngimage.png
- C/C++Win32编程基础详解视频下载
择善Zach
编程C++Win32
课题视频:C/C++Win32编程基础详解
视频知识:win32窗口的创建
windows事件机制
主讲:择善Uncle老师
学习交流群:386620625
验证码:625
--
- Guava Cache使用笔记
bylijinnan
javaguavacache
1.Guava Cache的get/getIfPresent方法当参数为null时会抛空指针异常
我刚开始使用时还以为Guava Cache跟HashMap一样,get(null)返回null。
实际上Guava整体设计思想就是拒绝null的,很多地方都会执行com.google.common.base.Preconditions.checkNotNull的检查。
2.Guava
- 解决ora-01652无法通过128(在temp表空间中)
0624chenhong
oracle
解决ora-01652无法通过128(在temp表空间中)扩展temp段的过程
一个sql语句后,大约花了10分钟,好不容易有一个结果,但是报了一个ora-01652错误,查阅了oracle的错误代码说明:意思是指temp表空间无法自动扩展temp段。这种问题一般有两种原因:一是临时表空间空间太小,二是不能自动扩展。
分析过程:
既然是temp表空间有问题,那当
- Struct在jsp标签
不懂事的小屁孩
struct
非UI标签介绍:
控制类标签:
1:程序流程控制标签 if elseif else
<s:if test="isUsed">
<span class="label label-success">True</span>
</
- 按对象属性排序
换个号韩国红果果
JavaScript对象排序
利用JavaScript进行对象排序,根据用户的年龄排序展示
<script>
var bob={
name;bob,
age:30
}
var peter={
name;peter,
age:30
}
var amy={
name;amy,
age:24
}
var mike={
name;mike,
age:29
}
var john={
- 大数据分析让个性化的客户体验不再遥远
蓝儿唯美
数据分析
顾客通过多种渠道制造大量数据,企业则热衷于利用这些信息来实现更为个性化的体验。
分析公司Gartner表示,高级分析会成为客户服务的关键,但是大数据分析的采用目前仅局限于不到一成的企业。 挑战在于企业还在努力适应结构化数据,疲于根据自身的客户关系管理(CRM)系统部署有效的分析框架,以及集成不同的内外部信息源。
然而,面对顾客通过数字技术参与而产生的快速变化的信息,企业需要及时作出反应。要想实
- java笔记4
a-john
java
操作符
1,使用java操作符
操作符接受一个或多个参数,并生成一个新值。参数的形式与普通的方法调用不用,但是效果是相同的。加号和一元的正号(+)、减号和一元的负号(-)、乘号(*)、除号(/)以及赋值号(=)的用法与其他编程语言类似。
操作符作用于操作数,生成一个新值。另外,有些操作符可能会改变操作数自身的
- 从裸机编程到嵌入式Linux编程思想的转变------分而治之:驱动和应用程序
aijuans
嵌入式学习
笔者学习嵌入式Linux也有一段时间了,很奇怪的是很多书讲驱动编程方面的知识,也有很多书将ARM9方面的知识,但是从以前51形式的(对寄存器直接操作,初始化芯片的功能模块)编程方法,和思维模式,变换为基于Linux操作系统编程,讲这个思想转变的书几乎没有,让初学者走了很多弯路,撞了很多难墙。
笔者因此写上自己的学习心得,希望能给和我一样转变
- 在springmvc中解决FastJson循环引用的问题
asialee
循环引用fastjson
我们先来看一个例子:
package com.elong.bms;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import co
- ArrayAdapter和SimpleAdapter技术总结
百合不是茶
androidSimpleAdapterArrayAdapter高级组件基础
ArrayAdapter比较简单,但它只能用于显示文字。而SimpleAdapter则有很强的扩展性,可以自定义出各种效果
ArrayAdapter;的数据可以是数组或者是队列
// 获得下拉框对象
AutoCompleteTextView textview = (AutoCompleteTextView) this
- 九封信
bijian1013
人生励志
有时候,莫名的心情不好,不想和任何人说话,只想一个人静静的发呆。有时候,想一个人躲起来脆弱,不愿别人看到自己的伤口。有时候,走过熟悉的街角,看到熟悉的背影,突然想起一个人的脸。有时候,发现自己一夜之间就长大了。 2014,写给人
- Linux下安装MySQL Web 管理工具phpMyAdmin
sunjing
PHPInstallphpMyAdmin
PHP http://php.net/
phpMyAdmin http://www.phpmyadmin.net
Error compiling PHP on CentOS x64
一、安装Apache
请参阅http://billben.iteye.com/admin/blogs/1985244
二、安装依赖包
sudo yum install gd
- 分布式系统理论
bit1129
分布式
FLP
One famous theory in distributed computing, known as FLP after the authors Fischer, Lynch, and Patterson, proved that in a distributed system with asynchronous communication and process crashes,
- ssh2整合(spring+struts2+hibernate)-附源码
白糖_
eclipsespringHibernatemysql项目管理
最近抽空又整理了一套ssh2框架,主要使用的技术如下:
spring做容器,管理了三层(dao,service,actioin)的对象
struts2实现与页面交互(MVC),自己做了一个异常拦截器,能拦截Action层抛出的异常
hibernate与数据库交互
BoneCp数据库连接池,据说比其它数据库连接池快20倍,仅仅是据说
MySql数据库
项目用eclipse
- treetable bug记录
braveCS
table
// 插入子节点删除再插入时不能正常显示。修改:
//不知改后有没有错,先做个备忘
Tree.prototype.removeNode = function(node) {
// Recursively remove all descendants of +node+
this.unloadBranch(node);
// Remove
- 编程之美-电话号码对应英语单词
bylijinnan
java算法编程之美
import java.util.Arrays;
public class NumberToWord {
/**
* 编程之美 电话号码对应英语单词
* 题目:
* 手机上的拨号盘,每个数字都对应一些字母,比如2对应ABC,3对应DEF.........,8对应TUV,9对应WXYZ,
* 要求对一段数字,输出其代表的所有可能的字母组合
- jquery ajax读书笔记
chengxuyuancsdn
jQuery ajax
1、jsp页面
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()
- JWFD工作流拓扑结构解析伪码描述算法
comsci
数据结构算法工作活动J#
对工作流拓扑结构解析感兴趣的朋友可以下载附件,或者下载JWFD的全部代码进行分析
/* 流程图拓扑结构解析伪码描述算法
public java.util.ArrayList DFS(String graphid, String stepid, int j)
- oracle I/O 从属进程
daizj
oracle
I/O 从属进程
I/O从属进程用于为不支持异步I/O的系统或设备模拟异步I/O.例如,磁带设备(相当慢)就不支持异步I/O.通过使用I/O 从属进程,可以让磁带机模仿通常只为磁盘驱动器提供的功能。就好像支持真正的异步I/O 一样,写设备的进程(调用者)会收集大量数据,并交由写入器写出。数据成功地写出时,写入器(此时写入器是I/O 从属进程,而不是操作系统)会通知原来的调用者,调用者则会
- 高级排序:希尔排序
dieslrae
希尔排序
public void shellSort(int[] array){
int limit = 1;
int temp;
int index;
while(limit <= array.length/3){
limit = limit * 3 + 1;
- 初二下学期难记忆单词
dcj3sjt126com
englishword
kitchen 厨房
cupboard 厨柜
salt 盐
sugar 糖
oil 油
fork 叉;餐叉
spoon 匙;调羹
chopsticks 筷子
cabbage 卷心菜;洋白菜
soup 汤
Italian 意大利的
Indian 印度的
workplace 工作场所
even 甚至;更
Italy 意大利
laugh 笑
m
- Go语言使用MySQL数据库进行增删改查
dcj3sjt126com
mysql
目前Internet上流行的网站构架方式是LAMP,其中的M即MySQL, 作为数据库,MySQL以免费、开源、使用方便为优势成为了很多Web开发的后端数据库存储引擎。MySQL驱动Go中支持MySQL的驱动目前比较多,有如下几种,有些是支持database/sql标准,而有些是采用了自己的实现接口,常用的有如下几种:
http://code.google.c...o-mysql-dri
- git命令
shuizhaosi888
git
---------------设置全局用户名:
git config --global user.name "HanShuliang" //设置用户名
git config --global user.email "
[email protected]" //设置邮箱
---------------查看环境配置
git config --li
- qemu-kvm 网络 nat模式 (四)
haoningabc
kvmqemu
qemu-ifup-NAT
#!/bin/bash
BRIDGE=virbr0
NETWORK=192.168.122.0
GATEWAY=192.168.122.1
NETMASK=255.255.255.0
DHCPRANGE=192.168.122.2,192.168.122.254
TFTPROOT=
BOOTP=
function check_bridge()
- 不要让未来的你,讨厌现在的自己
jingjing0907
生活 奋斗 工作 梦想
故事one
23岁,他大学毕业,放弃了父母安排的稳定工作,独闯京城,在家小公司混个小职位,工作还算顺手,月薪三千,混了混,混走了一年的光阴。 24岁,有了女朋友,从二环12人的集体宿舍搬到香山民居,一间平房,二人世界,爱爱爱。偶然约三朋四友,打扑克搓麻将,日子快乐似神仙; 25岁,出了几次差,调了两次岗,薪水涨了不过百,生猛狂飙的物价让现实血淋淋,无力为心爱银儿购件大牌
- 枚举类型详解
一路欢笑一路走
enum枚举详解enumsetenumMap
枚举类型详解
一.Enum详解
1.1枚举类型的介绍
JDK1.5加入了一个全新的类型的”类”—枚举类型,为此JDK1.5引入了一个新的关键字enum,我们可以这样定义一个枚举类型。
Demo:一个最简单的枚举类
public enum ColorType {
RED
- 第11章 动画效果(上)
onestopweb
动画
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/
- Eclipse中jsp、js文件编辑时,卡死现象解决汇总
ljf_home
eclipsejsp卡死js卡死
使用Eclipse编辑jsp、js文件时,经常出现卡死现象,在网上百度了N次,经过N次优化调整后,卡死现象逐步好转,具体那个方法起到作用,不太好讲。将所有用过的方法罗列如下:
1、取消验证
windows–>perferences–>validation
把 除了manual 下面的全部点掉,build下只留 classpath dependency Valida
- MySQL编程中的6个重要的实用技巧
tomcat_oracle
mysql
每一行命令都是用分号(;)作为结束
对于MySQL,第一件你必须牢记的是它的每一行命令都是用分号(;)作为结束的,但当一行MySQL被插入在PHP代码中时,最好把后面的分号省略掉,例如:
mysql_query("INSERT INTO tablename(first_name,last_name)VALUES('$first_name',$last_name')");
- zoj 3820 Building Fire Stations(二分+bfs)
阿尔萨斯
Build
题目链接:zoj 3820 Building Fire Stations
题目大意:给定一棵树,选取两个建立加油站,问说所有点距离加油站距离的最大值的最小值是多少,并且任意输出一种建立加油站的方式。
解题思路:二分距离判断,判断函数的复杂度是o(n),这样的复杂度应该是o(nlogn),即使常数系数偏大,但是居然跑了4.5s,也是醉了。 判断函数里面做了3次bfs,但是每次bfs节点最多