码迷,mamicode.com
首页 >  
搜索关键字:basic    ( 4666个结果)
mysql 连接超慢
cd /etc/mysql/mysql.conf.dsudo vi mysqld.cnf加上最后一句skip-name-resolve, 如下:[mysqld]## * Basic Settings#user = mysqlpid-file = /var/run/mysqld/mysqld.pids ...
分类:数据库   时间:2018-06-29 17:56:38    阅读次数:215
Nginx认证
Nginx 的 ngx_http_auth_basic_module模块允许通过使用“HTTP基本认证”协议验证用户名和密码来限制对资源的访问。 配置举例: #生成htpasswd密码文件,并指定账号、密码 [root@localhost conf]# htpasswd -bc /usr/local ...
分类:其他好文   时间:2018-06-29 14:11:52    阅读次数:161
nowcoder basic algorithm chapter 2
划分问题和快排 普通划分 给定一个数组arr, 和一个数num, 请把小于等于num的数放在数组的左边, 大于num的数放在数组的右边。要求额外空间复杂度O(1), 时间复杂度O(N) 想法是这样的,维持一个index,表示在index以及以前的数字都是小于等于num的。 荷兰国旗问题 给定一个数组 ...
分类:其他好文   时间:2018-06-29 14:10:12    阅读次数:165
nowcoder basic algorithm chapter 3
使用固定的数组实现栈和列表 实现栈的思想很简单,固定的数组,然后维持一个在栈顶的index,入栈的时候存入元素 index++,出栈的时候只需要将index--,就可以了。 使用固定的数组实现栈的代码如下: 实现队列的时候,我们维持两个index,一个start,一个end,并且维持一个size表示 ...
分类:其他好文   时间:2018-06-28 17:34:13    阅读次数:173
PL-SQL Developer 配置使用Oracle客户端连接
没有在本地安装Oracle 的用户必须下载一个instantclient(即使客户端), 路径指向这里,才能正常使用 下载 instantclient-basic-nt-11.2.0.3.0.zip 解压为 D:\Oracle\instantclient_11_2 首先打开PLSQL界面弹出登录框这 ...
分类:数据库   时间:2018-06-28 16:01:05    阅读次数:214
Calling Matlab function from python: “initializer must be a rectangular nested sequence”
I am writing a python script from which I hope to call the Matlab anovan function. I have attempted a basic test of this feature on file test.txt. Thi ...
分类:编程语言   时间:2018-06-28 13:50:48    阅读次数:509
C语言学习(27)
1 //用指向指针的指针输出若干字符串 2 #include 3 int main(){ 4 char *name[]={"Basic","Visual Basic","C","Visual C++","Pascal","Delphi"}; 5 char **p; 6 p=name; 7 for(i... ...
分类:编程语言   时间:2018-06-28 12:15:16    阅读次数:175
setMaxActive和setMaxWait方法
在dbcp2中,setMaxActive和setMaxWait这两个方法已经改为其他名称,具体如下: setMaxActive -> setMaxTotal void org.apache.commons.dbcp2.BasicDataSource.setMaxTotal(int maxTotal) ...
分类:其他好文   时间:2018-06-27 18:50:02    阅读次数:484
vscode
常用 General 基础编辑 Basic editing 导航 Navigation 搜索和替换 Search and replace 多光标和选择 Multi-cursor and selection 丰富的语言编辑 Rich languages editing 编辑器管理 Editor man ...
分类:其他好文   时间:2018-06-27 11:31:24    阅读次数:181
kibana增加验证
Kibana从5.5开始不提供认证功能,想用官方的认证X-Pack收费 ... 自己动手吧,用nginx的代理加apache生成的密码认证文件。环境:ubuntu16.04 安装nginxapt-get install nginx 增加kibana的nginx配置文件cat /etc/nginx/s ...
分类:其他好文   时间:2018-06-26 16:12:22    阅读次数:167
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!