网站首页 站内搜索

搜索结果

查询Tags标签: use,共有 334条记录
  • Linux - Ansible - use playbook to install mysql

    [19:15:23 root@centos7 ansible]#tree . ├── files │ ├── my.cnf │ └── mysql-8.0.23-linux-glibc2.12-x86_64.tar.xz ├── hosts └── install_mysql8.0-v1.yaml1 directory, 4 files# set mysql configuration file [19:15:27 root@centos7 ansible…

    2021/6/14 19:52:20 人评论 次浏览
  • rvalue reference

    template<class T> void swap(T& a, T& b) // "perfect swap" (almost) { T tmp {static_cast<T&&>(a)}; // the initialization may write to a a = static_cast<T&&>(b); // the assignment may write to b b = st…

    2021/6/14 18:22:21 人评论 次浏览
  • 最短母串

    E. 最短母串内存限制:512 MiB 时间限制:1000 ms 标准输入输出 题目类型:传统 评测方式:文本比较 题目描述原题来自:HNOI 2006 给定n个字符串 ,要求找到一个最短的字符串s ,使得这 n个字符串都是s的子串。输入格式第一行是一个正整数n,表示给定的字符串…

    2021/6/13 10:22:49 人评论 次浏览
  • MongoDB常用运维命令

    # 查看Mongodb版本信息mongos> db.version()# 关闭mongodb服务mongos> use adminmongos> shutdownServer()# 查看当前数据库mongos> db# 查看数据库信息mongos> db.stats()# 查看表信息mongos> db.表名,stats()# 查看所有用户及权限mongos> use admi…

    2021/6/11 2:23:45 人评论 次浏览
  • 操作系统 第四次实验 CPU调度算法模拟实验

    目标: • 1. 复习CPU调度的四种基本调度算法 • 2.复习平均等待时间以及平均周转时间 • 3. 通过编程模拟CPU调度的过程,深化对CPU的四种基本调度算法的理解 基本调度算法 • FCFS(先进先出算法) • SJF(短作业优先算法) • 优先级调度算法 • RR(时间片轮转调度算法) 等…

    2021/6/10 20:23:07 人评论 次浏览
  • express框架上--node.js(十二)

    express框架上–node.js(十二)小言 Express是一个简洁、灵活的 node.js Web 应用开发框架, 它提供一系列强大的特性,帮助开发者创建各种 Web 和移动设备应用。 概述 它是一个基于 Node.js 平台,快速、开放、极简的 web 开发框架。优点是易上手、高性能、扩展性强 1、易…

    2021/6/10 12:24:45 人评论 次浏览
  • 解决:错误: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is:

    错误: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 今天在启动tomcat时,出现了这个错误。错误描述解决 通过查看,是1099端口被占用了 netstat -aon|findstr 1099:查看被那个进程占用 taskkill -f -pid 5676:…

    2021/6/9 12:24:15 人评论 次浏览
  • Oracle OCP 19c 认证1Z0-083考试(第23题)

    Examine this output: Which two are true? (Choose two.) A. Any PDB not specified in the plan will be unable to execute statements in parallel.B. PDB3 can use all available parallel execution processes at times.C. PDB1 is always limited to 40% of the a…

    2021/6/6 19:21:07 人评论 次浏览
  • hook框架-frida简单使用模板以及frida相关接口

    一目录结构 ├── test.py #py脚本 └── test.js #js脚本一.py脚本 test.py import frida import sys #连接设备app dev=frida.get_usb_device() # get_usb_device获取设备 PACKAGE = cn.soulapp.android # 包名 process = dev.attach(PACKAGE) # 获取给定包名的…

    2021/6/4 18:21:19 人评论 次浏览
  • python测试开发django-18.admin后台中文版

    前言 django的admin后台页面默认是英文的,不喜欢英文的话,可以改下setting.py里面的语言设置,改成中文版的显示 语言设置 打开setting.py,找到以下内容 # Internationalization # https://docs.djangoproject.com/en/2.1/topics/i18n/LANGUAGE_CODE = en-us TIME_ZO…

    2021/6/2 22:23:24 人评论 次浏览
  • ThinkPHP 全局异常处理

    wqy的笔记:http://www.upwqy.com/details/273.html 在thinkphp6 和 thinkphp5 全局异常处理 稍有不同ThinkPHP6在 tp6 中 框架已经给出了 应用异常处理类 ExceptionHandle 但是默认的异常处理 抛出的不是json格式的结构,不是我们想要的,所以要处理一下 看以下代码 在 r…

    2021/6/2 12:22:31 人评论 次浏览
  • What is “with (nolock)” in SQL Server?

    What is “with (nolock)” in SQL Server?Can someone explain the implications of using with (nolock) on queries, when you should/shouldnt use it? For example, if you have a banking application with high transaction rates and a lot of data in certain …

    2021/6/1 19:26:18 人评论 次浏览
  • 卸载模块时出现“ ERROR:Module xxxx(模块名) is in use”

    网上方案 转载请注明出处:http://blog.csdn.net/fly_tan/article/details/77679476 方法:编写一个force_rmmod模块,插入此模块就解决问题,在force_rmmod里面需要编写无法卸载的模块的__this_module 的地址。地址可通过cat/proc/kallsyms |grep module语句找到相关内容…

    2021/6/1 10:25:26 人评论 次浏览
  • Tutorials-reference

    https://hyperledger-fabric.readthedocs.io/en/latest/tutorials.html Tutorials(教程) ​ Application developers can use the Fabric tutorials to get started building their own solutions.Start working with Fabric by deploying the test network on your local…

    2021/5/30 18:51:06 人评论 次浏览
  • 解决Nginx启动报nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

    执行命令 openresty -p /opt/app/collect-app/ 启动openresty 出现以下错误:错误原因:出现这种情况一般是80端口被占用了 解决办法: 法一:sudo fuser -k 80/tcp -- 执行此命令,将进程杀死后,启动nginx即可法二:ps -ef | grep openresty --执行此命令,将之进程杀…

    2021/5/25 7:27:08 人评论 次浏览
扫一扫关注最新编程教程