在保证windows中cmd能ping通虚拟机地址时: 1、先登录进入到linux中的mysql 2、运行以下两个命令: 1)赋予远程登录的root用户所有权限 grant all privileges on *.* to 'root'@'%' identified by '密码' with gra ...
分类:
数据库 时间:
2020-12-15 12:47:33
阅读次数:
5
1、通过用“点击打开”的方式,这样搜索引擎不会爬取改链接 <a type="submit" onclick="window.open('https://cnblogs.com')"></a> 2、链接加nofollow,告诉搜索引擎不爬取该内容 <a href="https://cnblogs.co ...
分类:
其他好文 时间:
2020-12-15 12:44:32
阅读次数:
3
1. 创建可在 Window 和 Linux 上运行的跨平台桌面应用程序 Electron-Vue 开发环境搭建 Demo 2. 创建 C# gRPC 服务 教程:在 ASP.NET Core 中创建 gRPC 客户端和服务器 3. 更改 C# gRPC 服务使其支持 JavaScript 调用 g ...
var passiveEvent = false; try { var opts = Object.defineProperty({}, 'passive', { get: function () { passiveEvent = true; } }); window.addEventListene ...
分类:
其他好文 时间:
2020-12-14 13:18:20
阅读次数:
2
以下是一篇搜到的关于windows 系统trace的工具链接,算是一个整理记录 说明 Sysinternals 工具集,drmemory,stracent,crashdoctor 都是不错的工具,可以方便windows 程序的分析 参考资料 https://stackoverflow.com/que ...
问题背景:windows 命令窗输入 adb devices -l 或者 adb devices 报error:protocol fault或error:device not found手机驱动有问题 解决方案一: windows:任务管理器, 看到adb的进程, 关闭掉, 然后重新启动 adb s ...
分类:
移动开发 时间:
2020-12-11 11:59:50
阅读次数:
6
关于 js 中 js 指向的问题 本文章通过代码的运行来描述 this 的具体指向: 默认绑定 场景一: console.log('普通情况', this) // window 在普通状态下, this 指向的是全局变量 window 场景二: function foo() { console.lo ...
分类:
Web程序 时间:
2020-12-11 11:46:59
阅读次数:
12
python环境依赖 pip install PyExecJS pip install lxml pip install beautifulsoup4 pip install requests nodejs环境依赖 全局安装命令 npm install jsdom -g 或者 yarn add js ...
分类:
编程语言 时间:
2020-12-10 11:27:03
阅读次数:
7
输出: 使用 window.alert() 弹出警告框。 window.alert("警告框输出的内容"); 使用 document.write() 方法将内容写到 HTML 文档中。document.write("页面输出的内容"); 使用 innerHTML 写入到 HTML 元素。 docum ...
分类:
编程语言 时间:
2020-12-10 11:26:46
阅读次数:
6
Location对象 Location对象表示其链接到的对象的位置URL,所做的修改反映在与之相关的对象上。Document和Window对象都有这样一个链接到Location,分别通过document.location和window.location访问。 属性 location.href: 包含 ...
分类:
其他好文 时间:
2020-12-10 11:12:17
阅读次数:
6