On May 10th, CrazySNS has on line , And you will see why 1984 won’t be like "1984."…
收集的XSS Payload ,可以做成字典,到时候批量测试:------------------------------------------------------------------------------------ <script\x20type=);</script> <script\x3Etype=);</script> <script\x0Dtype=);</script> <script\x09type=);</sc…
</script>"><script>prompt(1)</script> </ScRiPt>"><ScRiPt>prompt(1)</ScRiPt> "><img src=x οnerrοr=prompt(1)> "><svg/οnlοad=prompt(1)> "><iframe/src=javascript:prompt…
本文主要记录,过去两百年间,科技发展的时间线 这些内容,是自己在学习电脑发展历史的时候做的, 感兴趣的同学,可以复制到 Excel 里面,按顺序逐一进行学习, 学习和整理的过程确实花了很长时间,但是并非详尽,只能用于学习和了解的辅助, 希望对同样研究,科技发展历史的同学有帮助. 参考阅读里面列出了,制作这个时间线的时候,使用的一些文献, 推荐阅读里面,重点推荐一个博客的系列,名字叫做<硅谷传奇>,作者叫,老钱. 这一系列文章写得非常的好,强烈推荐,研究科技发展历史的同学,一定要去读下. Tec…
出现场景:当点击"分类"再返回"首页"时,发生error退出   BUG描述:Caused by: java.lang.IllegalArgumentException: Binary XML file line #23: Duplicate id 0x7f0d0054, tag null, or parent id 0xffffffff with another fragment for com.example.sxq123.iljmall.FragmentCat…
启动tomcat, 出现, ( 之前都是好好的... ) [lk ] ERROR [08-12 15:10:02] [main] org.springframework.web.context.ContextLoader.initWebApplicationContext(215) | Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean…
我是在java中做的相关测试, 首先粘贴下报错: 读取xml配置文件:xmls\property.xml org.dom4j.DocumentException: Error on line 1 of document : 前言中不允许有内容. Nested exception: 前言中不允许有内容. at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.io.SAXReader.read(SAXReader.java:3…
Eclipse 无法找到 该 断点,原因是编译时,字节码改变了,导致eclipse无法读取对应的行了 1.ANT编译的class Eclipse不认,因为eclipse也会编译class.怎么让它们统一呢,就是在build.xml里的javac标签里加上一句debug="true",一切就OK了. 如:<javac ... debug="true"> 链接:http://blog.csdn.net/liu251/article/details/36391…
同事反馈他在一测试服务器(CentOS Linux release 7.2.1511)上修改了/etc/profile文件后,使用source命令不能生效,让我帮忙看看,结果使用SecureCRT一登录就发现下面错误信息: Last login: Fri Nov 4 00:42:45 2016 from 10.20.34.14   -bash: $'\r': command not found   -bash: $'\r': command not found   -bash: $'\r': c…
Given n points on a 2D plane, find if there is such a line parallel to y-axis that reflect the given set of points. Example 1: Given points = [[1,1],[-1,1]], return true. Example 2: Given points = [[1,1],[-1,-1]], return false. Follow up: Could you d…
How would you print just the 10th line of a file? For example, assume that file.txt has the following content: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 Your script should output the tenth line, which is: Line 10 [show hi…
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 这道题给了我们一堆二维点,然后让我们求最大的共线点的个数,根据初中数学我们知道,两点确定一条直线,而且可以写成y = ax + b的形式,所有共线的点都满足这个公式.所以这些给定点两两之间都可以算一个斜率,每个斜率代表一条直线,对每一条直线,带入所有的点看是否共线并计算个数,这是整体的思路.但是还有…
"Installation failed !" in GUI but not in CLI (/usr/bin/winusb: line 78: 18265 Terminated ) Installation failed ! Exit code: 256 Log: **blank** ----- Install log(when running winusbgui as root) Installation failed ! Exit code: 256 Log: Formattin…
How to build .apk file from command line Created on Wednesday, 29 June 2011 14:32 If you don’t want to install a number of programs for building your Android project, this article is for you. You will need only JDK, the Android SDK platform tools and…
line 先看个例子,这是svg中最简单的线 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <line x1="0" y1="10" x2="0" y2="100" style="stroke:#006600;"/> <…
手贱, 不小心修改了一个地方,后面调试代码的时候,总感觉不对.出现: line not available, 总是到不了源码里面,反复部署了N次还是一样, 非常郁闷,... 搞了一两个小时后,后面醒悟!可能是之前修改一个地方引起的: 果然!…
1.最近使用SVN工具时,Checkout出项目到本地后后,然后将其导入到Intellij idea中开发,在提交svn代码的时候,出现这样的错误:Can't use Subversion command line client: svn     Probably the path to Subversion executable is wrong. Fix it.百度了一个上午,终于找到解决方法.在此感谢火龙战士的博主https://my.oschina.net/zhengweishan/bl…
Android Debug Bridge (adb) is a tool that lets you manage the state of an emulator instance or Android phone. ADB is bundled with Android SDK package that can be downloaded from Android SDK download page. This tool is usefull for communicating with A…
OpenCASCADE Hidden Line Removal eryar@163.com Abstract. To provide the precision required in industrial design, drawings need to offer the possibility of removing lines, which are hidden in a given projection. OpenCASCADE provides two algorithms for…
Change Line Type in OpenCascade eryar@163.com 关键字KeyWords:OpenCascade,Line Aspect, Line Type 在OpenCascade的显示模块中,可以设置线型.消隐方式和离散精度等属性.这些属性都是在AIS_Drawer中设置. AIS_Drawer类就是用来管理显示属性的.可以设置如下显示属性: void  SetLineAspect (const Handle< Prs3d_LineAspect > &a…
Logcat报错:Description    Resource    Path    Location Type Error executing aapt: Return code -1073741819 Client line 1 我在做项目移植的时候,报这个错误,原因是我删除了string.xml文件中的action_settings属性 重新添加一个即可: <string name="action_settings">setting</string>…
06-27 14:29:27.600: E/AndroidRuntime(6936): FATAL EXCEPTION: main 06-27 14:29:27.600: E/AndroidRuntime(6936): android.view.InflateException: Binary XML file line #2: Error inflating class com.example.FileListItem 06-27 14:29:27.600: E/AndroidRuntime(…
JMeter 官网原文: 90% Line - 90% of the samples took no more than this time. The remaining samples at least as long as this. Google翻译:“ 90% 的样品没有超过这个时间,剩余的样品至少只要这个.” 点击详细解释: 90% Line (90 th Percentile) is the value below which 90% of the samples fall. The…
Linux和Windows文本文件的行结束标志不同.在Linux中,文本文件用"/n"表示回车换行,而Windows用"/r/n"表示回车换行.有时候在Windows编写shell脚本时需要注意这个,否则shell脚本会报"No such file or directory"或"command not found line x"之类的错误,如果不知晓前因后果,肯定会被这个折腾得相当郁闷.如下所示test.sh [root@DB…
这个错误也是让我纠结了一天,当时写的项目在安卓虚拟机上运行都很正常,于是当我部署到安卓手机上时,点击登陆按钮跳转到用户主界面的时候直接结束运行返回登陆界面.    当时,我仔细检查了一下自己的代码,并没有发现什么问题,在logcat上显示的报错如下:AndroidRuntime:android.view.InflateException: Binary XML file line #168: Error inflating class(这是其中报错的最主要的一行信息).  于是我在百度上几乎查看…
行尾不一致(inconsistent line endings ) 开发环境 有时候编辑Unity的脚本文件,代码diff之后,或者从svn更新文件之后,Unity中会出现行尾不一致的信息. 我的开发环境如下: visual studio 2015,unity3d 5.x,beyond compare 4,notepad++ 6.x windows 7/10 行尾不一致 当Unity在编译时,如果脚本的行尾不一致,会出现以下提示信息: There are inconsistent line en…
最近在学习PHP 在保存文件的时候报Warning: file_put_contents(data.txt): failed to open stream: Permission denied in /Library/WebServer/Documents/test.php on line 22错误,提示未开启权限 解决办法:在终端输入 sudo chown -R _www:_www 文件路径(例如: sudo chown -R _www:_www /Library/WebServer/Docu…
题目链接 Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 分析:首先要注意的是,输入数组中可能有重复的点.由于两点确定一条直线,一个很直观的解法是计算每两个点形成的直线,然后把相同的直线合并,最后包含点最多的直线上点的个数就是本题的解.我们知道表示一条直线可以用斜率和y截距两个浮点数(垂直于x轴的直线斜率为无穷大,截距用x截距),同时还需要保存每…
来源于:https://developers.google.com/web/tools/chrome-devtools/console/command-line-reference The Command Line API contains a collection of convenience functions for performing common tasks: selecting and inspecting DOM elements, displaying data in read…
可参考上篇文章  链接 PHP数组简写模式 同样是PHP版本问题:in_array()函数 第二个参数应该为数组 但是 lnmp下,PHP5.3不报错,wamp下PHP5.5报以下错误: echo "<br>For in_array:"; $arrstr="weibhd1"; if(in_array("weibhd1",$arrstr)) { echo "ok!"; }else{ echo "no!&qu…