<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[赫拉莉的博客]]></title><description><![CDATA[前端攻城狮]]></description><link>https://blog.csdn.net/m0_37128507</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; m0_37128507]]></copyright><item><title><![CDATA[宝塔添加站点后无法访问域名的解决方法]]></title><link>https://blog.csdn.net/m0_37128507/article/details/129259407</link><guid>https://blog.csdn.net/m0_37128507/article/details/129259407</guid><author>m0_37128507</author><pubDate>Tue, 28 Feb 2023 12:54:54 +0800</pubDate><description><![CDATA[宝塔添加站点后无法访问域名的解决方法]]></description><category></category></item><item><title><![CDATA[【报错】Error: Expected undefined to be a GraphQL schema.]]></title><link>https://blog.csdn.net/m0_37128507/article/details/123566526</link><guid>https://blog.csdn.net/m0_37128507/article/details/123566526</guid><author>m0_37128507</author><pubDate>Fri, 18 Mar 2022 09:52:08 +0800</pubDate><description><![CDATA[按照GraphQL官网给出的javaScript例子(GraphQL Code Libraries, Tools and Services)




var { graphql, buildSchema } = require('graphql');
 
var schema = buildSchema(`
  type Query {
    hello: String
  }
`);
 
var root = { hello: () =&gt; 'Hello world!' };
 
graphql(.]]></description><category></category></item><item><title><![CDATA[编译原理 | 快速掌握文法的分类（0型、1型、2型、3型文法）]]></title><link>https://blog.csdn.net/m0_37128507/article/details/120320930</link><guid>https://blog.csdn.net/m0_37128507/article/details/120320930</guid><author>m0_37128507</author><pubDate>Thu, 16 Sep 2021 08:02:14 +0800</pubDate><description><![CDATA[一、认识终结符和非终结符

--------终结符不能单独出现在推导式左侧，因为终结符不能再被分解了，属于原子量。小写字母表示终结符
--------非终结符可以继续被分解，大写字母表示非终结符。

二、文法的类型


0型文法

------------设G=(VN, VT,P,S)，如果它的每个产生式α-&gt;β是这样一种结构：α∈(VN∪VT)* (*表示闭包，表示用集合中的任意一个元素组合形成的串)，且至少含有一个非终结符，而β∈(VN∪VT)*，则G是一个0型文法，0型文法也称为短语文法，一个非]]></description><category></category></item><item><title><![CDATA[js前端可视化 | 平面向量的基本概念和运算法则]]></title><link>https://blog.csdn.net/m0_37128507/article/details/120171072</link><guid>https://blog.csdn.net/m0_37128507/article/details/120171072</guid><author>m0_37128507</author><pubDate>Wed, 08 Sep 2021 08:34:14 +0800</pubDate><description><![CDATA[一、向量的概念

1.1 向量的基本概念：是一个矢量，既有大小，又有方向。

1.2 向量相等的条件：大小相等，并且方向相同。向量是可以位移的。



1.3 向量平行的条件：方向相同或者相反。其中，零向量与任何向量平行，零向量的方向是任意的。

1.4 单位向量：

二、向量的加减法运算法则
















...]]></description><category></category></item><item><title><![CDATA[js前端可视化 | 向量叉乘]]></title><link>https://blog.csdn.net/m0_37128507/article/details/119881683</link><guid>https://blog.csdn.net/m0_37128507/article/details/119881683</guid><author>m0_37128507</author><pubDate>Tue, 24 Aug 2021 08:41:48 +0800</pubDate><description><![CDATA[一、向量叉乘的几何意义







二、法向量的叉乘公式
































]]></description><category></category></item><item><title><![CDATA[js前端可视化 | 单位平面向量旋转的数学原理与计算]]></title><link>https://blog.csdn.net/m0_37128507/article/details/119862155</link><guid>https://blog.csdn.net/m0_37128507/article/details/119862155</guid><author>m0_37128507</author><pubDate>Mon, 23 Aug 2021 09:52:41 +0800</pubDate><description><![CDATA[一、平面向量旋转原理：

如上图所示，我们用坐标系表示向量，已知原始向量A=(x1, x2)， 旋转β角度后得到向量B=(x2, y2)，现在我们要求出向量B的坐标值。
此处我们设向量的长度R = 1；
根据三角函数公式，我们得出：cosα = x1 / R = x1 / 1 = x1; （邻边比斜边）
sinα = y1 / R = y1 / 1 = y2; （邻边比对边）


下面先回顾三角函数两角和差公式：cos(α+β)=cosα·cosβ-sinα·sinβ （余余正正，符号反）cos(...]]></description><category></category></item><item><title><![CDATA[js代码优化 | 用数学方式计算当前月所在季度的开始月（Math.ceil）]]></title><link>https://blog.csdn.net/m0_37128507/article/details/119762256</link><guid>https://blog.csdn.net/m0_37128507/article/details/119762256</guid><author>m0_37128507</author><pubDate>Tue, 17 Aug 2021 18:12:37 +0800</pubDate><description><![CDATA[网上看到下面一段代码：


