Skip to content

Commit 1813233

Browse files
JavaScalaDeveloperJavaScalaDeveloper
authored andcommitted
修复图片无法显示的bug
1 parent 8a5e197 commit 1813233

File tree

727 files changed

+2780
-2793
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

727 files changed

+2780
-2793
lines changed

change/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@
66
- 清除空行 ^\s*$
77
- 给所有class添加package:AddPackagePrefix
88
- 合并所有md:MergeMdFiles
9+
- 替换文件路径
10+
```text
11+
fastly.jsdelivr.net
12+
替换成:
13+
gcore.jsdelivr.net
14+
```

change/easy-v2023.pdf

Whitespace-only changes.

change/hard-v2023-v2.pdf

Whitespace-only changes.

change/hard-v2023.pdf

Whitespace-only changes.

change/scripts/MergeMdFiles.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class MergeMdFiles {
66

77
public static void main(String[] args) throws IOException {
88
String directory = "D:\\WorkSpaces\\leetcode-all\\solution"; // 修改为目录路径
9-
String outputFile = "D:\\WorkSpaces\\leetcode-all\\change\\scripts\\out\\leetcode-1~2000-v2023.md"; // 修改为输出文件路径
9+
String outputFile = "D:\\WorkSpaces\\leetcode-all\\change\\scripts\\out\\leetcode-v2023.md"; // 修改为输出文件路径
1010

1111
File dir = new File(directory);
1212
if (!dir.exists() || !dir.isDirectory()) {
@@ -27,14 +27,14 @@ private static void mergeMdFiles(File dir, OutputStream os) throws IOException {
2727
} else if (file.isFile() && file.getName().endsWith(".md")) {
2828
// 忽略solution根目录的文件
2929
if (file.getPath().length() > 60) {
30-
String num = file.getPath().substring(46, 50);
31-
int no = Integer.parseInt(num);
30+
// String num = file.getPath().substring(46, 50);
31+
// int no = Integer.parseInt(num);
3232
// 导出前2000道
33-
if (no <= 2000) {
33+
// if (no <= 2000) {
3434
FileInputStream fis = new FileInputStream(file);
3535
copy(fis, os);
3636
fis.close();
37-
}
37+
// }
3838

3939
}
4040
}

change/scripts/out/easy-v2023.pdf

3.15 MB
Binary file not shown.

change/scripts/out/hard-v2023.pdf

10.1 MB
Binary file not shown.
36.6 MB
Binary file not shown.

change/scripts/out/leetcode-all-v2023.md renamed to change/scripts/out/leetcode-v2023.md

Lines changed: 1381 additions & 1381 deletions
Large diffs are not rendered by default.

change/scripts/out/medium-v2023.pdf

14.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)