最近: $ react-scripts start There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you nee ...
分类:
其他好文 时间:
2020-01-10 13:01:57
阅读次数:
436
//eg1layer.msg('只想弱弱提示');//eg2layer.msg('有表情地提示', {icon: 6}); //eg3layer.msg('关闭后想做些什么', function(){ //do something}); //eglayer.msg('同上', { icon: 1, ...
分类:
其他好文 时间:
2020-01-09 14:50:14
阅读次数:
399
In this lesson you will learn to explain how to cook something. 课上内容(Lesson) 1/2 Half 50%(percent) 1/4 A quarter 25%(percent) 3/4 three quarters 75%(p ...
分类:
其他好文 时间:
2020-01-05 18:31:32
阅读次数:
114
**** 新建cdxx 文件 #echo "Input something:"#read input#echo "Your input is: $input"#kong=$input#echo ${kong:0:1} if [ -z $1 ];then #判断字符串是否为空 echo "in par ...
分类:
系统相关 时间:
2020-01-01 18:44:39
阅读次数:
113
在UE4中,项目中的所有资源都是存储在硬盘中,当需要用到资源时,则需要将其加载进入内存中使用。为了更好的表示(引用)资源,UE4提供了两种引用资源的方式——硬引用、软引用。 资源的硬引用 硬性引用,即对象 A 引用对象 B,并导致对象 B 在对象 A 加载时加载。通俗点说,硬引用所表示的资源在引用初 ...
分类:
编程语言 时间:
2019-12-30 14:34:47
阅读次数:
152
1、对未初始化的对象执行 typeof 操作符会返回 “undefined”,对未声明的对象执行 typeof 操作符同样也会返回 “undefined” var message typeof message // "undefined" typeof a // "undefined" 这个结果有逻 ...
分类:
编程语言 时间:
2019-12-28 16:24:02
阅读次数:
83
本实验跟踪TCP三次握手过程 实验环境:ubuntu18.04,用qemu虚拟加载linux-5.0.1内核,在MenuOS中添加简单TCP通信demo命令。 首先,先理论分析三次握手,严格的来说应该是三报文握手,并不是三次握手,因为握手只进行了一次。 第一步:Client将标志位SYN置为1,随机 ...
分类:
其他好文 时间:
2019-12-27 00:07:14
阅读次数:
100
Channels Channels If you want something more flexible than taxonomies, but less rigid than collections, then channels might be for you. A channel is a ...
分类:
其他好文 时间:
2019-12-23 00:15:34
阅读次数:
105
defer 执行顺序类似栈的先入后出原则(FILO) 一个defer引发的小坑:打开文件,读取内容,删除文件 // 原始问题代码 func testFun(){ // 打开文件 file, err := os.Open(path) defer file.Close() // do something ...
分类:
其他好文 时间:
2019-12-22 12:50:28
阅读次数:
146
一:内部类 1:什么是内部类? 大部分时候,类被定义成一个独立的程序单元。在某些情况下,也会把一个类放在另一个类的内部定义,这个定义在其他类内部的类就被称为内部类(有些地方也叫做嵌套类),包含内部类的类也被称为外部类(有些地方也叫做宿主类) 我们先创建一个基本的内部类结构: 2:内部类的划分 内部类 ...
分类:
编程语言 时间:
2019-12-20 16:55:33
阅读次数:
99