摘要:
1.常见的时间复杂度(按耗费的时间排序,时间耗费越少效率越高) O(1)<O(logn)<O(n)<O(nlogn)<O(n2)<O(n2logn)<O(n3) 循环减半就是(O(logn)) 2.冒泡排序 3.冒泡排序优化 4.快速排序 阅读全文
摘要:
function deleteData() { var id_list = []; $('#table_body').find(':checkbox').each(function () { if ($(this).prop('checked')) { id_list.push($(this).va 阅读全文
摘要:
/* CSRF配置 */function csrfSafeMethod(method) { // these HTTP methods do not require CSRF protection return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method)); 阅读全文
摘要:
1.将字符串的时间转换为时间戳方法:a = "2013-10-10 23:40:00"将其转换为时间数组import timetimeArray = time.strptime(a, "%Y-%m-%d %H:%M:%S")转换为时间戳:timeStamp = int(time.mktime(tim 阅读全文
摘要:
一、jQuery绑定事件的四种方式:(以click事件举例) 二、jQuery全部知识 http://www.cnblogs.com/wt11/p/6109231.html 阅读全文
摘要:
一、安装nginx 以前的博客我有写,这里就不写了 http://www.cnblogs.com/wt11/p/6420442.html 二、安装mysql 我用的mysql5.7 64位的二进制包,官网下载安装编译好的二进制包,解压直接使用即可 https://dev.mysql.com/get/ 阅读全文
摘要:
BIG3CLIK6F-eyJsaWNlbnNlSWQiOiJCSUczQ0xJSzZGIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNr... 阅读全文
摘要:
1.pcre及nginx安装包下载 wget http://www.pcre.org/ pcre用yum安装即可 http://nginx.org/en/download.html 2.安装 -安装所需依赖 yum install -y openssl openssl-devel gcc* -y - 阅读全文
摘要:
官方文档有句话"allows you to call any program",并且: helps you write shell scripts in Python by giving you the good features of Bash 第一句话助你在Python中轻松调用自己的程序,第二 阅读全文
摘要:
1.models相关操作 2.其他相关文档 阅读全文