因mysql从库报错Last_IO_Error: Got a packet bigger than 'max_allowed_packet' bytes mysql> show slave status\G; *************************** 1. row ********** ...
分类:
数据库 时间:
2017-08-03 17:40:30
阅读次数:
231
UI组件 weui-wxss ★852 - 同微信原生视觉体验一致的基础样式库 Wa-UI ★122 - 针对微信小程序整合的一套UI库 wx-charts ★105 - 微信小程序图表工具 wemark ★85 - 微信小程序Markdown渲染库 WeZRender ★36 - 微信小程序Can ...
分类:
微信 时间:
2017-08-03 14:55:06
阅读次数:
351
#!/usr/bin/env python# -*- coding:utf-8 -*-# Author:Andy Chenage_of_oldboy = 56count =0while count <3: guess_age = int(raw_input("guess age:")) if gue ...
分类:
其他好文 时间:
2017-07-17 00:34:04
阅读次数:
240
# Booleans & Comparison Operators # True # False # = # == # != # # = # if statements num1 = 100 num2 = 100 if num1 > num2: #this is not true, so it's ... ...
分类:
编程语言 时间:
2017-07-11 00:48:03
阅读次数:
241
For I in range(10) Print(“loop”,i) For 循环 列子1 Age_of_oldboy =56 For I in range(3): Guess_age = int(input(“guess_age:”)) If guess_age ==age_of_oldboy : ...
分类:
其他好文 时间:
2017-07-04 23:22:41
阅读次数:
216
人生苟且了很长时间,需要再继续努力了。 总结了C++的继承方面的关系: 朋友在面试的时候被问过一个问题,说类的继承重要的一点是什么,他没有答到点子上,后来面试官提到的是代码的复用,不用每次都重新写相同的代码,还是有道理的。 类的声明: class TableTennisPlayer{private: ...
分类:
编程语言 时间:
2017-07-03 22:36:25
阅读次数:
199
redis是一个key-value存储系统.和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)、zset(sorted set --有序集合)和hashs(哈希类型).这些数据类型都支持push/pop、add/remove及取 ...
分类:
Web程序 时间:
2017-07-01 21:44:14
阅读次数:
327
MYSQL内存报错Use‘mysqld--thread_stack=#‘tospecifyabiggerstack.今天在使用mysql的过程中,连接数据库始终无法成功最后发现是数据库无法执行增加修改的操作:错误代码Threadstackoverrun:11552bytesusedofa131072bytestack,and128000bytesneeded.Use‘mysqld--thread_stack=#‘t..
分类:
数据库 时间:
2017-06-19 22:12:28
阅读次数:
238
https://leetcode.com/problems/k-diff-pairs-in-an-array/#/description Given an array of integers and an integer k, you need to find the number of uniqu ...
分类:
其他好文 时间:
2017-06-14 22:17:35
阅读次数:
225
Given an unsorted array of integers, find the length of longest increasing subsequence. For example,Given [10, 9, 2, 5, 3, 7, 101, 18],The longest inc ...
分类:
其他好文 时间:
2017-06-08 13:09:04
阅读次数:
205