-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
notfound404
committed
Apr 26, 2019
0 parents
commit d59aa03
Showing
19 changed files
with
1,940 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
##5.40.7-preview(5405007) 更新日志 | ||
平台|版本号|内部版本号|构建类型|构建时间|推送状态 | ||
:-|:-|:-|:-|:-|:- | ||
Android|5.40.7-preview|5405007|Preview|2019-04-23 19:21:05|线上灰度 | ||
|
||
`http://dl.hdslb.com/mobile/iBiliPlayer-release-5.40.7-preview-b297451.apk` | ||
|
||
###更新日志 | ||
1.付费颜色的侧栏小电视显示不正常 `@Love4Taylor & 5.40.7-preview` | ||
2.免费主题新增**白色**主题 **已确认为测试阶段** | ||
3.支持原生的状态栏遮罩,即**状态栏沉浸** `@Love4Taylor & 5.40.6-preview` | ||
4.暂行修改回HW硬件解码 | ||
5.直播间页面点击用户名的弹出界面更改 | ||
6.点击勋章名称可查询勋章所属信息 `5.40.x` | ||
|
||
###声明 | ||
1.更新日志所有内容均来自**哔哩哔哩用户反馈论坛**相关板块、**酷安**评论区、**用户**挖掘 | ||
2.部分更新针对**特殊机型**、**灰度用户**、**功能调整**可能无法100%体验到,请等待二次调整或者全量推送 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
##假装有LOGO|版本更新日志-详情 | ||
[点这里回到发布页](/app_version.t) | ||
|
||
平台|版本号|内部版本号|构建类型|构建时间|推送状态 | ||
:-|:-|:-|:-|:-|:- | ||
Android|5.40.8-preview|5405008|Preview|2019-04-24 19:03:38|线上灰度 | ||
|
||
[点这里下载app](http://dl.hdslb.com/mobile/iBiliPlayer-release-5.40.8-preview-b298158.apk) | ||
|
||
###更新日志 | ||
1.付费颜色的侧栏小电视显示不正常 `@Love4Taylor & 5.40.7-preview` | ||
2.免费主题新增**白色**主题 **已确认为测试阶段** | ||
3.支持原生的状态栏遮罩,即**状态栏沉浸** `@Love4Taylor & 5.40.6-preview` | ||
4.暂行修改回HW硬件解码 | ||
5.直播间页面点击用户名的弹出界面更改 | ||
6.点击勋章名称可查询勋章所属信息 `5.40.x` | ||
|
||
###声明 | ||
1.更新日志所有内容均来自**哔哩哔哩用户反馈论坛**相关板块、**酷安**评论区、**用户**挖掘 | ||
2.部分更新针对**特殊机型**、**灰度用户**、**功能调整**可能无法100%体验到,请等待二次调整或者全量推送 | ||
3.本站并没有解析任何跟**灰度**有关的**规则**或者使用与之有关联的**漏洞**来获取安装包,所有提供出来的**版本**均为**app.bilibili.com**来源 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
Markdown 是一种轻量级标记语言,能将文本换成有效的XHTML(或者HTML)文档,它的目标是实现易读易写,成为一种适用于网络的书写语言。 | ||
|
||
Markdown 语法简洁明了,易于掌握,所以用它来写作是件既效率又舒服的事情。我们所熟知的和一些大型CMS,如Joomla!、Drupal等都能很好的支持Markdown。我是因为写GitHub项目库中的Readme才开始接触Markdown。 | ||
|
||
Markdown 不是想要取代 HTML,甚至也没有要和它相近,它的语法种类很少,只对应 HTML 标记的一小部分。Markdown 的构想不是要使得 HTML 文档更容易书写。在我看来, HTML 已经很容易写了。Markdown 的理念是,能让文档更容易读、写和随意改。HTML 是一种发布的格式,Markdown 是一种书写的格式。就这样,Markdown 的格式语法只涵盖纯文本可以涵盖的范围。 | ||
|
||
Headers 标题: | ||
|
||
# H1 | ||
## H2 | ||
### H3 | ||
#### H4 | ||
##### H5 | ||
###### H6 | ||
|
||
另外,H1和H2还能用以下方式显示: | ||
一级标题 | ||
=== | ||
|
||
二级标题 | ||
--- | ||
Emphasis 文本强调: | ||
|
||
*斜体* or _强调_ | ||
**加粗** or __加粗__ | ||
***粗斜体*** or ___粗斜体__ | ||
|
||
但是,如果你的 * 和 _ 两边都有空白的话,它们就只会被当成普通的符号:这是一段* 文本强调 *的说明示例。 | ||
如果要在文字前后直接插入普通的星号或底线,你可以用反斜线(转义符):\*this text is surrounded by literal asterisks\* | ||
Lists 列表: | ||
|
||
Unordered 无序列表: | ||
* 无序列表 | ||
* 子项 | ||
* 子项 | ||
|
||
+ 无序列表 | ||
+ 子项 | ||
+ 子项 | ||
|
||
- 无序列表 | ||
- 子项 | ||
- 子项 | ||
|
||
Ordered 有序列表: | ||
1. 第一行 | ||
2. 第二行 | ||
3. 第三行 | ||
|
||
1. 第一行 | ||
- 第二行 | ||
- 第三行 | ||
|
||
组合: | ||
* 产品介绍(子项无项目符号) | ||
此时子项,要以一个制表符或者4个空格缩进 | ||
|
||
* 产品特点 | ||
1. 特点1 | ||
- 特点2 | ||
- 特点3 | ||
* 产品功能 | ||
1. 功能1 | ||
- 功能2 | ||
- 功能3 | ||
|
||
可有时我们会出现这样的情况,首行内容是以日期或数字开头:2013. 公司年度目标。 | ||
为了避免也被转化成有序列表,我们可以在"."前加上反斜杠(转义符):2013\. 公司年度目标。 | ||
Links 连接(title为可选项): | ||
|
||
Inline-style 内嵌方式: | ||
[link text](https://www.google.com "title text") | ||
|
||
Reference-style 引用方式: | ||
[link text][id] | ||
[id]: https://www.mozilla.org "title text" | ||
|
||
Relative reference to a repository file 引用存储文件: | ||
[link text](../path/file/readme.text "title text") | ||
|
||
还能这样使用: | ||
[link text][] | ||
[link text]: http://www.reddit.com | ||
|
||
Email 邮件: | ||
<[email protected]> | ||
Images 图片: | ||
|
||
Inline-style 内嵌方式: | ||
 | ||
|
||
Reference-style 引用方式: | ||
![alt text][logo] | ||
[logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "title text" | ||
Code and Syntax Highlighting 代码和语法高亮: | ||
|
||
标记一小段行内代码: | ||
本文是一篇介绍`Markdown`的语法的文章 | ||
|
||
如果高亮的内容包含`号,可以这样写: | ||
|
||
`` `包裹起来` `` | ||
|
||
语法高亮: | ||
```html | ||
<div>Syntax Highlighting</div> | ||
``` | ||
```css | ||
body{font-size:12px} | ||
``` | ||
|
||
```javascript | ||
var s = "JavaScript syntax highlighting"; | ||
alert(s); | ||
``` | ||
```php | ||
<?php | ||
echo "hello, world!"; | ||
?> | ||
``` | ||
```python | ||
s = "Python syntax highlighting" | ||
print s | ||
``` | ||
Block Code 代码分组(代码区块): | ||
|
||
在该行开头缩进4个空格或一个制表符(tab) | ||
|
||
<strong>Blockquotes 引用:</strong> | ||
> Email-style angle brackets | ||
> are used for blockquotes. | ||
> > And, they can be nested. | ||
> #### Headers in blockquotes | ||
> * You can quote a list. | ||
> * Etc. | ||
Hard Line Breaks 换行: | ||
|
||
在一行的结尾处加上2个或2个以上的空格,也可以使用</br>标签 | ||
第一行文字, | ||
第二行文字 | ||
Horizontal Rules 水平分割线: | ||
|
||
*** | ||
* * * | ||
- - - | ||
Escape character 转义符(反斜杠): | ||
|
||
Markdown 可以利用反斜杠来插入一些在语法中有其它意义的符号,例如:如果你想要用星号加在文字旁边的方式来做出强调效果,你可以在星号的前面加上反斜杠: | ||
\*literal asterisks\* | ||
Markdown 支持以下这些符号前面加上反斜杠来帮助插入普通的符号: | ||
\反斜杠 `反引号 *星号 _下划线 {}花括号 []方括号 ()括弧 #井字号 +加号 -减号 .英文句 !感叹号 | ||
Additional 补充: | ||
|
||
Markdown也支持传统的HTML标签。 | ||
比如一个链接,你不太喜欢Markdown的写法,也可以直接写成<a href="http://www.baidu.com">百度</a> | ||
Markdown官网:http://daringfireball.net/projects/markdown/ | ||
参考资料:http://markdown.tw/ | ||
|
||
Markdown在线编辑器: | ||
Dillinger:http://dillinger.io/ | ||
Markdown Here:http://markdown-here.com/livedemo.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>你好</title> | ||
</head> | ||
|
||
<body> | ||
<div id="aa"></div> | ||
|
||
<script language="javascript"> | ||
|
||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
**更换的部分接口** | ||
|
||
1.获取首页轮播数据 | ||
|名称|值| | ||
| :- | :- | | ||
|访问地址|api.live.bilibili.com| | ||
|地址|/room/v1/Index/getPlayerRecList| | ||
|访问类型|GET| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
##018 函数 | ||
|
||
###形参(parameter) 和实参(argument) | ||
|
||
```python | ||
def MyFirstFunction(name): | ||
"函数定义过程中的name是叫形参" | ||
#因为Ta只是一个形式,表示占据一个参数位置 | ||
print('传递进来的'+name+'叫做实参,因为Ta是具体的参数值') | ||
MyFirstFunction('测试') | ||
``` | ||
**注意:函数必须先`定义`再调用,否则会产生 `not define` 错误** | ||
|
||
###函数文档 | ||
函数的第一行语句可以选择性地使用文档字符串—用于存放函数说明。 | ||
`"函数_文档字符串"` | ||
函数文档可以使用`MyFirstFunction.__doc__`来进行打印,也可以通过`help(MyFirstFunction)`打印 | ||
|
||
###关键字参数 | ||
主要处理多参数时候的顺序等 | ||
```python | ||
def saySame(name,words): | ||
print(name+"->"+words) | ||
saySame(words="测试语句",name="系统") | ||
``` | ||
|
||
###默认参数 | ||
**定义了默认值的参数** | ||
```python | ||
def saySame(name="system",words="null value"): | ||
print(name+"->"+words) | ||
saySame() #能正确输出 system->null value | ||
saySame('ceshi') #能正确输出 ceshi->null value | ||
saySame(words="测试语句",name="系统") | ||
``` | ||
|
||
###收集参数 可变参数 | ||
```python | ||
def test(*params): | ||
print('参数的长度是',len(params)) | ||
print('第二个参数是',params[1]) | ||
test(1,'test',2,3,4,5) | ||
``` | ||
将可变参数打包成一个`元组`,如果在可变参数后还有参数的话需要使用关键字参数进行传递,否则会合并在可变参数内 | ||
```python | ||
def test(*params,name): | ||
print('参数的长度是',len(params)) | ||
print('第二个参数是',params[1]) | ||
print('name参数是',name) | ||
test(1,'test',2,3,4,5,name='1') | ||
``` | ||
也可以在定义的时候给与默认参数,这样即使没有按照关键字参数传值也不会导致异常 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
def MyFirstFunction(name): | ||
"函数定义过程中的name是叫形参" | ||
#因为Ta只是一个形式,表示占据一个参数位置 | ||
print('传递进来的'+name+'叫做实参,因为Ta是具体的参数值') | ||
MyFirstFunction('测试') | ||
|
||
MyFirstFunction.__doc__ | ||
help(MyFirstFunction) | ||
|
||
def saySame(name="system",words="null value"): | ||
print(name+"->"+words) | ||
saySame()#能正确输出 system->null value | ||
saySame('ceshi')#能正确输出 ceshi->null value | ||
saySame(words="测试语句",name="系统") | ||
|
||
def test(*params): | ||
print('参数的长度是',len(params)) | ||
print('第二个参数是',params[1]) | ||
test(1,'test',2,3,4,5) | ||
|
||
def test1(*params,name): | ||
print('参数的长度是',len(params)) | ||
print('第二个参数是',params[1]) | ||
print('name参数是',name) | ||
test1(1,'test',2,3,4,5,name='1') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
##018 函数与过程 | ||
|
||
`函数function具有返回值、而过程procedure是简单的并且没有返回值` | ||
**注意:python只有函数,没有过程** | ||
|
||
```python | ||
def hello(): | ||
print('hello python') | ||
temp=hello() | ||
print(temp) | ||
``` | ||
|
||
###返回值 | ||
```python | ||
def back(): | ||
return (1,'back',3.14) | ||
#return 1,'back',3.14 打包成一个元组并返回数据 | ||
back() | ||
``` | ||
|
||
###函数的作用域问题 | ||
|
||
一般的编程语言都有`局部变量Local Variable`和`全局变量Global Variable`两种变量作用类型 | ||
|
||
||Global|Loacl|LocalA | ||
:-|:-|:-|:-| | ||
Global|Y|Y|Y | ||
Local|Y|Y| | ||
LocalA||Y|Y | ||
|
||
`Local Variable`的作用域是单个函数内,无法在函数外进行调用 | ||
`Global Variable`的作用域是整个程序,在函数内外均可使用 | ||
前提是该函数已定义,全局变量的使用要小心 | ||
|
||
在函数内试图修改全局变量时,会自动创建一个局部变量替代原全局变量来替代,与全局变量互不影响。 | ||
|
||
`可以在函数内部访问全局变量但是不能修改` | ||
|
||
```python | ||
def discounts1(price,rate): | ||
final_price=price * rate | ||
old_price = 88 #这里试图修改全局变量 | ||
print('修改后old_price的值是:',old_price) | ||
return final_price | ||
old_price=float(input('请输入原价')) | ||
rate=float(input('请输入折扣率:')) | ||
new_price =discounts1(old_price,rate) | ||
print('修改后的old_price的值是:',old_price) | ||
print('打折后价格是:',new_price) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
def hello(): | ||
print('hello python') | ||
return 0 | ||
temp=hello() | ||
print(temp) | ||
|
||
|
||
def back(): | ||
return (1,'back',3.14) | ||
back() | ||
|
||
|
||
def discounts(price,rate): | ||
final_price=price * rate | ||
return final_price | ||
old_price=float(input('请输入原价')) | ||
rate=float(input('请输入折扣率:')) | ||
new_price =discounts(old_price,rate) | ||
print('打折后价格是:',new_price) | ||
|
||
|
||
def discounts1(price,rate): | ||
final_price=price * rate | ||
old_price = 88 #这里试图修改全局变量 | ||
print('修改后old_price的值是:',old_price) | ||
return final_price | ||
old_price=float(input('请输入原价')) | ||
rate=float(input('请输入折扣率:')) | ||
new_price =discounts1(old_price,rate) | ||
print('修改后的old_price的值是:',old_price) | ||
print('打折后价格是:',new_price) |
Oops, something went wrong.