码迷,mamicode.com
首页 >  
搜索关键字:utils    ( 4021个结果
python项目_添加异常处理
新建utils/exceptions.py from rest_framework.views import exception_handler from django.db import DatabaseError from rest_framework.response import Respo ...
分类:编程语言   时间:2020-06-20 11:11:43    阅读次数:75
制作jffs2.img文件系统,打包下载flash系统镜像
1、根文件系统rootfs制作jffs2.img镜像 Flash支持jffs2文件系统格式,所以需要使用此该rootfs制作jffs2文件系统镜像。 //使用工具 sudo apt-get install mtd-utils 操作步骤 mkdir rootfs //创建目录 sudo tar xzv ...
分类:其他好文   时间:2020-06-20 11:06:46    阅读次数:87
MyBatis【七】缓存
十三、缓存 13.1 简介 每次查询都要连接数据库,这样的操作非常耗费资源,如果将一次查询的结果暂存在一个可以直接取到的地方【内存,即缓存】,当我们再次查询相同的数据时,就可以直接走缓存,不用再访问数据库。 什么是缓存 [ Cache ]? 存在内存中的临时数据。 将用户经常查询的数据放在缓存(内存 ...
分类:其他好文   时间:2020-06-19 22:49:56    阅读次数:62
NFS文件系统及搭建NFS共享服务
一、什么是文件系统? 文件系统是对一个存储设备上的数据和元数据进行组织的一种机制。文件系统是在一个磁盘(包括光盘、软盘、闪盘及其它存储设备)或分区上组织文件方式方法,常见文件系统如ext2、ext3、ext4、NTFS或fat、fat32等。文件系统格式组织存储文件或数据的方法,目的是易于查询和存取 ...
分类:其他好文   时间:2020-06-19 16:04:56    阅读次数:83
Centos8 上安装 Docker19.03
使用存储库安装 首次安装Docker-ce之前,需要设置Docker存储库。便可以从存储库安装和更新Docker。 设置存储库 1.安装yum-utils软件包(提供yum-config-manager 实用程序)并设置稳定的存储库。 //1.安装yum-utils sudo yum install ...
分类:其他好文   时间:2020-06-19 12:11:03    阅读次数:47
wordpress部署
1.nfs安装部署 master\node上: yum install -y nfs-utils-* systemctl restart rpcbind systemctl restart nfs systemctl enable rpcbind systemctl enable nfs maste ...
分类:其他好文   时间:2020-06-19 11:46:36    阅读次数:57
111
import React, {Component} from 'react'; import {Image, StyleSheet, Text, View} from 'react-native' import Swiper from 'react-native-swiper'; import To ...
分类:其他好文   时间:2020-06-18 22:03:52    阅读次数:103
vue-element-template实战(四)使用mock数据,新增用户管理界面
实现功能包括:用户列表,搜索,新建和编辑。用户数据:用户名,类型,有效期,备注。 一、从vue-element-admin复制文件: vue-admin-template\src\layout\components\Pagination文件夹 vue-admin-template\src\utils ...
分类:其他好文   时间:2020-06-18 01:41:36    阅读次数:66
如何写个死循环,既不独占线程,又不阻塞UI线程?
代码: using System; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using Utils; /** * 如何写个死循环,既不独占 ...
分类:编程语言   时间:2020-06-17 20:37:40    阅读次数:53
江帅帅:精通 Spring Boot 系列 06
Spring Boot 文件的上传下载 说真的,在 Spring Boot 实现文件下载,真的是方便到让我颤抖。Java 中实现文件上传可以用两个组件:CommonMultipartResolver 和 StandardServletMultipartResolver。 Spring Boot 在 ...
分类:编程语言   时间:2020-06-17 20:14:12    阅读次数:52
4021条   上一页 1 ... 24 25 26 27 28 ... 403 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!