码迷,mamicode.com
首页 >  
搜索关键字:this is most likely a bug    ( 20128个结果
php在代码中开启或关闭错误提示并将错误写入日志
//ini_set('error_reporting', 0); ini_set('error_reporting',E_ALL);//设置报告错误级别 $debug = false; if($debug){ //为true时,将错误显示在浏览器 ini_set("display_errors"," ...
分类:Web程序   时间:2020-07-19 17:43:48    阅读次数:95
ubuntu 安装google 拼音,淘汰sogou拼音;解决乱码输入的问题;
最近在进行开发的时候,发现之前的sogou拼音会出现乱码;就像下面这样:(图片来源自网络) 为了解决,这个问题,网友找到很多方法;但都是临时解决。根本原因应该是软件的bug。安装google输入法,可以绕开上述问题,节约折腾时间; 安装方法: apt-get install fcitx sudo a ...
分类:系统相关   时间:2020-07-19 15:58:37    阅读次数:92
编译goreplay v1.1.0 支持二进制协议捕捉
goreplay v1.1.0 将pro 的代码合并到了社区版本中(使用了不同的许可协议) 以下是修改配置,进行pg 数据协议的捕捉 编译pro 特性的代码 clone 代码 git clone https://github.com/buger/goreplay.git 修改代码支持pro 特性 修 ...
分类:其他好文   时间:2020-07-19 15:55:24    阅读次数:49
什么是单元测试
一、什么是单元测试 单元测试是用来对一个模块、一个函数或者一个类来进行正确性检验的测试工作。如果测试通过则说明我们这个函数或功能能够正常工作,如果失败要么测试用例不正确,要么函数有bug需要修复。 二、如何使用单元测试 from django.test import TestCase from ap ...
分类:其他好文   时间:2020-07-19 11:51:22    阅读次数:121
1060. Missing Element in Sorted Array
package LeetCode_1060 /** * 1060. Missing Element in Sorted Array * (Prime) * Given a sorted array A of unique numbers, find the K-th missing number s ...
分类:其他好文   时间:2020-07-19 00:49:27    阅读次数:93
Python : TypeError: 'int' object is not iterable
用循环依次对list中的每个名字打印出 Hello, xxx! L = ['Bart', 'Lisa', 'Adam']x = len(L) for i in range(x): print('Hello,', L[i]) 此处,若直接使用 for i in x 时,编译报错:TypeError: ...
分类:编程语言   时间:2020-07-18 22:45:27    阅读次数:95
agc041_d Problem Scores
agc041_d Problem Scores https://atcoder.jp/contests/agc041/tasks/agc041_d Tutorial https://img.atcoder.jp/agc041/editorial.pdf 由于$A_i \le A_{i+1}$,所以设 ...
分类:其他好文   时间:2020-07-18 22:13:51    阅读次数:61
History 4 : China and Buddhism
China and Buddhism By far the most important gift that China received from India was neither cotton, nor sugar, nor the knowledge of saltpeter, but a ...
分类:其他好文   时间:2020-07-18 15:35:38    阅读次数:83
解决:Springmvc中视图解析器解析不了html文件(jsp可以)
今日学习Springmvc遇见一个bug,在配置视图解析器的时候,后缀配得是.html,路径完全正确的情况下,视图解析器解析不到。换jsp文件可以正常访问 <bean id="InternalResourceViewResolver" class="org.springframework.web.s ...
分类:编程语言   时间:2020-07-18 15:27:13    阅读次数:98
Codeforces Round #656 (Div. 3) E. Directing Edges
给定一张图,图中给出一些有向边,一些无向边。 要求给所有无向边赋予方向后能够使整张图无环。 已知给定的图中无自环,无重边 解题思路: 若给定的有向边已经成环,那么必然输出NO,否则都可以构造出解。 考虑原图的拓扑排序,根据两点的进队时间,对于某一无向边,只要使边上两点进队时间也满足拓扑序,就可以使得 ...
分类:其他好文   时间:2020-07-18 13:32:35    阅读次数:66
20128条   上一页 1 ... 47 48 49 50 51 ... 2013 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!