会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
BillyYang
Make you different.
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
13
下一页
2021年12月11日
linux 环境中cat命令进行关键字搜索
摘要: 在linux环境中通过关键字搜索文件里面的内容 1、显示文件里匹配关键字那行以及上下50行 cat 文件名 | grep -C 50 '关键字' 2、显示关键字及前50行 cat 文件名 | grep -B 50 '关键字' 3、显示关键字及后50行 cat 文件名 | grep -A 50 '关键
阅读全文
posted @ 2021-12-11 14:04 BillyYang
阅读(4398)
评论(0)
推荐(0)
2021年10月8日
postgresql 查询包含某字段的表
摘要: 查询包含某字段的表都有哪些 查询SQL如下: SELECT b.oid, b.relname, att.attname, b.relkind, attinhcount, atttypmod FROM pg_attribute att, pg_class b WHERE b.oid = att.att
阅读全文
posted @ 2021-10-08 08:41 BillyYang
阅读(1186)
评论(0)
推荐(0)
2021年6月18日
postgresql查询表的大小
摘要: postgresql查询表的大小 一、查询sql SELECT table_schema || '.' || TABLE_NAME AS table_full_name, pg_size_pretty ( pg_total_relation_size ( '"' || table_schema ||
阅读全文
posted @ 2021-06-18 14:16 BillyYang
阅读(317)
评论(0)
推荐(0)
2021年4月26日
vue 消息订阅与发布
摘要: vue 消息订阅与发布 一、场景 vue中非父子组件之间通信时,使用vuex有时间会很麻烦,这时候可以通过bus总线来实现 消息的订阅与发布 二、实现方法 1、main.js //main.js Vue.prototype.bus = new Vue(); new Vue({ render: h =
阅读全文
posted @ 2021-04-26 10:51 BillyYang
阅读(1242)
评论(0)
推荐(0)
2021年4月22日
echarts实现pie自定义标签
摘要: echarts实现pie自定义标签 一、环境 vue + echarts 实现饼图的自定义标签 二、实现效果 三、实现方式 import * as echarts from 'echarts'; export default { data () { return { option: { toolti
阅读全文
posted @ 2021-04-22 18:28 BillyYang
阅读(1993)
评论(0)
推荐(0)
elementUI 时间线居左显示
摘要: elementUI 时间线居左显示 一、vue + elementUI 实现时间线 Timellne 中时间戳居左显示 二、效果图 三、实现方法 关键代码: <el-timeline> <el-timeline-item v-for="(item, index) in activities" :ke
阅读全文
posted @ 2021-04-22 18:19 BillyYang
阅读(4834)
评论(0)
推荐(0)
2021年3月10日
css+div实现各种常见边框
摘要: css+div实现各种常见边框 一、效果图如下 二、实现代码 div { width: 120px; height: 100px; margin: 10px; float: left; text-align: center; line-height: 100px; font-size: 18px;
阅读全文
posted @ 2021-03-10 18:24 BillyYang
阅读(859)
评论(0)
推荐(0)
css实现中括号边框
摘要: 要求:css + div 实现中括号边框 一、实现方式 .square_brackets { border: none; position: relative; padding: 0; height: 130px; width: 400px; } .square_brackets:before, .
阅读全文
posted @ 2021-03-10 17:43 BillyYang
阅读(1118)
评论(0)
推荐(0)
div中多行内容垂直居中显示
摘要: div中多行内容垂直居中显示 一、css 样式 .wrap { height: 200px; width: 200px; border: 1px solid #232323; display: flex; justify-content: center; flex-direction: column
阅读全文
posted @ 2021-03-10 17:24 BillyYang
阅读(288)
评论(0)
推荐(0)
2021年3月4日
vue 实现组件全屏展示及退出
摘要: vue 实现组件全屏展示及退出 一、组件 采用 vue-fullscreen 组件 二、实现方式 <fullscreen ref="fullscreen" @change="fullscreenChange" background="#ffffff"> <div style="position: r
阅读全文
posted @ 2021-03-04 16:08 BillyYang
阅读(2200)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
13
下一页
公告