随笔 - 1659  文章 - 0  评论 - 100  阅读 - 188万
11 2019 档案
Node.js+Express框架+Mongo学习(一)第一个node.js实例
摘要:1.在桌面新建一个空的文件夹,比如叫node,当然也可以在其它地方新建。2.命令行进入到所新建的文件夹的目录,下载Express框架,再在这个文件夹里新建一个叫final的项目 3.在项目(fi... 阅读全文
posted @ 2019-11-27 23:59 蔡军帅 阅读(120) 评论(0) 推荐(0) 编辑
Node.js+Express框架+Mongo学习(一)第一个node.js实例
摘要:1.在桌面新建一个空的文件夹,比如叫node,当然也可以在其它地方新建。 2.命令行进入到所新建的文件夹的目录,下载Express框架,再在这个文件夹里新建一个叫final的项目 3.在项目(final)的目录里下载该有包 4.在项目的bin目录下node www启动项目 阅读全文
posted @ 2019-11-27 23:59 蔡军帅 阅读(175) 评论(0) 推荐(0) 编辑
python web开发——django学习(二)orm介绍与model检查
摘要:原始是这样连接数据库的: 现在改用django orm(1)先在setting里配置app (2)在modle.py里建modelclass UserMessage(models.Model): o... 阅读全文
posted @ 2019-11-25 16:43 蔡军帅 阅读(101) 评论(0) 推荐(0) 编辑
python web开发——django学习(二)orm介绍与model检查
摘要:原始是这样连接数据库的: 现在改用django orm (1)先在setting里配置app (2)在modle.py里建model class UserMessage(models.Model): object_id = models.CharField(max_length=50, primar 阅读全文
posted @ 2019-11-25 16:43 蔡军帅 阅读(229) 评论(0) 推荐(0) 编辑
python web开发——django学习(二)第一个django网站运行成功
摘要:1.写message_form.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <link rel="stylesheet" href="/static/css/styl 阅读全文
posted @ 2019-11-24 00:25 蔡军帅 阅读(399) 评论(0) 推荐(0) 编辑
python web开发——django学习(二)第一个django网站运行成功
摘要:1.写message_form.html Title 留言信息 请留下你的信息 姓... 阅读全文
posted @ 2019-11-24 00:25 蔡军帅 阅读(165) 评论(0) 推荐(0) 编辑
python web开发——django学习(一)第一个连接mysql数据库django网站运行成功
摘要:1.新建一个项目2.新建一些文件夹方便管理3.新建一个项目叫message 4.连接数据库python web开发Django连接mysql5.在数据库里自动生成django的表 6.运行de... 阅读全文
posted @ 2019-11-24 00:01 蔡军帅 阅读(133) 评论(0) 推荐(0) 编辑
python web开发——django学习(一)第一个连接mysql数据库django网站运行成功
摘要:1.新建一个项目 2.新建一些文件夹方便管理 3.新建一个项目叫message 4.连接数据库 python web开发Django连接mysql 5.在数据库里自动生成django的表 6.运行debug发现运行成功 阅读全文
posted @ 2019-11-24 00:01 蔡军帅 阅读(411) 评论(0) 推荐(0) 编辑
django.db.utils.OperationalError: (1251, 'Client does not support authentication protocol requested by server; consider upgrading MySQL client')
摘要:1.打开MySQL: cmd里 net start mysql mysql -hlocalhost -uroot -p回车 进入mysql数据库 2. 命令如下: 1、use mysql; 2、alter user 'root'@'localhost' identified with mysql_n 阅读全文
posted @ 2019-11-23 23:33 蔡军帅 阅读(506) 评论(0) 推荐(0) 编辑
django.db.utils.OperationalError: (1251, 'Client does not support authentication protocol requested ...
摘要:1.打开MySQL:cmd里 net start mysqlmysql -hlocalhost -uroot -p回车 进入mysql数据库2. 命令如下: 1、use mysql; 2、alte... 阅读全文
posted @ 2019-11-23 23:33 蔡军帅 阅读(127) 评论(0) 推荐(0) 编辑
python web开发Django连接mysql
摘要:需要MYSQL-python,一般情况下直接pip install window系统会报错,所以要去https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml 下载再... 阅读全文
posted @ 2019-11-22 21:36 蔡军帅 阅读(102) 评论(0) 推荐(0) 编辑
python web开发Django连接mysql
摘要:需要MYSQL-python,一般情况下直接pip install window系统会报错,所以要去 https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml 下载再pip安装 阅读全文
posted @ 2019-11-22 21:36 蔡军帅 阅读(760) 评论(0) 推荐(0) 编辑
(转载)中断和异常的再总结
摘要:中断和异常的再总结 原文链接:https://blog.csdn.net/u011240016/article/details/53117093@(OS) 内部异常(内中断) 故障(fault)自陷(trap)终止(abort)是源自CPU执行指令内部的事件。如:非法操作码,地址越界,算术溢出,虚存 阅读全文
posted @ 2019-11-21 15:45 蔡军帅 阅读(1778) 评论(0) 推荐(0) 编辑
()中断和异常的再总结
摘要:中断和异常的再总结原文链接:https://blog.csdn.net/u011240016/article/details/53117093@(OS)内部异常(内中断)故障(fault)自陷(trap)... 阅读全文
posted @ 2019-11-21 15:45 蔡军帅 阅读(744) 评论(0) 推荐(0) 编辑
PAT 甲级 1147 Heaps (30 分) (层序遍历,如何建树,后序输出,还有更简单的方法~)...
摘要:1147 Heaps (30 分) In computer science, a heap is a specialized tree-based data structure that satisfie... 阅读全文
posted @ 2019-11-20 17:20 蔡军帅 阅读(178) 评论(0) 推荐(0) 编辑
PAT 甲级 1147 Heaps (30 分) (层序遍历,如何建树,后序输出,还有更简单的方法~)
摘要:1147 Heaps (30 分) In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, 阅读全文
posted @ 2019-11-20 17:20 蔡军帅 阅读(288) 评论(2) 推荐(0) 编辑
PAT 甲级 1146 Topological Order (25 分)(拓扑较简单,保存入度数和出度的节点即可)
摘要:1146 Topological Order (25 分) This is a problem given in the Graduate Entrance Exam in 2018: Which of the following is NOT a topological order obtaine 阅读全文
posted @ 2019-11-20 17:02 蔡军帅 阅读(278) 评论(0) 推荐(0) 编辑
PAT 甲级 1146 Topological Order (25 分)(拓扑较简单,保存入度数和出度的节点即可)...
摘要:1146 Topological Order (25 分) This is a problem given in the Graduate Entrance Exam in 2018: Which of ... 阅读全文
posted @ 2019-11-20 17:02 蔡军帅 阅读(116) 评论(0) 推荐(0) 编辑
PAT 甲级 1145 Hashing - Average Search Time (25 分)(读不懂题,也没听说过平方探测法解决哈希冲突。。。感觉题目也有点问题)...
摘要:1145 Hashing - Average Search Time (25 分) The task of this problem is simple: insert a sequence of dis... 阅读全文
posted @ 2019-11-20 16:34 蔡军帅 阅读(191) 评论(0) 推荐(0) 编辑
PAT 甲级 1145 Hashing - Average Search Time (25 分)(读不懂题,也没听说过平方探测法解决哈希冲突。。。感觉题目也有点问题)
摘要:1145 Hashing - Average Search Time (25 分) The task of this problem is simple: insert a sequence of distinct positive integers into a hash table first. 阅读全文
posted @ 2019-11-20 16:34 蔡军帅 阅读(487) 评论(0) 推荐(0) 编辑
PAT 甲级 1144 The Missing Number (20 分)(简单,最后一个测试点没过由于开的数组没必要大于N)
摘要:1144 The Missing Number (20 分) Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list. Input Specifica 阅读全文
posted @ 2019-11-20 16:21 蔡军帅 阅读(381) 评论(0) 推荐(0) 编辑
PAT 甲级 1144 The Missing Number (20 分)(简单,最后一个测试点没过由于开的数组没必要大于N)...
摘要:1144 The Missing Number (20 分) Given N integers, you are supposed to find the smallest positive intege... 阅读全文
posted @ 2019-11-20 16:21 蔡军帅 阅读(112) 评论(0) 推荐(0) 编辑
高数 第四讲 多元函数微分学(思维导图)
摘要: 阅读全文
posted @ 2019-11-19 21:36 蔡军帅 阅读(269) 评论(0) 推荐(0) 编辑
高数 第四讲 多元函数微分学(思维导图)
摘要: 阅读全文
posted @ 2019-11-19 21:36 蔡军帅 阅读(4546) 评论(0) 推荐(0) 编辑
PAT 甲级 1074 Reversing Linked List (25 分)(链表部分逆置,结合使用双端队列和栈,其实使用vector更简单呐)
摘要:1074 Reversing Linked List (25 分)Given a constant K and a singly linked list L, yo... 阅读全文
posted @ 2019-11-18 22:32 蔡军帅 阅读(88) 评论(0) 推荐(0) 编辑
PAT 甲级 1074 Reversing Linked List (25 分)(链表部分逆置,结合使用双端队列和栈,其实使用vector更简单呐)
摘要:1074 Reversing Linked List (25 分) Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For e 阅读全文
posted @ 2019-11-18 22:28 蔡军帅 阅读(487) 评论(0) 推荐(0) 编辑
(转载)文献可视化--vosviewer入门
摘要:版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本文链接:https://blog.csdn.net/weixin_42613298/article/details/90084364 VOSviewer是一个用于构建和可视化文献计量网络的软件工 阅读全文
posted @ 2019-11-18 17:34 蔡军帅 阅读(3867) 评论(0) 推荐(0) 编辑
()文献可视化--vosviewer入门
摘要:版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本文链接:https://blog.csdn.net/weixin_42613298/article... 阅读全文
posted @ 2019-11-18 17:34 蔡军帅 阅读(702) 评论(0) 推荐(0) 编辑
给出先序和中序,给一个数找到位置并输出它左子树里最大的数
摘要:题意:给出先序和中序,给一个数,找到这个数在树中的位置并输出它左子树里最大的数,如果这个数不在树中,输出-1样例输入:920 15 10 12 18 16 17 25 3010 12 15 16 17 1... 阅读全文
posted @ 2019-11-17 10:42 蔡军帅 阅读(121) 评论(0) 推荐(0) 编辑
给出先序和中序,给一个数找到位置并输出它左子树里最大的数
摘要:题意: 给出先序和中序,给一个数,找到这个数在树中的位置并输出它左子树里最大的数,如果这个数不在树中,输出-1 样例输入: 9 20 15 10 12 18 16 17 25 3010 12 15 16 17 18 20 25 30 样例输出: 15 代码: #include<iostream> # 阅读全文
posted @ 2019-11-17 10:42 蔡军帅 阅读(155) 评论(0) 推荐(0) 编辑
PAT 甲级 1073 Scientific Notation (20 分) (根据科学计数法写出数)
摘要:1073 Scientific Notation (20 分) Scientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation ma 阅读全文
posted @ 2019-11-13 23:28 蔡军帅 阅读(426) 评论(0) 推荐(0) 编辑
PAT 甲级 1073 Scientific Notation (20 分) (根据科学计数法写出数)
摘要:1073 Scientific Notation (20 分) Scientific notation is the way that scientists easily handle very larg... 阅读全文
posted @ 2019-11-13 23:28 蔡军帅 阅读(130) 评论(0) 推荐(0) 编辑
python flask框架学习(三)——豆瓣微信小程序案例(二)整理封装block,模板的继承...
摘要:我们所要实现的效果:点击电影的更多,跳转到更多的电影页面;点击电视剧的更多,跳转到更多的电视剧页面。 三个页面的风格相同,可以设置一个模板,三个页面都继承这个模板1.在指定模板之前,把css放在一个文件里... 阅读全文
posted @ 2019-11-12 21:08 蔡军帅 阅读(222) 评论(0) 推荐(0) 编辑
python flask框架学习(三)——豆瓣微信小程序案例(二)整理封装block,模板的继承
摘要:我们所要实现的效果: 点击电影的更多,跳转到更多的电影页面;点击电视剧的更多,跳转到更多的电视剧页面。 三个页面的风格相同,可以设置一个模板,三个页面都继承这个模板 1.在指定模板之前,把css放在一个文件里 base.css 针对整个大框架的 /*清理网页内部自己的css*/ *{ margin: 阅读全文
posted @ 2019-11-12 21:08 蔡军帅 阅读(407) 评论(0) 推荐(0) 编辑
第一章 概述
摘要:(图片均来自中国大学mooc王道os课程) 一、框架 1.概述 2.进程管理 3.内存管理 4.文件管理 5.输入输出(I/O)管理 二、基本概念 操作系统是指控制和管理整个计算机系统的硬件和软件资源,并合理地组织调度计算机的工作和资源地分配;以提供给用户和其他软件方便地接口和环境;它是计算机系统中 阅读全文
posted @ 2019-11-11 23:00 蔡军帅 阅读(292) 评论(0) 推荐(0) 编辑
第一章 概述
摘要:(图片均来自中国大学mooc王道os课程)一、框架 1.概述 2.进程管理 3.内存管理 4.文件管理 5.输入输出(I/O)管理 二、基本概念 操作系统是指控制和管理整个计算机系统的硬件和软... 阅读全文
posted @ 2019-11-11 23:00 蔡军帅 阅读(172) 评论(0) 推荐(0) 编辑
python flask框架学习(三)——豆瓣微信小程序案例
摘要:目录​一、templates的使用(1)在templates里创建一个index.html(2)再在app.py里写(3)展示效果二、构建第一个电影评分(1)准备好素材放进static里的images里(2)写h... 阅读全文
posted @ 2019-11-10 23:59 蔡军帅 阅读(399) 评论(0) 推荐(0) 编辑
python flask框架学习(三)——豆瓣微信小程序案例(一)templates的使用,宏的使用,前端后台传数据,前端写python语句
摘要:目录 一、templates的使用 (1)在templates里创建一个index.html (2)再在app.py里写 (3)展示效果 二、构建第一个电影评分 (1)准备好素材放进static里的images里 (2)写html和css 三、使用宏构建更多电影评分 (1)在html写个宏 (2)主 阅读全文
posted @ 2019-11-10 23:59 蔡军帅 阅读(654) 评论(0) 推荐(0) 编辑
python flask框架学习——开启debug模式
摘要:学习自:知了课堂Python Flask框架——全栈开发 1.flask的几种debug模式的方法 # 1.app.run 传参debug=true app.run(debug=True) #2 设置app的配置 app = Flask(__name__) app.config['DEBUG'] = 阅读全文
posted @ 2019-11-10 23:32 蔡军帅 阅读(13081) 评论(2) 推荐(1) 编辑
python flask框架学习——开启debug模式
摘要:学习自:知了课堂Python Flask框架——全栈开发 1.flask的几种debug模式的方法# 1.app.run 传参debug=trueapp.run(debug=True)#2 设置app的... 阅读全文
posted @ 2019-11-10 23:32 蔡军帅 阅读(240) 评论(0) 推荐(0) 编辑
PAT 甲级 1072 Gas Station (30 分)(dijstra)
摘要:1072 Gas Station (30 分) A gas station has to be built at such a location that the minimum distance bet... 阅读全文
posted @ 2019-11-10 17:29 蔡军帅 阅读(102) 评论(0) 推荐(0) 编辑
PAT 甲级 1072 Gas Station (30 分)(dijstra)
摘要:1072 Gas Station (30 分) A gas station has to be built at such a location that the minimum distance between the station and any of the residential hous 阅读全文
posted @ 2019-11-10 17:29 蔡军帅 阅读(427) 评论(0) 推荐(0) 编辑
python flask框架学习(二)——第一个flask程序
摘要:第一个flask程序 学习自:知了课堂Python Flask框架——全栈开发 1.用pycharm新建一个flask项目 2.运行程序 from flask import Flask # 创建一个Flask对象,传递__name__参数进去 app = Flask(__name__) # @app 阅读全文
posted @ 2019-11-10 11:20 蔡军帅 阅读(291) 评论(0) 推荐(0) 编辑
python flask框架学习(二)——第一个flask程序
摘要:第一个flask程序学习自:知了课堂Python Flask框架——全栈开发1.用pycharm新建一个flask项目 2.运行程序 from flask import Fl... 阅读全文
posted @ 2019-11-10 11:20 蔡军帅 阅读(124) 评论(0) 推荐(0) 编辑
python flask框架学习(一)——准备工作和环境配置与安装
摘要:Flask装备:学习自:知了课堂Python Flask框架——全栈开发1.Python版本:3.62.Pycharm软件: 3.安装虚拟环境:(1)安装virtualenv:pip install vi... 阅读全文
posted @ 2019-11-10 10:40 蔡军帅 阅读(147) 评论(0) 推荐(0) 编辑
python flask框架学习(一)——准备工作和环境配置与安装
摘要:Flask装备: 学习自:知了课堂Python Flask框架——全栈开发 1.Python版本:3.6 2.Pycharm软件: 3.安装虚拟环境: (1)安装virtualenv: pip install virtualenv (2)安装virtualenvwrapper: windows: p 阅读全文
posted @ 2019-11-10 10:40 蔡军帅 阅读(633) 评论(0) 推荐(0) 编辑
PAT 甲级 1071 Speech Patterns (25 分)(map)
摘要:1071 Speech Patterns (25 分) People often have a preference among synonyms of the same word. For example, some may prefer "the police", while others ma 阅读全文
posted @ 2019-11-06 18:54 蔡军帅 阅读(270) 评论(0) 推荐(0) 编辑
PAT 甲级 1071 Speech Patterns (25 分)(map)
摘要:1071 Speech Patterns (25 分)People often have a preference among syno... 阅读全文
posted @ 2019-11-06 18:51 蔡军帅 阅读(121) 评论(0) 推荐(0) 编辑
第二章 数据的表示和编码(一)——数值与编码
摘要: 阅读全文
posted @ 2019-11-05 16:55 蔡军帅 阅读(148) 评论(0) 推荐(0) 编辑
第二章 数据的表示和编码(一)——数值与编码
摘要: 阅读全文
posted @ 2019-11-05 16:55 蔡军帅 阅读(358) 评论(0) 推荐(0) 编辑
第一章 计算机系统概述
摘要: 阅读全文
posted @ 2019-11-05 16:11 蔡军帅 阅读(130) 评论(0) 推荐(0) 编辑
第一章 计算机系统概述
摘要: 阅读全文
posted @ 2019-11-05 16:11 蔡军帅 阅读(98) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示