<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[赵晨的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Free2140</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Free2140]]></copyright><item><title><![CDATA[ubuntu安装node以及npm]]></title><link>https://blog.csdn.net/Free2140/article/details/122848819</link><guid>https://blog.csdn.net/Free2140/article/details/122848819</guid><author>Free2140</author><pubDate>Wed, 09 Feb 2022 20:13:30 +0800</pubDate><description><![CDATA[ubuntu安装node以及npm
官网下载最新版本程序
如果下载的是*.xz文件
使用
xz -d xxx.tar.xz
将 xxx.tar.xz解压成 xxx.tar
再用
tar xvf xxx.tar
https://nodejs.org/en/download/current/
解压程序并放到usr/local/lib/nodejs/目录下
执行以下代码

sudo ln -s /usr/local/lib/nodejs/node-$VERSION-$DISTRO/bin/node /usr/bi]]></description><category></category></item><item><title><![CDATA[nodejs 文字转图片方法]]></title><link>https://blog.csdn.net/Free2140/article/details/119485405</link><guid>https://blog.csdn.net/Free2140/article/details/119485405</guid><author>Free2140</author><pubDate>Sat, 07 Aug 2021 13:43:50 +0800</pubDate><description><![CDATA[import writeTextToCanvas from "./core/clip/TextHandler/writeTextToCanvas.js"; 
let text="文字转图片";
let options = {
    font: "16px sans-serif",  
    fill: true,
    stroke: false,
    fillColor: "#ffff00",
    strokeColor: "#000000",
    strokeWidth: 1,
   ]]></description><category></category></item><item><title><![CDATA[C# gdal创建和读取tiff文件]]></title><link>https://blog.csdn.net/Free2140/article/details/115803030</link><guid>https://blog.csdn.net/Free2140/article/details/115803030</guid><author>Free2140</author><pubDate>Sat, 17 Apr 2021 22:17:39 +0800</pubDate><description><![CDATA[TIFF文件在处理格点数据方面，还有是有比较大的优势。
 //定义转换参数
        //这里说明一下，adfGeoTransform中（这里简称GT），
        //GT[0],GT[3] 是做上角坐标，
        //GT[1],GT[5] 是图像总向横向分辨率，就是每个像素代表的长度，
        //GT[2],GT[4] 是旋转相关，一般是0，不用管他。
        //所以，如果我们想知道右下角的坐标，以横坐标为例，右边和左边相隔nXSize个像素，所以相距nXSiz]]></description><category></category></item><item><title><![CDATA[js表格大数据量加载效率优化]]></title><link>https://blog.csdn.net/Free2140/article/details/115109689</link><guid>https://blog.csdn.net/Free2140/article/details/115109689</guid><author>Free2140</author><pubDate>Tue, 23 Mar 2021 09:35:05 +0800</pubDate><description><![CDATA[客户要求在一个页面中显示所有的dom信息，不能分页，导致页面有一些卡顿
之前的项目是用的jquery拼接的html字符串，表格改造起来很吃力
临时解决方案，以后会放弃使用jquery了，后期维护真是麻烦
表头固定采用css的position :sticky
    &lt;div class="parentDiv" style="height: 426px; overflow-y: auto ;  "&gt;

        &lt;div id="mylist" class=""&gt;
       ]]></description><category></category></item><item><title><![CDATA[Vue3.0配置多页面应用]]></title><link>https://blog.csdn.net/Free2140/article/details/114925534</link><guid>https://blog.csdn.net/Free2140/article/details/114925534</guid><author>Free2140</author><pubDate>Wed, 17 Mar 2021 13:17:40 +0800</pubDate><description><![CDATA[一、添加两个测试页面，Test01，Test02，目录结构如下：

