会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
咸鱼翻个身,还是咸鱼
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
9
下一页
2020年5月11日
verbose stack Error: yorkie@2.0.0 install: `node bin/install.js`
摘要: 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 琵琶真的行
阅读(3738)
评论(0)
推荐(0)
2020年5月1日
基于vue和muse-ui打造移动端的聊天webapp
摘要: 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 琵琶真的行
阅读(1560)
评论(0)
推荐(0)
2020年4月26日
python装饰器计算函数执行时间
摘要: 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 琵琶真的行
阅读(1018)
评论(0)
推荐(0)
2020年4月14日
golang读取文件内容,竟然这么简单!
摘要: 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 琵琶真的行
阅读(3128)
评论(0)
推荐(0)
2020年4月8日
文件(csv/xlsx)中的数据导入到数据库中
摘要: postgresql的copy导入数据相当于insert操作,之前必须执行create table xxx(......) 实际业务中一个文件里会包含字段+数据,但是缺少一步到位的导入工具 推荐一个针对csv\xlsx的批量导入工具:https://github.com/zhengze/file_t
阅读全文
posted @ 2020-04-08 22:08 琵琶真的行
阅读(939)
评论(0)
推荐(0)
2020年4月3日
超简单!c++虚函数例子解析
摘要: #include <iostream> using namespace std; class Shape { public: //普通函数前加virtual,普通函数变成了虚函数 // =0表示抽象虚函数,子类必须实现该函数 virtual void printarea()=0; void hell
阅读全文
posted @ 2020-04-03 10:08 琵琶真的行
阅读(825)
评论(0)
推荐(0)
2020年3月1日
python多继承,一看就明白!
摘要: python支持多继承 通过__mro__可查找继承列表,他是根据mro算法排列继承顺序 按照 __mro__ 的输出结果 从左至右 的顺序查找可继承方法 来看一个例子 class Base: def __init__(self): print("Base") class Human(Base):
阅读全文
posted @ 2020-03-01 15:40 琵琶真的行
阅读(386)
评论(0)
推荐(0)
docker常用命令
摘要: 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 琵琶真的行
阅读(273)
评论(0)
推荐(0)
2020年2月12日
golang实现单链表
摘要: 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 琵琶真的行
阅读(633)
评论(0)
推荐(0)
2020年2月11日
vue-socket.io跨域问题的解决方法
摘要: 报错信息: 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 琵琶真的行
阅读(8400)
评论(0)
推荐(1)
上一页
1
2
3
4
5
6
7
···
9
下一页
公告