上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 1218 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents): 1219 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported pl 阅读全文
posted @ 2020-05-11 10:15 琵琶真的行 阅读(3541) 评论(0) 推荐(0) 编辑
摘要: ichat-frontend ichat是一款基于muse-ui和vue.js的移动端聊天应用,融合了单聊和群聊等功能. 前端地址:https://github.com/zhengze/ichat-frontend 后端地址:https://github.com/zhengze/ichat-back 阅读全文
posted @ 2020-05-01 20:21 琵琶真的行 阅读(1486) 评论(0) 推荐(0) 编辑
摘要: import time import logging from functools import wraps import datetime log = logging.getLogger(__name__) def count_time(func): @wraps(func) def _wrapp 阅读全文
posted @ 2020-04-26 13:47 琵琶真的行 阅读(993) 评论(0) 推荐(0) 编辑
摘要: package main import ( "bufio" "io" "os" ) func processBlock(line []byte) { os.Stdout.Write(line) } func ReadBlock(filePth string, bufSize int, hookfn 阅读全文
posted @ 2020-04-14 13:25 琵琶真的行 阅读(3112) 评论(0) 推荐(0) 编辑
摘要: postgresql的copy导入数据相当于insert操作,之前必须执行create table xxx(......) 实际业务中一个文件里会包含字段+数据,但是缺少一步到位的导入工具 推荐一个针对csv\xlsx的批量导入工具:https://github.com/zhengze/file_t 阅读全文
posted @ 2020-04-08 22:08 琵琶真的行 阅读(898) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> using namespace std; class Shape { public: //普通函数前加virtual,普通函数变成了虚函数 // =0表示抽象虚函数,子类必须实现该函数 virtual void printarea()=0; void hell 阅读全文
posted @ 2020-04-03 10:08 琵琶真的行 阅读(778) 评论(0) 推荐(0) 编辑
摘要: python支持多继承 通过__mro__可查找继承列表,他是根据mro算法排列继承顺序 按照 __mro__ 的输出结果 从左至右 的顺序查找可继承方法 来看一个例子 class Base: def __init__(self): print("Base") class Human(Base): 阅读全文
posted @ 2020-03-01 15:40 琵琶真的行 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 1.安装dockerwget -qO- https://get.docker.com/ | sh 2.一次性删除所有的容器docker rm $(docker ps -q -a) 或docker rm -f `docker ps -a -q` 3.一次性删除所有的镜像docker rmi $(doc 阅读全文
posted @ 2020-03-01 15:29 琵琶真的行 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1 package main 2 3 import "fmt" 4 5 type Object interface{} 6 7 type Node struct { 8 data Object 9 next *Node 10 } 11 12 type List struct { 13 headNod 阅读全文
posted @ 2020-02-12 13:01 琵琶真的行 阅读(622) 评论(0) 推荐(0) 编辑
摘要: 报错信息: 1 Access to XMLHttpRequest at 'http://192.168.37.130:5050/socket.io/?EIO=3&transport=polling&t=N0oqNsW' from origin 'http://localhost:8080' has 阅读全文
posted @ 2020-02-11 14:15 琵琶真的行 阅读(8321) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页