上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: 需求:找出当前开发分支里未上传到词条平台的词条 #! /bin/bash # # # 手动版说明: # 1、将此shell放在项目根目录里跟.git目录平级; # 2、如果查找的分支显示没有修改,有可能是已经合到master了,所以没有差异; # 3、如果想自己查找某个目录里的所有词条,直接在相应目 阅读全文
posted @ 2022-07-01 21:17 韭菜茄子 阅读(13) 评论(0) 推荐(0)
摘要: 官网地址:https://www.notion.so/help/guides 阅读全文
posted @ 2022-06-23 16:52 韭菜茄子 阅读(13) 评论(0) 推荐(0)
摘要: ls -lR|grep "^d"|wc -l //统计文件夹下目录的个数,包括子文件夹里的 ls -lR|grep "^-"|wc -l //统计当前文件夹下文件的个数,包括子文件夹里的 ls -l |grep "^d"|wc -l //统计当前文件夹下目录的个数 ls -l |grep "^-"| 阅读全文
posted @ 2022-05-26 17:22 韭菜茄子 阅读(69) 评论(0) 推荐(0)
摘要: https://juejin.cn/post/6991297852462858277 阅读全文
posted @ 2022-05-09 17:57 韭菜茄子 阅读(17) 评论(0) 推荐(0)
摘要: // 缓存函数 Function.prototype.memoize = function () { var _this = this; return function () { const args = Array.prototype.slice.call(arguments); _this.ca 阅读全文
posted @ 2021-04-09 17:05 韭菜茄子 阅读(169) 评论(0) 推荐(0)
摘要: import React, { Component, useContext, useState } from 'react'; // 解构写法 const { Provider, Consumer } = React.createContext(); // defaultValue的问题 // ht 阅读全文
posted @ 2021-04-07 17:10 韭菜茄子 阅读(79) 评论(0) 推荐(0)
摘要: // 函数组件使用forwardRef传递ref const ForwardRefComponent = React.forwardRef((props, ref) => <div ref={ref.bind(this)} {...props}>子组件DOM</div>) export defaul 阅读全文
posted @ 2021-04-02 17:35 韭菜茄子 阅读(1611) 评论(0) 推荐(0)
摘要: React 通过ref获取DOM对象或者子组件实例的用法 https://www.cnblogs.com/greatdesert/p/12697726.html React 通过forwardRef获取函数组件内某个DOM节点或者子组件的实例 https://www.cnblogs.com/grea 阅读全文
posted @ 2021-04-01 16:58 韭菜茄子 阅读(185) 评论(0) 推荐(0)
摘要: # 输出双引号 awk -F "" '{print "\""$1"\"\,"}' "xxxxx", 使用""双引号把一个双引号括起来,然后用转义字符\对双引号进行转义,输出双引号。 # 输出单引号 awk -F "" '{print "'\''"$1"'\'\,'"}' 'xxxxx', # 使用一 阅读全文
posted @ 2021-02-03 17:44 韭菜茄子 阅读(1170) 评论(0) 推荐(0)
摘要: linear-gradient(angle/direction, color stop, color stop, ...); 一个线性渐变可以由多种颜色组成。除了指定颜色的方向和角度之外,linear-gradient()接收一组color stop作为参数。color stop由一个颜色和一个可选 阅读全文
posted @ 2020-11-06 15:45 韭菜茄子 阅读(124) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 15 下一页