获取程序地址或路径 Web地址: JS: var baseUrl = window.location.host;//不带http:// 结果为: localhost:8033 asp.net: string host = HttpContext.Current.Request.Url.Host; s ...
分类:
其他好文 时间:
2021-01-07 12:20:42
阅读次数:
0
1.read_gate_and_protocol read_ddc mapped/ORCA.ddc ;# note this was created during the unmapped flow current_design ORCA link #source -echo -verbose sc ...
分类:
其他好文 时间:
2021-01-07 11:56:13
阅读次数:
0
最近在学习python,按照网上的步骤进行操作 url.py的代码 但是一直报如下的错。 Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/page/ Using the URLconf defin ...
分类:
其他好文 时间:
2021-01-04 11:14:18
阅读次数:
0
android { ...... buildTypes { ...... android.applicationVariants.all { variant -> variant.outputs.all { outputFileName = "name_v${variant.versionName} ...
分类:
其他好文 时间:
2021-01-02 10:49:20
阅读次数:
0
C# 9 新特性 —— 增强的 foreach Intro 在 C# 9 中增强了 foreach 的使用,使得一切对象都有 foreach 的可能 我们来看一段代码,这里我们试图遍历一个 int 类型的值 思考一下,我们可以怎么做使得上面的代码编译通过呢? 迭代器模式 迭代器模式,提供一种方法顺序 ...
gedit自动编译: #!/bin/sh name=$GEDIT_CURRENT_DOCUMENT_NAME dir=$GEDIT_CURRENT_DOCUMENT_DIR pre=${name%.*} g++ $dir/$name -o $pre -std=c++11 -w if test $? ...
分类:
其他好文 时间:
2020-12-31 12:41:14
阅读次数:
0
1.进入进入build.xml存放的路径 cmd 中进入build.xml存放的路径,然后执行ant -buildfile build.xml 2.进入你新建的testcase/report/html ,用浏览器打开html格式的文件,报告就有啦。 3.下面有几种模板提供下载1.Summary&Pa ...
分类:
其他好文 时间:
2020-12-29 12:08:27
阅读次数:
0
https://github.com/remy/nodemon#config-files https://github.com/remy/nodemon/blob/master/doc/sample-nodemon.md { "watch": ["src"], "ext": "html,vue,js ...
分类:
其他好文 时间:
2020-12-29 11:30:58
阅读次数:
0
在用vue-router 做单页应用的时候重复点击一个跳转的路由会出现报错 这个报错是重复路由引起的只需在注册路由组建后使用下方重写路由就可以 解决办法: const originalReplace = Router.prototype.replace; Router.prototype.repla ...
分类:
其他好文 时间:
2020-12-28 11:42:02
阅读次数:
0
删除/永久删除文件 delete /unreserved 恢复删除的文件 undelete 彻底删除回收站中的文件 reset recycle-bin 显示当前配置文件 display current-configuration 显示保存的配置文件 display saved-configurati ...
分类:
其他好文 时间:
2020-12-28 11:28:47
阅读次数:
0