//获取当前月所在季度的开始月
function getQuarterStartMonth(month){
    var quarterStartMonth = 0;
    if(month&lt;4){
        quarterStartMonth = 1;
    }
    if(3&lt;month &amp;&amp; month&lt;7){
        quarterStartMonth = 4;
    }
    if(6&lt;month &am]]></description><category></category></item><item><title><![CDATA[目前国内公开的手机号段 | 正则资料库]]></title><link>https://blog.csdn.net/m0_37128507/article/details/114363998</link><guid>https://blog.csdn.net/m0_37128507/article/details/114363998</guid><author>m0_37128507</author><pubDate>Thu, 04 Mar 2021 11:15:34 +0800</pubDate><description><![CDATA[资料来源：https://www.cnblogs.com/zengxiangzhan/p/phone.html
]]></description><category></category></item><item><title><![CDATA[【报错】Unexpected token ＜ in JSON at position 1 while parsing near ‘]]></title><link>https://blog.csdn.net/m0_37128507/article/details/109592178</link><guid>https://blog.csdn.net/m0_37128507/article/details/109592178</guid><author>m0_37128507</author><pubDate>Tue, 10 Nov 2020 09:36:59 +0800</pubDate><description><![CDATA[Unexpected token &lt; in JSON at position 1 while parsing near '



一般是网络原因引起的，可以换成淘宝镜像。

步骤：
1.全局配置切换到淘宝源 npm config set registry https://registry.npm.taobao.org


2.正常使用npm 安装插件

3.全局配置切换到官方源 npm config set registry http://www.npmjs.org



完成。
...]]></description><category></category></item><item><title><![CDATA[前端面试题收藏（1）]]></title><link>https://blog.csdn.net/m0_37128507/article/details/109524354</link><guid>https://blog.csdn.net/m0_37128507/article/details/109524354</guid><author>m0_37128507</author><pubDate>Fri, 06 Nov 2020 08:29:01 +0800</pubDate><description><![CDATA[面试周期：从投递简历到收到offer大概经历了一个月左右，所以最好还是不要裸辞，不然心态会裂开。

笔试题：（二面、三面后的笔试）


	1、手写bind
	
	
	2、手写简版promise，基础架子，不用写all、race等api
	
	
	3、爬楼梯，尾递归优化（算法）
	
	
	4、猴子吃香蕉（算法）
	
	
	5、回文字符串个数（算法）
	
一面


一面是电话面试，面试问题（可能记不全了），大致以下部分



	（1）：各种原生方法的使用，基本类型和引用类型，es6中的set（集合）和map（字]]></description><category></category></item><item><title><![CDATA[迷你上标和下标复制大全（含0~9、字母、特殊字符）]]></title><link>https://blog.csdn.net/m0_37128507/article/details/109023322</link><guid>https://blog.csdn.net/m0_37128507/article/details/109023322</guid><author>m0_37128507</author><pubDate>Mon, 12 Oct 2020 10:43:06 +0800</pubDate><description><![CDATA[A⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ B₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉
]]></description><category></category></item><item><title><![CDATA[js 使用 Object.keys 遍历对象属性]]></title><link>https://blog.csdn.net/m0_37128507/article/details/108862693</link><guid>https://blog.csdn.net/m0_37128507/article/details/108862693</guid><author>m0_37128507</author><pubDate>Tue, 29 Sep 2020 09:51:40 +0800</pubDate><description><![CDATA[js 遍历对象属性


let foo = {
    name:"foo",
    age: 17
}

Object.keys(foo).forEach(function (key) {
    console.log(key,foo[key])
});

//name foo
//age 17


]]></description><category></category></item><item><title><![CDATA[js 判断某元素是否属于某数组]]></title><link>https://blog.csdn.net/m0_37128507/article/details/108861871</link><guid>https://blog.csdn.net/m0_37128507/article/details/108861871</guid><author>m0_37128507</author><pubDate>Tue, 29 Sep 2020 09:13:18 +0800</pubDate><description><![CDATA[判断某元素是否属于某数组


//判断某元素是否属于某数组

IsInArray(arr,val){ 
  var testStr=','+arr.join(",")+",";  
  return testStr.indexOf(","+val+",")!=-1;  
},


]]></description><category></category></item><item><title><![CDATA[vue使用v-if判断数字是否在某个区间，需配合使用逻辑判断符 &&]]></title><link>https://blog.csdn.net/m0_37128507/article/details/108737877</link><guid>https://blog.csdn.net/m0_37128507/article/details/108737877</guid><author>m0_37128507</author><pubDate>Tue, 22 Sep 2020 18:16:59 +0800</pubDate><description><![CDATA[vue 使用if判断数字是否在某个区间，请使用逻辑判断符 &amp;&amp;


