码迷,mamicode.com
首页 > 2018年07月22日 > 全部分享
使用DRF和flask写注册模块差异总结
不接受反驳 本人很菜。写总结只是为了增加经验! 先说说个人flask和django框架的使用感受 用flask写了用户模块第三方扩展自己找包 django则不同了。django真的太大了。。 你如果真的用django去开发一个中小型项目那你感觉真的是杀鸡用牛刀 不过我个人认为用flask写起来舒服很 ...
分类:其他好文   时间:2018-07-22 11:13:07    阅读次数:371
timestamp和datetime
datetime数据类型在MySQL之前占8个字节,5.6之后占5个字节,datetime的范围1000-01-01 00:00:00 9999-12-31 23:59:59,格式采用YYYY-MM-DD HH:MM:SS,timestamp的范围是1970-01-01 00:00:00-2038年 ...
分类:其他好文   时间:2018-07-22 11:12:59    阅读次数:146
递归调用
用递归查找列表元素,则必须为有序列表 从大到小 或者从小到大 ...
分类:其他好文   时间:2018-07-22 11:12:50    阅读次数:153
[LeetCode] 589. N-ary Tree Preorder Traversal_Easy
Given an n-ary tree, return the preorder traversal of its nodes' values. For example, given a 3-ary tree: Return its preorder traversal as: [1,3,5,6,2 ...
分类:其他好文   时间:2018-07-22 11:12:36    阅读次数:156
centos6系统初始化
系统:centos6 作用:配置ip、yum源、ntp、关闭selinux、iptables ...
分类:其他好文   时间:2018-07-22 11:12:26    阅读次数:206
python 字符串格式化
参见官方文档 https://docs.python.org/3/library/string.html Python的字符串格式化有两种方式: 百分号方式、format方式 1、百分号方式 %[(name)][flags][width].[precision]typecode (name) 可选, ...
分类:编程语言   时间:2018-07-22 11:12:02    阅读次数:189
macbook安装homebrew并更换清华源
1、官网brew.sh复制安装脚本。 2、自动安装完成后,更换为清华源来加快速度。网址为:https://mirrors.tuna.tsinghua.edu.cn/help/homebrew 3、更换homebrew 更换homebrew-bottles ...
分类:系统相关   时间:2018-07-22 11:11:55    阅读次数:292
C语言 细胞自动机(生命游戏)
1 #include 2 #include 3 #include 4 5 #define ROWS 60 6 #define COLS 60 7 8 int board[ROWS][COLS]; 9 int temp[ROWS][COLS]; 10 11 int system(const char ... ...
分类:编程语言   时间:2018-07-22 11:11:39    阅读次数:269
使用 API-Blueprint 编写 API 文档
使用 API-Blueprint 编写 API 文档 API-Blueprint 官网: https://apiblueprint.org/tools.html#mock servers 参考文档: https://www.jianshu.com/p/d39c3553e25a https://seg ...
分类:Windows程序   时间:2018-07-22 11:11:30    阅读次数:215
MySQL字符集或字符序
字符集基础 字符集:数据库中的字符集包含两层含义 字符集分类: ASCII:美国信息互换标准编码;英语和其他西欧语言;单字节编码,7位(bits)表示一个字符,共128字符。 GBK:汉字内码扩展规范;中日韩汉字、英文、数字;双字节编码;共收录了21003个汉字,GB2312的扩展。 utf-8:U ...
分类:数据库   时间:2018-07-22 11:11:20    阅读次数:200
操作系统——第一章 操作系统概述
操作系统 一、操作系统概述 (一) 操作系统的概念、特征、功能和提供的服务 (二) 操作系统的发展和分类 (三) 操作系统的运行环境 (四) 操作系统的体系结构 ...
分类:其他好文   时间:2018-07-22 11:11:10    阅读次数:233
1-99求和
sum = 0 count = 1 while count <= 100: sum = sum + count count += 1 print(sum) ...
分类:其他好文   时间:2018-07-22 11:10:47    阅读次数:144
116. Populating Next Right Pointers in Each Node
问题描述: Given a binary tree Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set t ...
分类:其他好文   时间:2018-07-22 11:10:36    阅读次数:151
struts2执行流程核心
...
分类:其他好文   时间:2018-07-22 01:01:31    阅读次数:167
java-通过IO流复制文件夹到指定目录
public class copyDirectoryDemo { public static void main(String[] args) { File srcFolder = new File("C:\\Users\\MA\\Desktop\\IOtest"); File destFolder ...
分类:编程语言   时间:2018-07-22 01:01:21    阅读次数:184
《高性能javascript》pdf
下载地址: "网盘下载" 如果你使用JavaScript构建交互丰富的Web应用,那么JavaScript代码可能是造成你的Web应用速度变慢的主要原因。《高性能JavaScript》揭示的技术和策略能帮助你在开发过程中消除性能瓶颈。你将会了解如何提升各方面的性能,包括代码的加载、运行、DOM交互、 ...
分类:编程语言   时间:2018-07-22 01:01:06    阅读次数:428
1289条   上一页 1 ... 62 63 64 65 66 67 68 ... 76 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!