二、在根目录下新建vue.config.js文件
添加如下代码：
module.exports={
    publicPath:'./',
    lintOnSave: false, 
    devServer: { 
        overlay: { 
            warning: false, 
            errors: false 
        }
    },
    productionSo]]></description><category></category></item><item><title><![CDATA[Leaflet加载arcgis发布的wmts服务,sgs发布的wms服务]]></title><link>https://blog.csdn.net/Free2140/article/details/114869415</link><guid>https://blog.csdn.net/Free2140/article/details/114869415</guid><author>Free2140</author><pubDate>Tue, 16 Mar 2021 10:22:29 +0800</pubDate><description><![CDATA[一、leaflet加载arcgis发布的wmts服务
    var globe2dmap = L.map('mapid', {
        minZoom: 4,
        maxZoom: 13,
        center: [41.2, 122.57],
        zoom: 8,
        crs: L.CRS.EPSG4326,
        zoomDelta: 0.25,
        zoomSnap: 0,
        attributionControl]]></description><category></category></item><item><title><![CDATA[C# Linq获取目录中最新的12个文件]]></title><link>https://blog.csdn.net/Free2140/article/details/114664237</link><guid>https://blog.csdn.net/Free2140/article/details/114664237</guid><author>Free2140</author><pubDate>Thu, 11 Mar 2021 14:14:09 +0800</pubDate><description><![CDATA[C#获取目录中最新的12个文件
 var subInfos = new DirectoryInfo(@"d:\xxxx").GetFileSystemInfos("*.*");
 //12个时次文件，来齐再入库
 if (subInfos.Length == 12)
 {
   var query=subInfos.AsEnumerable()
   .OrderByDescending(o=&gt;o.CreationTime).Take(12); 			
   foreach (FileSystemIn]]></description><category></category></item><item><title><![CDATA[C#Linq操作datatable]]></title><link>https://blog.csdn.net/Free2140/article/details/114636888</link><guid>https://blog.csdn.net/Free2140/article/details/114636888</guid><author>Free2140</author><pubDate>Wed, 10 Mar 2021 15:36:57 +0800</pubDate><description><![CDATA[//去除已包含区县的乡镇
            var dslp = from d in dsTown.Tables[0].AsEnumerable()
             where !lper.Contains(d.Field&lt;string&gt;("XIAN")) 
             select d;
            bool isFirst = true;
            foreach (var res in dslp)
            {
...]]></description><category></category></item><item><title><![CDATA[NSIS制作exe安装包]]></title><link>https://blog.csdn.net/Free2140/article/details/114635972</link><guid>https://blog.csdn.net/Free2140/article/details/114635972</guid><author>Free2140</author><pubDate>Wed, 10 Mar 2021 15:09:16 +0800</pubDate><description><![CDATA[脚本.nsi 如下：
; 该脚本使用 HM VNISEdit 脚本编辑器向导产生

; 安装程序初始定义常量
!define PRODUCT_NAME "xxx"
!define PRODUCT_VERSION "2.1"
!define PRODUCT_PUBLISHER "xxxxxxxxx有限公司"
!define PRODUCT_WEB_SITE "http://www.xxxxxxx.cn/"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windo]]></description><category></category></item><item><title><![CDATA[sql server geometry缓冲区数据查询]]></title><link>https://blog.csdn.net/Free2140/article/details/114528839</link><guid>https://blog.csdn.net/Free2140/article/details/114528839</guid><author>Free2140</author><pubDate>Mon, 08 Mar 2021 14:01:52 +0800</pubDate><description><![CDATA[sql server 2008以上版本支持geometry数据类型
 SELECT * FROM  [QX_FZJZ].[dbo].MDPR_BI 
 where geometry::STGeomFromText('POINT(121,41)', 4326)
 .STBuffer(5000 / (2 * 3.1415926 * 6371004) * 360).MakeValid()
 .STContains(Geometry) = 1


]]></description><category></category></item><item><title><![CDATA[webapi整合dapper、swagger发布restful风格服务]]></title><link>https://blog.csdn.net/Free2140/article/details/114528311</link><guid>https://blog.csdn.net/Free2140/article/details/114528311</guid><author>Free2140</author><pubDate>Mon, 08 Mar 2021 13:46:12 +0800</pubDate><description><![CDATA[一、NuGet工具下载Dapper、Swashbuckle.AspNetCore.Swagger等相关依赖，创建的项目中会自动生成相关代码，具体配置网上有很多，请自行搜索。
二、使用dapper读取数据库，自动映射到对象中。
  /// &lt;summary&gt;
        /// 读取数据表解释
        /// &lt;/summary&gt;
        /// &lt;returns&gt;&lt;/returns&gt;
        public List&lt;Comm.]]></description><category></category></item><item><title><![CDATA[C# 解析雷达bin文件数据]]></title><link>https://blog.csdn.net/Free2140/article/details/114299149</link><guid>https://blog.csdn.net/Free2140/article/details/114299149</guid><author>Free2140</author><pubDate>Wed, 03 Mar 2021 09:15:30 +0800</pubDate><description><![CDATA[C# 解析雷达bin文件数据
  FileStream fs = null;
  BinaryReader reader = null;
  byte[] data;
  var encoding = Encoding.Default;
  int[] sd;
   fs = new FileStream(binFile, FileMode.Open, FileAccess.Read);
   reader = new BinaryReader(fs);
   data = reader.ReadBytes]]></description><category></category></item><item><title><![CDATA[C# DateTime.ParseExact使用，字符串转时间类型]]></title><link>https://blog.csdn.net/Free2140/article/details/114294664</link><guid>https://blog.csdn.net/Free2140/article/details/114294664</guid><author>Free2140</author><pubDate>Tue, 02 Mar 2021 21:13:02 +0800</pubDate><description><![CDATA[DateTime dt = DateTime.ParseExact("2020080513", 
 "yyyyMMddHH",System.Globalization.CultureInfo.CurrentCulture);


]]></description><category></category></item><item><title><![CDATA[C#抓取网络上的数据 WebClient]]></title><link>https://blog.csdn.net/Free2140/article/details/114283071</link><guid>https://blog.csdn.net/Free2140/article/details/114283071</guid><author>Free2140</author><pubDate>Tue, 02 Mar 2021 13:35:35 +0800</pubDate><description><![CDATA[重写了WebClient类，增加超时属性。
 //模拟http请求，POST相关参数至中央气象网，返回环境资料json字符串
                WebClientEx client = new WebClientEx();
                client.Timeout = 1500;
                client.Credentials = CredentialCache.DefaultCredentials;
                string ur]]></description><category></category></item><item><title><![CDATA[wpf使用popupex在activeX控件上绘制不规则菜单]]></title><link>https://blog.csdn.net/Free2140/article/details/114139698</link><guid>https://blog.csdn.net/Free2140/article/details/114139698</guid><author>Free2140</author><pubDate>Fri, 26 Feb 2021 16:44:37 +0800</pubDate><description><![CDATA[&lt;WindowShrink:BaseOverlayWindow
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:Custom="clr-namespace:IOTX.Warning.View"
    xmlns:WindowShrink="clr-namespace:IOTX.WindowShrink;assembly=IOTX.WindowShrink"
       .]]></description><category></category></item><item><title><![CDATA[layui弹出层样式修改，使用css的background属性设置多个背景图]]></title><link>https://blog.csdn.net/Free2140/article/details/114012655</link><guid>https://blog.csdn.net/Free2140/article/details/114012655</guid><author>Free2140</author><pubDate>Wed, 24 Feb 2021 10:49:18 +0800</pubDate><description><![CDATA[效果图