&lt;el-table :data="tableData" border&gt;
     &lt;el-table-column
         prop="overlimit"
         label="超标幅度"&gt;
         &lt;template slot-scope="scope"&gt;
              &lt;span&gt;
                      &]]></description><category></category></item><item><title><![CDATA[JS数组置顶元素（将数组某个元素排到第一位）]]></title><link>https://blog.csdn.net/m0_37128507/article/details/108724443</link><guid>https://blog.csdn.net/m0_37128507/article/details/108724443</guid><author>m0_37128507</author><pubDate>Tue, 22 Sep 2020 09:36:49 +0800</pubDate><description><![CDATA[JS数组置顶元素


let data = ['cat', 'pig', 'dog']

data.map((item,index) =&gt; {
   if(index == 2){
      data.unshift(data.splice(index , 1)[0]);
   }
})


console.log(data) // ['dog', 'cat', 'pig']


]]></description><category></category></item><item><title><![CDATA[Cordova跨平台Web App开发指南（安卓篇）]]></title><link>https://blog.csdn.net/m0_37128507/article/details/108574654</link><guid>https://blog.csdn.net/m0_37128507/article/details/108574654</guid><author>m0_37128507</author><pubDate>Mon, 14 Sep 2020 10:56:55 +0800</pubDate><description><![CDATA[Cordova跨平台Web App开发指南（安卓篇）



打包ios包必须用苹果系统，没钱买IOS设备，这里只介绍Android平台打包

一、Cordova简介’

在进行Cordova开发之前, 先花点时间了解一下的Cordova的原理和Cordova的框架结构.

Cordova是开发跨平台web App的工具, 使用前端技术来开发App, 可以节省成本和快速发布.
	Cordova的底层逻辑是:HTML+CSS搭建页面, 使用JS和原生平台交互来展示原生平台的功能.
	Cordova所有功能是建.]]></description><category></category></item><item><title><![CDATA[JS 浅拷贝——Shallow copy 在 Canvas 绘图中的应用]]></title><link>https://blog.csdn.net/m0_37128507/article/details/85785373</link><guid>https://blog.csdn.net/m0_37128507/article/details/85785373</guid><author>m0_37128507</author><pubDate>Mon, 07 Jan 2019 10:04:47 +0800</pubDate><description><![CDATA[（一）简述 JavaScript 浅拷贝 和 深拷贝

在介绍浅拷贝和深拷贝的概念之前，我们不妨先了解一下 JavaScipt 变量的两种保存方式。


ECMAScript 变量可能包含两种不同数据类型的值：基本类型值和引用类型值。基本类型值指的是简单的数据段，而引用类型值指那些可能由多个值构成的对象。在将一个值赋给变量时，解析器必须确定这个值是基本类型值还是引用类型值。5 种基本数据类型：Un...]]></description><category></category></item><item><title><![CDATA[使用 JavaScript 逻辑运算符 and(&&) 简化 if 条件语句]]></title><link>https://blog.csdn.net/m0_37128507/article/details/85050889</link><guid>https://blog.csdn.net/m0_37128507/article/details/85050889</guid><author>m0_37128507</author><pubDate>Mon, 17 Dec 2018 16:09:17 +0800</pubDate><description><![CDATA[在JavaScript中，如果你的 if 条件语句是单一行的代码，我们可对其进行简化书写。


var arr = [10, 22, null, 85, 75, null, 23];

function replaceElement(ele, index, arr) {
    //if条件语句
    if (ele == null) {
        arr[index] = 0;
    ...]]></description><category></category></item><item><title><![CDATA[Selectors API - 详解 querySelectorAll 获取与遍历 DOM 元素列表]]></title><link>https://blog.csdn.net/m0_37128507/article/details/85046926</link><guid>https://blog.csdn.net/m0_37128507/article/details/85046926</guid><author>m0_37128507</author><pubDate>Mon, 17 Dec 2018 12:42:42 +0800</pubDate><description><![CDATA[使用 document.querySelectorAll 搭配CSS选择器，可以非常便捷地获取文档中指定元素列表。


elementList = parentNode.querySelectorAll(selectors);

参数 selectors：一个DOMString包含一个或多个匹配的选择器。
	返回值：一个静态NodeList（一个集合，不是数组，类似于数组，文本稍后做详解），包含一...]]></description><category></category></item><item><title><![CDATA[pip install tensorflow 安装失败]]></title><link>https://blog.csdn.net/m0_37128507/article/details/84922042</link><guid>https://blog.csdn.net/m0_37128507/article/details/84922042</guid><author>m0_37128507</author><pubDate>Sun, 09 Dec 2018 12:01:15 +0800</pubDate><description><![CDATA[pip install tensorflow 安装时出现下面错误：

Could not find a version that satisfies the requirement tensorflow(from version: ) No matching distribution found for tensorflow.




可以尝试使用 conda 包管理和安装工具：

conda ...]]></description><category></category></item></channel></rss>