- 博客(28)
- 收藏
- 关注
原创 Vue3 + Farbic.js +Ts 实现的在线图片标注组件 支持矩形和点位标注
1.实现矩形标注、点位(不规则四边形)标注。2.可拖拽、缩放、删除、居中显示标注标签。
2024-04-15 16:36:36
2041
6
原创 win系统提取doc、docx、ppt、pptx中的图片,ppt转pptx,doc转docx
依赖 python-docx python-pptx。
2023-07-15 18:06:14
238
原创 vue3使用css原生animation实现轮播动画
简单Div如下原理:为要transform的Div动态添加动画,交替赋予两个动画属性。具体为何如此设置可以看css要实现的功能。<div :class="{isCardAniamtion: isShowAnimation, isCardAniamtion1: !isShowAnimation}" ></div>简单css 如下原理:设置动画、每次点击下一个按钮,动画只执行一次,且保留结束状态。v-bind绑定上一次transform的值,下一次transform的值,实
2022-03-20 15:19:26
856
1
原创 mysql常用关键语法
limit语法limit n,num第一个数值为偏移量,从0开始。第二个值为需要返回几条数据。多个关联表查询select a.ID,b.Name,c.Content from table1 a left join table2 b on a.Grade = b.gradeID left join table3 c on a.Subject = c.subjectID order by a.ID desc...
2022-03-16 22:34:09
692
原创 css为图片底部添加滤镜放置文字
看了开课吧官网写的,但这个设计更漂亮。html代码<div class="imageDiv"> <div class="image"></div> </div>css代码.imageDiv { background-image: url('../assets/images/music.jpg') ; // 以父元素的百分比来设置背景图像的宽度和高度。 background-size: auto 100% ; .
2022-03-13 17:45:35
501
原创 ubuntu搭建rtmp-nginx服务器 拉流推流
sudo apt updatesudo apt install build-essential libpcre3 libpcre3-dev libssl-dev nginx libnginx-mod-rtmp ffmpeg -ysudo nano /etc/nginx/nginx.confrtmp {server {listen 1935;chunk_size 4096;notify_method get; application live { live on; ##Set thi
2022-02-21 22:15:38
1742
原创 简单的动态小球Loading
简单的小球Loading,当然它是动态的。<template> <div class="loadDiv bgColor"> <div class="dotDiv"> <span class="dot mainColor"></span> <span class="dot delayAnimation mainColor"></span> </div> </d
2022-02-10 15:50:39
416
原创 VSCODECONFIG
{ "workbench.colorTheme": "Tiny Light", "git.autofetch": true, "javascript.updateImportsOnFileMove.enabled": "always", "editor.formatOnPaste": true, "editor.formatOnSave": true, "window.zoomLevel": 1, "editor.fontSize": 20, .
2022-02-09 19:15:12
281
原创 wangEditor配置首行缩进包括缩进及取消缩进功能
wangEditor缩进采用的是padding-left:2em,没有首行缩进功能,因此个人根据官方说明配置了一下,移除了原来的缩进改成了首行缩进。普通粘贴时基本好用,但是无格式文本粘贴还是只能是全局缩进。希望大家也能帮助优化一下。// 引入 wangEditorimport WangEditor from 'wangeditor'const { $, DropListMenu } = WangEditor// 第一,菜单 class ,Button 菜单继承 BtnMenu classcl
2021-08-22 22:44:41
5088
8
原创 讯飞语音转写实例代码 C# 当前时间版本可直接用
string preUrl = "https://raasr.xfyun.cn/api/prepare";string uploadUrl = "https://raasr.xfyun.cn/api/upload";string mergeUrl = "https://raasr.xfyun.cn/api/merge";string progressUrl = "https://raasr.xfyun.cn/api/getProgress";string resultUrl = "https://r
2021-06-29 17:42:09
748
5
原创 C#常用方法函数
1.普通HttpPost方法private string HttpPost(string postUrl, string postContent,string postContentType){ string result = ""; HttpWebRequest req = (HttpWebRequest)WebRequest.Create(postUrl); req.Method = "POST"; req.ContentType = postContentType
2021-06-29 17:26:58
218
原创 Vue加PDFjs在线预览pdf全渲染demo
PDFjs在线预览pdf,所有页全渲染的demo,把这些文件的url换一下就好。测试记得把live server打开才能看到。 'Hello, world!' example <div id="app"> <canvas v-for="i in pageTotal" :id="'the-canvas' + i" style="border: 1px solid black; direction: ltr;"></canvas>&
2021-05-22 22:18:56
720
原创 git基本操作
git基本操作1.CD到文件目录2.git status 查看当前状态3.git add . 全部添加4.git commit -m “add files”(解释说明) 提交全部文件5.git status 查看状态以上仅为本地提交 上传到gitee 按官方说明来做6.初次提交完毕7.git checkout -b login(分支名) 项目开始 建立分支 待全部完成后归入8.git branch 查看当前项目分支9.git push -u origin rights(分支名) (如之前
2021-05-15 12:01:38
59
转载 android中ListView的用法
android中ListView的用法文章极好 保存一下https://www.cnblogs.com/mark5/p/12906882.html
2021-04-21 22:19:31
102
原创 C# asp.net GET POST添加请求头 以及 POST带参数请求 页面间传值 清空Session Cookie
7.C# ASP.NET GET POST添加请求头 以及 POST带参数请求这里接接口时未进行封装,记录时才临时做了一下,所以可能某些声明不太对。如果有问题自己看着微调下就好,不行就问。(1)GET添加请求头Token//根据接收的参数先创建个类public class getSchoolData{ public string OrganizeId { get; set; }}public string HttpGet (string url) { string result =
2021-04-09 21:26:37
4239
原创 python实用手册(1)批量读取指定路径下所有同类型文件(以Json为例)、图片转视频
1.批量读取绝对路径下的所有同类型文件 keyword:Batch Fetchingimport os设置读取路径即文件夹名,路径里 / 和 \ 字符的用法:用 单 / 或者 \path = ‘D:/hello/world/’声明一个接收目录下文件的列表jsons = []遍历取得目录下的所有同类型文件for root, dirs, files in os.walk(path):for file in files:if os.path.splitext(file)[1] == ‘.json
2020-12-04 21:23:00
805
win系统提取doc、docx、ppt、pptx中的图片
2023-07-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人