![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
分享
大虾写代码
不产bug,只产warning
展开
-
使用服务器搭建个人图床
用自己的服务器搭建一个图床的详细实现步骤,并配置Typora直接上传图片原创 2024-06-11 15:39:05 · 447 阅读 · 0 评论 -
html默认滚动条优化
原生的滚动条太宽,边角太硬,看着不舒服,以下是对滚动条的简单优化,复制可用。颜色、弧度、宽度可自行根据属性调节尝试。下面代码直接放在css里,即可生效。原创 2022-08-30 08:49:18 · 479 阅读 · 1 评论 -
webpack5打包图片到指定文件
webpack5打包图片到指定文件module:{rules:[{// 正则匹配图片test:/.(png|jpg|gif|jpeg)$/,//webpack5版本type: ‘asset/resource’,generator: {//图片路径,存放在dist/imgs/原名+8位hash+后缀filename: ‘imgs/[name]_[hash:8][ext]’}// webpack5最新通过添加 4 种新模块类型来替换所有这些加载器loader:// asset/reso原创 2022-02-14 18:09:01 · 516 阅读 · 0 评论 -
mongoDB安装报错failed to start
错误信息:Service 'MongoDB Server (MongoDB)' (MongoDB) failed to start .Verify that you have sufficient privileges to start system services.原创 2022-07-23 11:53:19 · 1676 阅读 · 1 评论 -
pycharm找不到已安装的第三方库
明明已经安装了第三方库,运行pycharm时却报错,没有找到第三方库解决方法打开设置2.选择Python解释器中的Add…,如图3.选择存在的环境,并点击省略号,如图选项4.找到python.exe文件点击OK即可成功导入本地库了...原创 2021-03-12 14:50:51 · 2864 阅读 · 0 评论 -
微信小程序导入echarts
微信小程序引入echars,解决文件内容错误原创 2022-03-27 10:09:56 · 1253 阅读 · 0 评论 -
node报错:request entity too large
request entity too large原创 2022-03-20 19:48:34 · 1110 阅读 · 1 评论 -
元素盒子重叠效果
css重叠效果原创 2022-03-20 20:02:32 · 1315 阅读 · 0 评论 -
pyplot中所有的颜色映射
cmaps = [('Perceptually Uniform Sequential', [ 'viridis', 'plasma', 'inferno', 'magma', 'cividis']), ('Sequential', [ 'Greys', 'Purples', 'Blues', 'Greens', 'Oranges', 'Reds', 'YlOrBr', 'YlOrRd', 'OrRd', 'PuRd'.原创 2021-06-27 08:13:17 · 739 阅读 · 0 评论 -
postgresql按字符截取字符
需求按照下划线截取字符串后面的数字。代码split_part(nrsy ,'_', 2 )//完整语句select ywlxmc,xmsy,xmnf_sj,split_part(nrsy ,'_', 2 ) nrsy,pmlx from v_t_xxgzb_base where ywlxmc='地震地质' and pmlx='探槽剖面' order by nrsy ASCnrsy表示需要截取的字段(字段内容为pm_1;pm_2;pm_3),'_'为特殊的字符,2为截取后的组数结果..原创 2022-05-19 10:24:34 · 4648 阅读 · 0 评论 -
阿里云电脑端下载
https://www.aliyundrive.com/download?spm=aliyundrive.drive.0.0.35676c751JB9Ez原创 2021-07-06 10:04:33 · 253 阅读 · 0 评论 -
pip安装三方库国内镜像分享
pip常用的国内镜像库pip直接安装第三方库,一般都几kb的下载速度,很慢。为此推荐使用国内镜像库以下为常用网址(1)阿里云 http://mirrors.aliyun.com/pypi/simple/(2)豆瓣http://pypi.douban.com/simple/(3)清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/(4)中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/(5)华中科技大学http原创 2021-03-12 19:41:23 · 168 阅读 · 0 评论 -
python查询文件或第三方库的位置
以下代码均在cmd命令下查询所有已安装python三方库的名称及版本pip list用于查看 某个 库的名字、版本、位置等具体信息pip show xxx#如 pip show requests#查询python的安装路径where python原创 2021-03-12 14:53:34 · 668 阅读 · 0 评论