使用 Redis¶ 安装¶ 对 Redis 的支持需要额外的依赖。你可以用 celery[redis] 捆绑 同时安装 Celery 和这些依赖: $ pip install -U celery[redis] 配置¶ 配置非常简单,只需要设置 Redis 数据库的位置: BROKER_URL = ' ...
分类:
其他好文 时间:
2019-11-28 01:38:25
阅读次数:
224
在网上看到的 觉得还不错的文章,做个记录。 配置文件 app.json的配置(全局) { // 用来配置页面的路径 "pages":[ "pages/index/index", // 首页 "pages/Test/Test" // 跳转的页面 ], "window":{ "enablePullDow ...
分类:
微信 时间:
2019-11-27 16:21:19
阅读次数:
104
默认刘海屏的webview是有安全区域的,加上viewport-fit=cover属性后webview会全屏,全屏后为了适配刘海屏加上安全区域 padding-top: 1rem;//android样式 padding: env(safe-area-inset-top) env(safe-area- ...
分类:
其他好文 时间:
2019-11-25 13:07:04
阅读次数:
77
功能 添加、删除、修改选中的项、上移、下移、清空、保存列表、加载列表、判断内容是否重复、查找、模糊查找、取消选择、上一条、下一条、第一条、最后一条 ...
分类:
其他好文 时间:
2019-11-24 17:42:45
阅读次数:
90
菜单组件 鼠标监听器MouseMotionListener 对于鼠标的移动和拖放,另外用鼠标运动监听器MouseMotionListener。 因为许多程序不需要监听鼠标运动,把两者分开可简化程序。 相应事件和处理方法 鼠标事件 处理方法 MOUSE_MOVED MouseMoved (MouseE ...
分类:
其他好文 时间:
2019-11-23 20:09:40
阅读次数:
75
原文:HTTP状态码 状态码的类别 类别原因短语 1XX Information 接收的请求正在处理 2XX Success 请求正常处理完毕 3XX Redirection 需要进行附加操作以完成请求 4XX Client Error 服务器无法处理请求 5XX Server Error 服务器处... ...
分类:
Web程序 时间:
2019-11-21 14:19:39
阅读次数:
78
// // ViewController.swift // Label // // Created by 赵士军 on 2019/11/18. // Copyright © 2019 赵士军. All rights reserved. // import UIKit class ViewContro ...
分类:
移动开发 时间:
2019-11-18 18:04:56
阅读次数:
112
ArrayList public class ArrayList<E> extends AbstractList<E> implements List<E>, RandomAccess, Cloneable, java.io.Serializable add方法: /** * Appends the ...
分类:
其他好文 时间:
2019-11-16 17:27:13
阅读次数:
55
<?php header('HTTP/1.1 200 OK'); // ok 正常访问 header('HTTP/1.1 404 Not Found'); //通知浏览器 页面不存在 header('HTTP/1.1 301 Moved Permanently'); //设置地址被永久的重定向 30 ...
分类:
Web程序 时间:
2019-11-16 10:56:45
阅读次数:
104
https://marutitech.com/ways-ai-transforming-finance/ As global technology has evolved over the years, we have moved from television to the internet, a ...
分类:
其他好文 时间:
2019-11-12 23:15:51
阅读次数:
247