码迷,mamicode.com
首页 > 2018年09月06日 > 全部分享
vm安装与运维
![](http://i2.51cto.com/images/blog/201809/05/5e3350ade25cc41c44a390b6479c0633.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3po
分类:其他好文   时间:2018-09-06 10:51:16    阅读次数:157
Elasticsearch 学习之配置文件详解
引用: http://blog.csdn.net/zxf_668899/article/details/54582849 ...
分类:其他好文   时间:2018-09-06 10:51:07    阅读次数:140
VM虚拟机下载与安装
新手
分类:其他好文   时间:2018-09-06 10:51:00    阅读次数:262
e742. 加入标签的可拖动能力
This example demonstrates how to modify a label component so that its text can be dragged and dropped to another component. ...
分类:其他好文   时间:2018-09-06 10:50:41    阅读次数:179
e617. Determining the Opposite Component of a Focus Event
The opposite component is the other component affected in a focus event. Specifically, in a focus-lost event, the opposite component is the one gainin ...
分类:其他好文   时间:2018-09-06 10:50:34    阅读次数:157
e741. 将标签的焦点置于关联的文本框上面
This example associates a label with a text field using setLabelFor(). A mnemonic is set on the label. When the mnemonic keystroke is pressed, the tex ...
分类:其他好文   时间:2018-09-06 10:50:20    阅读次数:139
lintcode104 - Merge K Sorted Lists -medium
Merge k sorted linked lists and return it as one sorted list.Analyze and describe its complexity.ExampleGiven lists:[ 2->4->null, null, -1->null],retu ...
分类:其他好文   时间:2018-09-06 10:50:04    阅读次数:178
Python链接Mssql之Python库pymssql
连接数据库 pymssql连接数据库的方式和使用sqlite的方式基本相同: 使用connect创建连接对象 connect.cursor创建游标对象,SQL语句的执行基本都在游标上进行 cursor.executeXXX方法执行SQL语句,cursor.fetchXXX获取查询结果等 调用clos ...
分类:数据库   时间:2018-09-06 10:49:55    阅读次数:339
mysql树形模式
级联复制模式 由于在主从复制模式中主数据库的连接数是有限的,按照通用准则,在主服务器接近满载时,不应该为其建立10个以上的从库。一个好的方式是在主库与从库之间设置多个分发主库,移除主库的负载压力。分发主库的作用就是为从库提供主库的二进制日志。 我在配置主从服务器时,使用了两台服务器:10.19.34 ...
分类:数据库   时间:2018-09-06 03:06:45    阅读次数:256
mysql中的utf8mb4、utf8mb4_unicode_ci、utf8mb4_general_ci
1.utf8与utf8mb4(utf8 most bytes 4) MySQL 5.5.3之后增加了utfmb4字符编码 支持BMP(Basic Multilingual Plane,基本多文种平面)和补充字符 最多使用四个字节存储字符 utf8mb4是utf8的超集并完全兼容utf8,能够用四个字 ...
分类:数据库   时间:2018-09-06 03:06:35    阅读次数:229
JDBCUtil
1 package com.itheima.uitl; 2 3 import java.io.FileInputStream; 4 import java.io.InputStream; 5 import java.sql.Connection; 6 import java.sql.DriverMa ...
分类:数据库   时间:2018-09-06 03:06:25    阅读次数:189
C# 测试代码#if DEBUG使用
C# 测试代码#if DEBUG使用 代码示例: #if DEBUG Console.WriteLine("DEBUG:11111111111"); #else Console.WriteLine("Release:222222222222"); #endif 代码示例: #if DEBUG Con ...
分类:Windows程序   时间:2018-09-06 03:06:16    阅读次数:194
hdu 1667 The Rotation Game ( IDA* )
题目大意: 给你一个“井”子状的board,对称的由24个方块组成,每个方块上有123三个数字中的一个。给你初始状态,共有八种变换方式,求字典序最小的最短的的变换路径使得,board中间的八个方块上数字相同。(建议看下题目中的图就懂啦)。 IDA*搜索。 我是干脆用结构体保存搜索状态(当然这样很占空 ...
分类:其他好文   时间:2018-09-06 03:06:07    阅读次数:135
列表练习
1.创建一个henan的空列表,添加zhengzhou,kaifeng,shangqiu,jiaozuo,xinyang元素; 2.在kaifeng元素前面插入一个luoyang元素; 3.把元素xinyang改成中文信阳; 4.在元素jiaozuo后面插入一个子列表[hebi,xuchang]; ...
分类:其他好文   时间:2018-09-06 03:05:44    阅读次数:119
1911: [Apio2010]特别行动队
Description Input Output Sample Input 4 -1 10 -20 2 2 3 4 Sample Output 9 HINT 似乎逐渐掌握了斜率优化的规律,,, 1 #include<iostream> 2 #include<cstdio> 3 using names ...
分类:Windows程序   时间:2018-09-06 03:05:24    阅读次数:206
B1060 [ZJOI2007]时态同步 dfs
两遍dfs,第一遍有点像找重链,第二遍维护答案,每个点维护一个当前深度,然后就没啥了。 ps:memset(lst,-1,sizeof(lst));这一句多余的话让我debug半天。。。 题干: 代码: ...
分类:其他好文   时间:2018-09-06 03:05:15    阅读次数:194
python_logging模块
软件开发中通过日志记录程序的运行情况是一个开发的好习惯,对于错误排查和系统运维都有很大帮助。 Python标准库自带日志模块,程序的日志功能直接调用标准库的日志模块即可通过日志,开发者可以清楚地了解发生了哪些事件,包括出现了哪些错误。 logging.level(message) >> 创建一条le ...
分类:编程语言   时间:2018-09-06 03:05:09    阅读次数:224
1319条   上一页 1 ... 56 57 58 59 60 61 62 ... 78 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!