提交 6b897e19 编写于 作者: 王下邀月熊-WxChevalier's avatar 王下邀月熊-WxChevalier

Merge branch 'master' into mobile

* master:
  Update Rust-CheatSheet.md
  Create jQuery-CheatSheet.md
  Update DOM-Animation-Reference.md
  Update JavaScript-Syntax-Reference.md
  Update JavaScript-Syntax-Reference.md
  Update TCPIP-Reference.md
  Update String-Reference.md
......@@ -2,6 +2,10 @@
# Rust 语法速览、实践技巧与开源工具清单
# 语法基础
# 表达式与控制流
```rs
let v = vec![1, 2, 3, 4, 5]; // v: Vec<i32>
......@@ -12,4 +16,13 @@ let v = vec![1, 2, 3, 4, 5];
println!("The third element of v is {}", v[2]);
```
# 基本数据类型
# 集合类型
# Vector
![](https://parg.co/U8w)
# jQuery CheatSheet
# 元素选择
```js
$('div span:last-child')
.css({ color: 'red', fontSize: '80%' })
.hover(
function() {
$(this).addClass('solast');
},
function() {
$(this).removeClass('solast');
}
);
```
```js
$('li').each(function(index) {
// this 指向的还是 DOM 对象
console.log(index + ': ' + $(this).text());
});
```
# 元素操作
## 样式类
```js
// 删除全部样式类
$('p:odd').removeClass();
// 删除指定样式类
$('p:odd').removeClass('blue under');
```
......@@ -4,10 +4,12 @@
* [TCP/IP 漫游](https://parg.co/UVU): TCP/IP 是互联网的基础协议栈,它包括大大小小几十个协议。本篇文章主要涉及到就是 HTTP、TCP、IP 协议。我们经常学的网络模型是七层或者五层,实际上一般认为一共只有四层就可以了。
- [UNP #Series#](https://parg.co/UVl): The Transport Layer: TCP, UDP, and SCTP, Sockets Introduction, Elementary TCP Sockets, etc.
* [UNP #Series#](https://parg.co/UVl): The Transport Layer: TCP, UDP, and SCTP, Sockets Introduction, Elementary TCP Sockets, etc.
* [Secrets of Mobile Network Performance](http://aosabook.org/en/posa/secrets-of-mobile-network-performance.html): The first portion will explore the particulars of mobile cellular networking that contribute to the latency problem. In the second portion software techniques to minimize the performance impact of elevated network latency will be introduced.
* [2018-关于 TCP/IP,必知必会的十个问题](https://mp.weixin.qq.com/s/qn5fw8yHvjBou6Ps2Xo9Lw): 本文整理了一些 TCP/IP 协议簇中需要必知必会的十大问题,既是面试高频问题,又是程序员必备基础素养。
# Socket
* [Linux 的 SOCKET 编程详解 ](http://blog.csdn.net/hguisu/article/details/7445768/)
......@@ -23,7 +23,9 @@
- [Getting to Grips with ES6: Destructuring](https://hackernoon.com/getting-to-grips-with-es6-destructuring-e5b5ddb34990#.i4yvrx7hh)
- [](https://rainsoft.io/how-three-dots-changed-javascript/)
- [2017-An easy guide to object rest/spread properties in JavaScript](https://dmitripavlutin.com/object-rest-spread-properties-javascript/):
- [2018-Deep-copying in JavaScript](http://dassur.ma/things/deep-copy/): How do I copy an object in JavaScript? It’s a simple question, without a simple answer.
## Scope: 作用域
......
......@@ -6,6 +6,8 @@
* [VerbalExpressions #Project#](https://github.com/VerbalExpressions): VerbalExpressions 是非常不错的正则表达式辅助生成工具。
* [Regexper #Project#](https://regexper.com/): These diagram are a straight-forward way to illustrate what can sometimes become very complicated processing in a regular expression, with nested looping and optional elements.
# 模式匹配
* [算法之字符串模式匹配](https://zhuanlan.zhihu.com/p/24649304)
......
......@@ -3,6 +3,8 @@
# DOM 动画资料索引
* [lottie-web #Project#](https://github.com/airbnb/lottie-web): Render After Effects animations natively on Web, Android and iOS, and React Native.
# Animation Engine: 动画引擎
* [2017-Popmotion #Project#](https://popmotion.io/): A functional JavaScript motion library.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册