自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 收藏
  • 关注

原创 CSS语法规则与布局一次搞定

上传不了svg。原地址结合之前对CSS知识框架的整理,这周末把语法规则和布局全部梳理了一遍。学习思路如下:语法规则方面主要是:选择器、单位、@rules,直接过了一遍MDN,其实常用也就那几个。Layout先看的CSS Layout,短小精悍,半小时就能搞定。Flexbox和Grid都看的CSS Tricks,写得真的不错!第一遍边看边写,第二遍就把它整理下来。一共整理了四张XMind: 语法规则、Layout、Flexbox、Grid,其中Layout里面主要是传统的布局方案,而Flexbo

2021-05-02 16:17:20 134

原创 计算机网络运输层思维导图

运输层主要集中在TCP和UDP,其中难点是TCP是如何确保可靠数据传输的1.关于TCP差错恢复机制到底是怎么样的,书也没讲清楚,只是说一种GBN和SR的结合。。。之后还要研究一下2.GBN和SR要多画图,想想出现不同情况的差错是如何处理的就清楚了。3.TCP和UDP的报文结构要画图4.三次握手和四次挥手,想想每一次如果出错了会怎么样,而不是只知道每一次发什么,回什么5.关注下运输层针对TCP的攻击(SYN,RST…)下面是思维导图(略大)...

2021-05-02 16:13:20 1369

原创 计算机网络应用层知识思维导图

整理了一下应用层的知识,真的很碎,之后会根据重点再修改。

2021-05-02 16:12:13 434

原创 JavaScript编译原理-V8引擎是如何运作的

引擎是如何运作的这是我目前为止对JavaScript编译原理(不考虑优化)的大致理解:词法作用域这其中我们着重关注词法作用域的规则,包括var/let的区别,提升,闭包等概念至此,关于JavaScript词法部分的内容基本告一段落。...

2021-05-02 16:10:37 245

原创 浏览器中Javascript的运行机制-EvenLoop究竟是如何实现的

Javascript语言详解,第二篇 || 同时也是浏览器架构的第一篇简单的JavascriptJavascript是一门weird language。它在某些地方以某种方式运行着,但你就是无法完全、彻底理解它。对于C/C++/Java这样的静态/编译型语言(强类型语言),我们清楚它是由gcc通过编译将源代码转换为二进制代码,当运行程序的时候,连接器把程序从硬盘复制到内存中并且运行。即使是python这样的动态/解释型语言(弱类型语言),也拥有自己特定的解释器把源代码转换成字节码的中间形式,然后.

2021-05-02 16:08:15 117

原创 Javascript中的数据类型

1.数据类型Null, undefined, boolean, number, string, symbol(es6),bigint(es6),object1.1 number和bigintnumberjs以64位浮点数(IEEE754)的形式储存number转换规则如下:6.5=110.12=1.101∗24=−10∗(1+0.101)∗21025−1023=(−1)sign∗(1+fraction)∗2exponent−10236.5 = 110.1_2 = 1.101*2^4 = -1

2021-05-02 16:06:55 98

原创 在vscode中使用git和github

这学期的团队项目比较多,这里????一下常用的git命令,免得每次都去查Init locally and push to GitHubfrom scrach#config your name and emailgit config --global --user.name abcgit config --global --user.email 123@abc.com#list if you had done itgit config --global --list #show your u

2020-10-28 15:49:10 319

原创 vscode使用简单的正则表达式进行查找/替换

不得不说,在对大量数据查找和修改时,正则表达式非常简单易用,当然它的用途远不止此,也远没有这么简单。但在平时编程中,使用一些简单的Regex能够极大提高效率。因此这里简单总结一下基础的正则表达式(Regex)语法,方便以后查找使用。目的表达式例子匹配单个字符.a.o匹配abo,aco,ado…,不能匹配abbo匹配前面任意个表达式(尽可能多)*a*o匹配o,ao,aao,aaao匹配前面至少1个表达式(尽可能多)+a+o匹配ao, aao,aaao,不能匹配

2020-10-15 19:44:05 28214 1

原创 Uncaught (in promise) Error: Provided weight data has no targevariable: batch_normalization_1_1/gamm

问题为了将一个python的深度学习项目移植到Web端通过命令行使用tensorflowjs_converter将由keras训练得到的h5文件模型转换为TF.js层# bashtensorflowjs_converter --input_format keras \ path/to/my_model.h5 \ path/to/tfjs_target_dir转换成功后得到两个文件model.json和gr

2020-10-15 19:40:26 379

原创 Day 8 Middle of the Linked List

Given a non-empty, singly linked list with head node head, return a middle node of linked list.If there are two middle nodes, return the second middle node.Example 1:Input: [1,2,3,4,5]Output: Node...

2020-04-09 10:41:47 77

原创 Day 7 Counting Elements

Given an integer array arr, count element x such that x + 1 is also in arr.If there’re duplicates in arr, count them seperately.Example 1:Input: arr = [1,2,3]Output: 2Explanation: 1 and 2 are cou...

2020-04-08 10:46:23 150

原创 Day 6 Group Anagrams

Given an array of strings, group anagrams together.Example:Input: [“eat”, “tea”, “tan”, “ate”, “nat”, “bat”],Output:[[“ate”,“eat”,“tea”],[“nat”,“tan”],[“bat”]]Note:All inputs will be in lowe...

2020-04-08 10:44:22 85

原创 Day 5 Best Time to Buy and Sell Stock II

Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complete as many transactions as you like (i.e., buy one...

2020-04-07 11:55:21 73

原创 Day 4 Move Zeroes

Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non-zero elements.Example:Input: [0,1,0,3,12]Output: [1,3,12,0,0]Note:You must d...

2020-04-07 11:53:18 79

原创 Day 3 Maximum Subarray

Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.Example:Input: [-2,1,-3,4,-1,2,1,-5,4],Output: 6Explanation:...

2020-04-07 11:52:13 69

原创 Day 2 Happy Number

Write an algorithm to determine if a number n is “happy”.A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares ...

2020-04-07 11:47:50 83

原创 30-Day LeetCoding Challenge 1 Single Number

Day 1 Single NumberGiven a non-empty array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you imple...

2020-04-07 11:41:12 88

原创 PAT (顶级) 升级版 7-1 Werewolf harder version(15分)

Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game,player #1 said: “Player #2 is a werewolf.”;player #2 said: ...

2020-04-06 21:49:47 2797 1

原创 数据结构-树的复习笔记

树一、引言:1. 二分查找/*二分查找 引出树*/int BinarySearch(ElementType A[] , int N , ElementType K){ int left , right , mid ,Notfound ; Notfound = -1 ; left = 0 ; right = N - 1 ; while( left ...

2020-01-06 20:41:33 222

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除