`
learnmore
  • 浏览: 588615 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
1.首先在sqlmapconfig.xml中加入 <settings     cacheModelsEnabled="true"     enhancementEnabled="true"         /> 2.在sql.xml中加入 <cacheModel   id="hotwordCache"   readOnly="true" type="LRU" serialize="true"> <!--when the data has chang ...
${bbsThread.content.replaceFirst("我","<a href='${df}'>qqqq</a>")} 这名话老是提示编译错误!问一下,EL表达式不可以嵌套使用吗? 知道答案了,确实不可以嵌套使用!
app.on('ready', function () {     win = new BrowserWindow({         webPreferences: {             nodeIntegration: true,             contextIsolation: false //需要添加这个配置才能生效         }     });     win.loadFile('index.html');     win.on('closed', function() {         win = null     }); })
#nginx地址重写,替换掉url 并且防止url decode方法 location /foo/bar/ {   rewrite ^ $request_uri;               #转发原始url   rewrite ^/foo/bar(/.*) /foo$1 break;  #重定向,去掉url中的/bar后缀   proxy_pass http://localhost$uri;      #代理到新地址,并且转发原始的url,避免url解码   proxy_set_header Host $host;   proxy_set_header X-Real-IP $remote_a ...
https://www.cnblogs.com/cobcmw/p/14882860.html
收到的请求统一为 http://192.168.1.48/foo/api 多个location的时候,前缀匹配优先级要高,如果只配一个后缀优先级没有前缀高 比如 url: /wookpecker/a/b/c      /b/c 前面的优先级大于后面的url 表一 案例 location proxy_pass             ...
如果需要在打出来的jar包中包含本地第三方jar包,需要在web模块(也就是target目录所在的模块)中,加入如下的配置     <build>         <plugins>             <plugin>                 <groupId>org.springframework.boot</groupId>                 <artifactId>spring-boot-maven-plugin</artifactId>                 < ...
springboot打jar包之后,加载配置文件并不是首先加载src/main/resources中的配置文件,而是按以下的优先级进行加载 1. 当前目录下的一个/config子目录 2. 当前目录 3. 一个classpath下的/config包 4. classpath根路径(root) 这个列表是按优先级排序的(列表中位置高的将覆盖位置低的)
1.正向预查 现在,我们假设需要仅匹配 Windows,不匹配后面的版本号,并且要求 Windows 后面的版本号只能是 数字类型,换言之,XP 和 Vista 不能被匹配, 在正则表达式中,可以使用 正向预查 来解决这个问题。本例中,写法是:“ ...
在用centos8安装puppeteer过程中遇到了不少的坑 首先我用的是官网教程,地址如下: https://github.com/puppeteer/puppeteer 按照官网说的把node装上,node版本v6.4.0,执行npm i puppeteer,满怀期待,但情况不是我想象的样子,卡在node index.js动不了,被墙了.. 查资料,原来可以替换成阿里的puppeteer源 npm config set puppeteer_download_host=https://npm.taobao.org/mirrors 替换完,执行npm i puppeteer 飞一般的感觉,按官网 ...

java模拟点击

    博客分类:
  • java
try { Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Robot robot = new Robot(); robot.mouseMove(screenSize.width-10,10); robot.delay(2000); robot.mousePress(InputEvent.BUTTON1_MASK); robot.delay(2000); robot.mouseRelease(Inp ...
1.长按开机键5秒,同时按住home建10秒,松开开机键,这个时候可能会有白屏但是按住Home键不要松,一直到有数据线和一台电脑的图标出现 2.重点来了,我是win7 64位操作系统,虽然出现了数据线和电脑的图标,但是我的ipad在itunes上无法识别,经查看是驱动的问题,安装Applemobiledevicesupport64.msi失败,提示安装失败,apple mobile device support wasn't...,安装过程中可以看到明显的安装回滚动作,如何解决,下面的是网上找的,也只有这个才解决了我的问题,其他都是扯蛋 以64位系统示例,使用winrar打开 iTunes安装 ...

c3p0配置

数据库连接超时,但是连接池不知道,会报错,解决办法: 1.定期使用连接池连接 <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource">      <property name="preferredTestQuery" value="SELECT 1"/>      <property name="idleConnectionTestPeriod" value="1 ...
提示开发速度的插件 Reactjs code snippets React Redux ES6 Snippets Auto Import 关于react jsx中html标签提示问题 在用户设置中添加如下配置 "emmet.includeLanguages": {     "javascript": "javascriptreact" }
在用户设置中添加如下配置 "emmet.includeLanguages": {     "javascript": "javascriptreact" }
Global site tag (gtag.js) - Google Analytics