由于头部设计成渐变色，在拉伸之后，连接处有瑕疵，建议在设计时进行规避。

1、流程，将窗体划分为九个区
上左：固定宽度，固定高度
上中：计算宽度，固定高度
上右：固定宽度，固定调度
中左：固定宽度，计算高度
中中：计算宽度，计算高度
中右：固定宽度，计算高度
下左：固定宽度，固定高度
下中：计算宽度，固定高度
下右：固定宽度，固定高度
2、切出来所需要的图片。

3、使用!important,去掉原来的样式。
4、使用backgound可以设置多个背景图的特性，设置九个分区的背景图
完事代码
 
.]]></description><category></category></item><item><title><![CDATA[vue3.x+element-plus+cesium整合]]></title><link>https://blog.csdn.net/Free2140/article/details/113854582</link><guid>https://blog.csdn.net/Free2140/article/details/113854582</guid><author>Free2140</author><pubDate>Thu, 18 Feb 2021 22:49:51 +0800</pubDate><description><![CDATA[标绘功能还有一些Bug没有解决，以后有时间慢慢完善吧，代码先不放了。

一、npm包下载安装
1、安装最新版vue-cli
npm i @vue/cli -g
2、安装element-plus
npm i element-plus --save
3、安装Cesium
npm i cesium
二、创建项目
1、初始化Vue项目
vue create cesiumapp
2、创建Cesium三维场景组件
&lt;template&gt;
  &lt;div id="cesiumContainer"&gt;
 ]]></description><category></category></item></channel></rss>