Skip to content

Commit

Permalink
Docs: 转载文章在 frontmatter 加上转载链接
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Jul 30, 2022
1 parent a31fc14 commit 38d5101
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 14 deletions.
5 changes: 3 additions & 2 deletions content/posts/Euclid.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ title: The equation-SGU106(扩展欧几里得)
date: 2018-08-10 10:32:39
tags: ["数学","数论","ACM","欧几里得","他山之石","C++","C"]
categories: ["ACM"]
repost:
enable: true
url: https://www.cnblogs.com/Rinyo/archive/2012/11/25/2787419.html
---

**[转载注明,侵删](https://www.cnblogs.com/Rinyo/archive/2012/11/25/2787419.html)**

### 题意:

给出 a,b,c,x1,x2,y1,y2,求满足 ax+by+c=0,且 x∈[x1,x2],y∈[y1,y2] 的整数解个数。
Expand Down
16 changes: 9 additions & 7 deletions content/posts/Sublime-Text3.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ title: Sublime Text3 快捷键大全
date: 2019-08-15 20:59:10
tags: ["Sublime","Summaries","他山之石"]
categories: ["Memo"]
repost:
enable: true
url: ttps://www.cnblogs.com/rudong/p/7889114.html
---

> 转自 -- [入冬](https://www.cnblogs.com/rudong/p/7889114.html)
补充 tab 转 space 设置
Sublime Text3 快捷键一览表

<!--more-->
# tab 转 space
## tab 转 space
打开 Settings, 加入几行配置
```diff Preferences.sublime-setting--User
{
Expand All @@ -26,7 +28,7 @@ categories: ["Memo"]
}

```
# 选择类
## 选择类
* Ctrl+D 选中光标所占的文本,继续操作则会选中下一个相同的文本。
* Alt+F3 选中文本按下快捷键,即可一次性选择全部的相同文本进行同时编辑。举个栗子:快速选中并更改所有相同的变量名、函数名等。
* Ctrl+L 选中整行,继续操作则继续选择下一行,效果和 Shift+↓ 效果一样。
Expand All @@ -51,7 +53,7 @@ categories: ["Memo"]
* Ctrl+Alt+↑ 向上添加多行光标,可同时编辑多行。
* Ctrl+Alt+↓ 向下添加多行光标,可同时编辑多行。

# 编辑类
## 编辑类
* Ctrl+J 合并选中的多行代码为一行。举个栗子:将多行格式的 CSS 属性合并为一行。
* Ctrl+Shift+D 复制光标所在整行,插入到下一行。
* Tab 向右缩进。
Expand All @@ -69,7 +71,7 @@ categories: ["Memo"]
* Ctrl+T 左右字母互换。
* F6 单词检测拼写

# 搜索类
## 搜索类
* Ctrl+F 打开底部搜索框,查找关键字。
* Ctrl+shift+F 在文件夹内查找,与普通编辑器不同的地方是 sublime 允许添加多个文件夹进行查找,略高端,未研究。
* Ctrl+P 打开搜索框。举个栗子:1、输入当前项目中的文件名,快速搜索文件,2、输入@和关键字,查找文件中函数名,3、输入:和数字,跳转到文件中该行代码,4、输入#和关键字,查找变量名。
Expand All @@ -79,7 +81,7 @@ categories: ["Memo"]
* Ctrl+Shift+P 打开命令框。场景栗子:打开命名框,输入关键字,调用 sublime text 或插件的功能,例如使用 package 安装插件。
* Esc 退出光标多行选择,退出搜索框,命令框等。

# 显示类
## 显示类
* Ctrl+Tab 按文件浏览过的顺序,切换当前窗口的标签页。
* Ctrl+PageDown 向左切换当前窗口的标签页。
* Ctrl+PageUp 向右切换当前窗口的标签页。
Expand Down
6 changes: 6 additions & 0 deletions content/posts/href-301.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ title: 使用 js 准确获取当前页面 url 网址信息及 301 重定向实
date: 2018-10-28 14:22:00
tags: ["redirect","JavaScript","他山之石"]
categories: ["JavaScript"]
repost:
enable: true
expirationReminder:
enable: true
reminder: 0
warning: 0
---

### 获取链接(转)
Expand Down
2 changes: 2 additions & 0 deletions content/posts/ifzhushi.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ tags: ["HTML","他山之石"]
categories: ["Grocery"]
toc:
enable: false
repost:
enable: true
---

> <p><span>&lt;!--[if !IE]&gt;&lt;!--&gt; 除 IE 外都可识别 &lt;!--&lt;![endif]--&gt;</span><br><span>&lt;!--[if IE]&gt; 所有的 IE 可识别 &lt;![endif]--&gt;</span><br><span>&lt;!--[if IE 6]&gt; 仅 IE6 可识别 &lt;![endif]--&gt;</span><br><span>&lt;!--[if lt IE 6]&gt; IE6 以及 IE6 以下版本可识别 &lt;![endif]--&gt;</span><br><span>&lt;!--[if gte IE 6]&gt; IE6 以及 IE6 以上版本可识别 &lt;![endif]--&gt;</span><br><span>&lt;!--[if IE 7]&gt; 仅 IE7 可识别 &lt;![endif]--&gt;</span><br><span>&lt;!--[if lt IE 7]&gt; IE7 以及 IE7 以下版本可识别 &lt;![endif]--&gt;</span><br><span>&lt;!--[if gte IE 7]&gt; IE7 以及 IE7 以上版本可识别 &lt;![endif]--&gt;</span><br><span>&lt;!--[if IE 8]&gt; 仅 IE8 可识别 &lt;![endif]--&gt;</span><br><span>&lt;!--[if IE 9]&gt; 仅 IE9 可识别 &lt;![endif]--&gt;</span></p>
Expand Down
4 changes: 3 additions & 1 deletion content/posts/js-device.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ title: js 判断用户设备类型及平台
date: 2018-11-03 23:35:44
tags: ["JavaScript","他山之石"]
categories: ["JavaScript"]
repost:
enable: true
url: https://www.cnblogs.com/coober/p/6594379.html
---
> 转自 https://www.cnblogs.com/coober/p/6594379.html

前端开发经常遇到需要判断用户的浏览设备,是 pc 端还是移动端,移动端使用的是什么手机系统?android、ios、ipad、windows phone 等等,有时候还需要知道用户浏览页面是在微信中打开还是在移动端浏览器中打开,等等一系列判断做一些相应的处理。

Expand Down
5 changes: 4 additions & 1 deletion content/posts/jsoninfo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ date: 2019-05-07 18:42:47
tags: ["Python","JSON","他山之石"]
categories: ["Python"]
featuredImage: "/posts/jsoninfo/images/1.jpg"
repost:
enable: true
url: https://baijiahao.baidu.com/s?id=1608659655547720220&wfr=spider&for=pc
---

> Json(JavaScript Object Notation)它是一种轻量级的数据交换格式,具有数据格式简单,读写方便易懂等很多优点。许多主流的编程语言都在用它来进行前后端的数据传输,大大的简化了服务器和客户端的开发工作量。相对于 XML 来说,更加的轻量级,更方便解析,因此许多开发者都遵循 Json 格式来进行数据的传输和交换。今天我们详细介绍一下 Python 在 Json 的编解码方面的知识。[阅读原文](https://baijiahao.baidu.com/s?id=1608659655547720220&wfr=spider&for=pc)
> Json(JavaScript Object Notation)它是一种轻量级的数据交换格式,具有数据格式简单,读写方便易懂等很多优点。许多主流的编程语言都在用它来进行前后端的数据传输,大大的简化了服务器和客户端的开发工作量。相对于 XML 来说,更加的轻量级,更方便解析,因此许多开发者都遵循 Json 格式来进行数据的传输和交换。今天我们详细介绍一下 Python 在 Json 的编解码方面的知识。
<!--more-->

Expand Down
7 changes: 4 additions & 3 deletions content/posts/web-server-yun.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
title: 云服务器 CentOS 系统搭建 web 服务
date: 2018-10-29 09:15:58
tags:
- 他山之石
- server
- linux
- 他山之石
categories:
- OS
repost:
enable: true
url: https://www.jianshu.com/p/0b67c6c5d21d
---

### 搭建 Apache web 服务
Expand Down Expand Up @@ -63,5 +66,3 @@ ServerName 服务器 IP 或 域名

7. 访问不成功,先检查网络,再查看 http 服务是否开启,最后检查配置;
访问成功,配置完成。

链接:https://www.jianshu.com/p/0b67c6c5d21d

0 comments on commit 38d5101

Please sign in to comment.