上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: 1、检查一下当前工程中,指定文件夹下,是不是有一个文件夹A与和文件B同名。 可能是你想引用文件B 的内容,不小心,又新建了一个同名空文件夹A 参见:https://blog.csdn.net/LMFranK/article/details/101161431 阅读全文
posted @ 2021-12-15 10:39 xunhanliu 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 1、定制文档生成: 参见 fastapi/applycations.py 中的setup. /docs 把所有的路径routes 都包含进去了。参考实现根据tag 实现文档生成。 要先生成docs 需要的openapi_url。(其中get_openapi 是fastapi.openapi.util 阅读全文
posted @ 2021-06-29 16:31 xunhanliu 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1、小文件分隔: https://blog.csdn.net/qq719756146/article/details/88114520 文中: externals: { 'vue': 'Vue', 'vue-router': 'VueRouter', 'element-ui': 'ELEMENT', 阅读全文
posted @ 2021-04-08 20:24 xunhanliu 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 配置示例见: https://github.com/yougov/mongo-connector/blob/557cafd4b54c848cd54ef28a258391a154650cb4/tests/test_config.py 注,网上的大部分配置都坑爹。包括 直接把配置写在命令行(全映射,经常 阅读全文
posted @ 2021-04-07 17:16 xunhanliu 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 单机勿压 1、 查地理位置的经纬度(geocoder) tips: 高德地图api 只能查国内的地址。google 地图使用一段时间会收费。本接口的原理:https://developers-dot-devsite-v2-prod.appspot.com/maps/documentation/uti 阅读全文
posted @ 2021-02-05 16:18 xunhanliu 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1、$attrs (属性透传) 用法见:https://blog.csdn.net/weixin_40509884/article/details/105658377 v-bind="$attrs" 场景:你需要对一些组件进行一些封装(爸爸)。你不知道爷爷要传给孙子哪些遗产,所以你需要把所有的遗产都 阅读全文
posted @ 2021-01-25 11:25 xunhanliu 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 文档见: https://docs.min.io/cn/ 注意:不管使用什么样的部署形式,只要把url 映射好,在web端就能正常访问。 api 部分: 1、连接的时候,必须使用域名,不允许使用域名+path 的形式。在同一个主机上部署多个子服务(mino 是其中一个子服务)并且这些子服务公用一个域 阅读全文
posted @ 2021-01-18 17:01 xunhanliu 阅读(7163) 评论(0) 推荐(1) 编辑
摘要: 指令 含义 示例 注释 %a 当地工作日的缩写。 Sun, Mon, …, Sat (美国); So, Mo, …, Sa (德国) (1) %A 当地工作日的全名。 Sunday, Monday, …, Saturday (美国); Sonntag, Montag, …, Samstag (德国) 阅读全文
posted @ 2020-11-19 15:38 xunhanliu 阅读(638) 评论(0) 推荐(0) 编辑
摘要: 1、参考:Twitter Standard API rate limits 推特标准接口API的请求频率限制说明 2、api 限制参数的说明: 请求rate_limit_status,下面是返回的部分数据: 以/users/为例: limit : 此接口在下次刷新(15min 一次)前的总可用调用次 阅读全文
posted @ 2020-11-18 11:29 xunhanliu 阅读(438) 评论(0) 推荐(0) 编辑
摘要: docker run -itd mongo --auth #内部省略了n个参数配置。 注意:如果不加 --auth 的话,是没有密码的! docker exec ... 进入内部后执行 >>> mongo > db.auth(username, passwd) >db.grantRolesToUse 阅读全文
posted @ 2020-10-20 17:21 xunhanliu 阅读(586) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页