Typora图片上传插件自动上传图床

Typora是一款非常棒的markdown文本编辑器,以其美观快速及支持windows、linux、mac平台,深受写作者与程序员的喜爱。Typora官网:https://www.typora.io/之前在写博客的时候,图片的展示成了问题。在Typecho后台写markdown预览不方便,在VSCode中写markdown,粘贴到后台时,图片需要手动上传到服务器或者COS,十分麻烦。今天偶然发现一款Typora插件,可以自动上传图片到Github、Gitee、服务器以及COS、OSS等云存储。现只需下载插件修改配置文件即可。插件地址:https://github.com/Thobian/typora-plugins-win-img安装教程:只需要下载配置文件复制到Typora安装目录resources\app 即可,window.html文件不建议直接覆盖替换,覆盖安装的方式在某些特定版本下会触发bug,建议按照这个 issue 中的方法修改 window.html 文件而不是直接覆盖它,plugins 是新增目录不存在覆盖的问题。复制好后修改plugins/image/upload.js里配置信息即可。具体教材也可参考项目地址。现存问题:安装插件之后,粘贴进Typora中的图片还是会先保存到本地,再上传至互联网上的位置。我安装插件前忘记配置图片默认保存位置,安装插件后发现“偏好设置”无法打开。解决方案:可以把备份下来的 window.html 文件恢复回去。然后手动编辑恢复回去的文件,搜索<script src="./app/window/frame.js" defer="defer"></script> 在其后面加上一行:<script src="./plugins/image/upload.js" defer="defer"></script> 然后再试试是否能恢复正常。注:readme中覆盖 window.html 只是为了引入 ./plugins/image/upload.js 文件,但不同版本window.html文件可能存在一些差异,确实 有可能出现你说的这个问题。可以将默认保存位置设置为固定文件夹,定期清理就行了。其实直接设置成插入图像时无特殊操作就可以了。

DNSPod x 云开发CloudBase 建站特惠

serverless 建站,免服务器运维现在虽然很优惠,但是需要域名备案,可搭建wordpress之类建站程序https://cloud.tencent.com/act/pro/hosting01

Oracle 导出表结构(含列名、数据类型、字段备注注释)

SELECT --t1.Table_Name || chr(13) || t3.comments AS "表名称及说明", ROWNUM , t1.Column_Name AS "字段名称", t1.DATA_TYPE AS "数据类型", t1.DATA_LENGTH AS "长度", t1.NullAble AS "是否为空", t2.Comments AS "字段说明", t1.Data_Default "默认值" --t4.created AS "建表时间" --t3.comments AS "表说明", FROM cols t1 LEFT JOIN user_col_comments t2 ON t1.Table_name = t2.Table_name AND t1.Column_Name = t2.Column_Name LEFT JOIN user_tab_comments t3 ON t1.Table_name = t3.Table_name LEFT JOIN user_objects t4 ON t1.table_name = t4.OBJECT_NAME WHERE NOT EXISTS (SELECT t4.Object_Name FROM User_objects t4 WHERE t4.Object_Type = 'TABLE' AND t4.Temporary = 'Y' AND t4.Object_Name = t1.Table_Name) and t1.TABLE_NAME='你要查询的表名' ORDER BY t1.Table_Name, t1.Column_ID;或select distinct TABLE_COLUMN.*, TABLE_NALLABLE.DATA_TYPE, TABLE_NALLABLE.NULLABLE from (select distinct utc.table_name table_name, utc.comments table_comments, ucc.column_name column_name, ucc.comments column_comments from user_tab_comments utc, user_col_comments ucc where utc.table_name = ucc.table_name and utc.table_name not like '%_B' and utc.table_name not like '%_Z' and utc.table_name not like '%1%') TABLE_COLUMN, (select distinct table_name, column_name, nullable, DATA_TYPE from user_tab_cols where table_name not like '%_B' and table_name not like '%_Z' and table_name not like '%1%') TABLE_NALLABLE where TABLE_COLUMN.column_name = TABLE_NALLABLE.column_name and TABLE_COLUMN.TABLE_NAME = TABLE_NALLABLE.table_name;参考https://blog.csdn.net/liu_yulong/article/details/83619122https://blog.csdn.net/prefectjava/article/details/37908003

Electron构建你的桌面程序

如果你可以建一个网站,你就可以建一个桌面应用程序。 Electron 是一个使用 JavaScript, HTML 和 CSS 等 Web 技术创建原生程序的框架,它负责比较难搞的部分,你只需把精力放在你的应用的核心上即可。官网:https://www.electronjs.org/

在线识别海报/logo字体 求字体网

http://www.qiuziti.com/

Unlock Music 音乐解锁 网页解锁加密音频格式

在浏览器中解锁加密的音乐文件。 Unlock encrypted music file in the browser.项目:https://github.com/ix64/unlock-music

QQ靓号注册

申请地址:https://ssl.zc.qq.com/v3/index-chs.html?type=3目前大多九位数,运气好的话可以刷到些顺口的。

Ubuntu18.04彻底删除MySQL数据库

首先在终端中查看MySQL的依赖项:dpkg --list|grep mysql卸载:sudo apt-get remove mysql-commonsudo apt-get autoremove --purge mysql-server-5.7清除残留数据:dpkg -l|grep ^rc|awk '{print$2}'|sudo xargs dpkg -P再次查看MySQL的剩余依赖项:dpkg --list|grep mysql继续删除剩余依赖项,如:sudo apt-get autoremove --purge mysql-apt-config至此已经没有了MySQL的依赖项,彻底删除,Good Luck

iSlide 一款基于PowerPoint的插件工具

官网 https://www.islide.cc/提供一键排版、一键配色等功能

IDEA删除破解补丁.jetbrains目录后软件打不开解决方法

在C:\Users\Administrator\AppData\Local\JetBrains与C:\Users\Administrator\AppData\Roaming\JetBrains目录删除对应版本配置文件夹即可,例如IntelliJIdea2020.1。