上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 89 下一页
摘要: map.addLayer( { "id": "背景", "type": "background", "paint": { "background-color": "rgba(255,255,255,0)" }, "layout": { "visibility": "visible" } } ) 阅读全文
posted @ 2023-11-09 10:31 栖木hy 阅读(388) 评论(0) 推荐(0)
摘要: 安装插件 yarn add --dev rollup-plugin-javascript-obfuscator 创建obfuscator.js文件,把下面相应代码放入js文件中 import obfuscatorPlugin from 'rollup-plugin-javascript-obfusc 阅读全文
posted @ 2023-11-06 23:42 栖木hy 阅读(3408) 评论(0) 推荐(0)
摘要: 在Python中,您可以使用不同的库来操作SVG文件。 一种流行的选择是使用xml.etree.ElementTree来解析和操作SVG文件。 以下是一个简单的示例,演示如何使用Python解析和操作SVG文件: from lxml import etree def format_svg(): # 阅读全文
posted @ 2023-11-03 13:55 栖木hy 阅读(773) 评论(0) 推荐(0)
摘要: 两种情况 1.端口号被占用,导致地址无法绑定 # windows查看端口pid netstat -aon|findstr 8080(端口号) # linux查看端口占用 netstat -anp|grep 8080 2.ip地址与本机地址不匹配,导致地址无法绑定 # windows查看ip ipco 阅读全文
posted @ 2023-11-01 14:21 栖木hy 阅读(230) 评论(0) 推荐(0)
摘要: git报错 error: error: You have not concluded your merge (MERGE_HEAD exists). hint: Please, commit your changes before merging. fatal: Exiting because of 阅读全文
posted @ 2023-10-31 11:07 栖木hy 阅读(2426) 评论(0) 推荐(0)
摘要: 现在有一个txt列表,里面包含的是一些文件名,如a,b等等,现在需求是在一个多级文件夹下,需要寻找以a为名字的任何格式文件,如a.001,a.002等等,寻找这个txt列表里包含的文件名的对应文件,复制到指定文件夹下 import os import shutil # 读取文件名列表 with op 阅读全文
posted @ 2023-10-27 21:18 栖木hy 阅读(213) 评论(0) 推荐(0)
摘要: 要在Python中配置镜像下载源,通常需要配置包管理器(例如pip)和系统环境变量。 以下是在Python中配置镜像下载源的一般步骤: 配置pip的镜像源: 打开终端或命令提示符,并执行以下命令,将pip的默认下载源更改为国内镜像站点,如清华大学、阿里云等。以下是一些示例: 使用清华大学镜像: pi 阅读全文
posted @ 2023-10-27 15:30 栖木hy 阅读(1654) 评论(0) 推荐(0)
摘要: NetCDF介绍 NetCDF(网络公用数据格式)是一种用来存储温度、湿度、气压、风速和风向等多维科学数据(变量)的文件格式。 https://zhuanlan.zhihu.com/p/600050278 https://www.osgeo.cn/gdal/drivers/vector/netcdf 阅读全文
posted @ 2023-10-27 01:40 栖木hy 阅读(1458) 评论(0) 推荐(0)
摘要: hp2xx - 转换为某些矢量和光栅格式的 HPGL 转换器 下载安装 https://www.gnu.org/software/hp2xx/ https://gnuwin32.sourceforge.net/packages/hp2xx.htm 用法 https://www.math.utah.e 阅读全文
posted @ 2023-10-25 23:05 栖木hy 阅读(154) 评论(0) 推荐(0)
摘要: Docker 换源 在 Docker 中,我们可以通过修改 /etc/apt/sources.list 文件来更换软件源。以下是一个示例 Dockerfile 文件,展示了如何在构建镜像时更换软件源: FROM ubuntu:latest # 使用 sed 命令替换默认的软件源为阿里云镜像源 RUN 阅读全文
posted @ 2023-10-25 15:59 栖木hy 阅读(2368) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 89 下一页