Skip to content

Commit

Permalink
Add OpenHarmony compile && fix vim hot keys
Browse files Browse the repository at this point in the history
- Fix vim hot keys error caused by jquery cdn's stop
- Add OpenHarmony 3.2 Compile methods.
- Add course notes into public menu(script4works)
  • Loading branch information
We-unite committed Feb 12, 2024
1 parent 4b70534 commit 492fc33
Show file tree
Hide file tree
Showing 15 changed files with 714 additions and 77 deletions.
307 changes: 307 additions & 0 deletions code/ohos/ohos_compile.html

Large diffs are not rendered by default.

341 changes: 341 additions & 0 deletions code/ohos/ohos_compile.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion common/CSS/huang.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ h3 {
width: 100vw;
bottom: 0;
display: flex;
justify-content: center
justify-content: center;
color: rgba(255, 255, 255, .8);
}

.copyright {
Expand Down
1 change: 1 addition & 0 deletions common/CSS/pandoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ nav {
/* order: 1; */
float: left;
box-sizing: border-box;
max-width: 15%;
}

body {
Expand Down
2 changes: 1 addition & 1 deletion common/script4code.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name='viewport' content='width=device-width initial-scale=1'>
<link rel="stylesheet" href="https://www.qin-juan-ge-zhu.top/common/CSS/MySet.css">
<link rel="icon" type="image/x-icon" href="https://www.qin-juan-ge-zhu.top/common/icon.png" />
<script src="https://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://www.qin-juan-ge-zhu.top/common/js/jQuery.js"></script>
<script type="text/javascript" src="https://www.qin-juan-ge-zhu.top/common/js/vim.js"></script>
<!-- <script type="text/javascript" src="https://www.qin-juan-ge-zhu.top/common/js/click4code.js"></script> -->
<script type="text/javascript" src="https://www.qin-juan-ge-zhu.top/common/js/pandoc-menu.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion common/script4code.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ document.writeln(" <meta charset=\'UTF-8\'>");
document.writeln(" <meta name=\'viewport\' content=\'width=device-width initial-scale=1\'>");
document.writeln(" <link rel=\"stylesheet\" href=\"https://www.qin-juan-ge-zhu.top/common/CSS/MySet.css\">");
document.writeln(" <link rel=\"icon\" type=\"image/x-icon\" href=\"https://www.qin-juan-ge-zhu.top/common/icon.png\" />");
document.writeln(" <script src=\"https://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js\"></script>");
document.writeln(" <script src=\"https://www.qin-juan-ge-zhu.top/common/js/jQuery.js\"></script>");
document.writeln(" <script type=\"text/javascript\" src=\"https://www.qin-juan-ge-zhu.top/common/js/vim.js\"></script>");
document.writeln(" <!-- <script type=\"text/javascript\" src=\"https://www.qin-juan-ge-zhu.top/common/js/click4code.js\"></script> -->");
document.writeln(" <script type=\"text/javascript\" src=\"https://www.qin-juan-ge-zhu.top/common/js/pandoc-menu.js\"></script>");
Expand Down
43 changes: 0 additions & 43 deletions common/script4secret.js

This file was deleted.

45 changes: 30 additions & 15 deletions common/script4works.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="https://www.qin-juan-ge-zhu.top/common/icon.png" />
<link id="giscus-css" rel="stylesheet" href="https://giscus.app/default.css">
<script src="https://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://www.qin-juan-ge-zhu.top/common/js/jQuery.js"></script>
<script src="https://www.qin-juan-ge-zhu.top/common/js/huang.js"></script>
<script type="text/javascript" src="https://www.qin-juan-ge-zhu.top/common/js/vim.js"></script>
<style>
Expand Down Expand Up @@ -109,14 +109,12 @@
有子代的,子代的dic紧随其后,不得乱放 -->


<div class="main-menu" id="main1" onclick="clickit('child1')">-个人作品
</div>

<div class="child" id="child1" style="display:none">
<div class="main-menu" id="main1" onclick="clickit('child1')">-个人作品</div>
<div class="child" id="child1" style="display: none;">
<a href="https://www.qin-juan-ge-zhu.top/works/index.html">-勤倦阁记</a>
<a href="https://www.qin-juan-ge-zhu.top/works/poetry.html">-诗词选</a>
<a onclick="clickit('grandson11')">-文章随笔</a>
<div class="grandson" id="grandson11" style="display:none">
<div class="grandson" id="grandson11" style="display: none;">
<a href="https://www.qin-juan-ge-zhu.top/works/heart.html">本心不易</a>
<a href="https://www.qin-juan-ge-zhu.top/works/along_with_you.html">一路有你相伴</a>
<a href="https://www.qin-juan-ge-zhu.top/works/桃林颂.html">桃林颂</a>
Expand All @@ -129,17 +127,18 @@

<div class="main-menu" id="main2" onclick="clickit('child2')">-代码世界
</div>
<div class="child" id="child2" style="display:none">
<div class="child" id="child2" style="display: none;">
<a onclick="clickit('grandson21')">-美好Linux</a>
<div class="grandson" id="grandson21" style="display:none">
<div class="grandson" id="grandson21" style="display: none;">
<a href="https://www.qin-juan-ge-zhu.top/code/linux/aliyun_cloud.html">我的免费云服</a>
<a href="https://www.qin-juan-ge-zhu.top/code/linux/vim.html">vim学习与配置</a>
<a href="https://www.qin-juan-ge-zhu.top/code/linux/keymap.html">键盘映射</a>
<a href="https://www.qin-juan-ge-zhu.top/code/linux/gitserver.html">属于自己的git托管</a>
<a href="https://www.qin-juan-ge-zhu.top/code/linux/httpmyserver.html">http浏览服务器文件</a>
</div>
<a onclick="clickit('grandson22')">-一些小玩意儿</a>
<div class="grandson" id="grandson22" style="display:none">
<div class="grandson" id="grandson22" style="display: none;">
<a href="https://www.qin-juan-ge-zhu.top/code/ohos/ohos_compile.html">OpenHarmony 3.2 <br>编译</a>
<a href="https://www.qin-juan-ge-zhu.top/code/highlight.html">代码高亮与复制</a>
<a href="https://www.qin-juan-ge-zhu.top/code/index.html">C的小零件</a>
<a href="https://www.qin-juan-ge-zhu.top/code/cpppp.html">C++ Primer Plus基础</a>
Expand All @@ -154,13 +153,26 @@
</div>
</div>

<div class="main-menu" is="main3" onclick="clickit('child3')">-读书兴味</div>
<div class="child" id="child3" style="display:none">
<div class="main-menu" is="main3" onclick="clickit('child3')">-课程笔记</div>
<div class="child" id="child3" style="display: none;">
<a href="https://www.qin-juan-ge-zhu.top/courseNotes/About_MATLAB">-MATLAB学习笔记</a>
<a href="https://www.qin-juan-ge-zhu.top/courseNotes/Xi'ism.html">-毛概习概导图</a>
<a href="https://www.qin-juan-ge-zhu.top/courseNotes/mathematical_logic.html">-数理逻辑导图</a>
<a href="https://www.qin-juan-ge-zhu.top/courseNotes/git/ShangGuiGu.html">-尚硅谷git笔记</a>
<a href="https://www.qin-juan-ge-zhu.top/courseNotes/git/git_tutor.html">-Git tutor in MIT Missing
Semester</a>
<a href="https://www.qin-juan-ge-zhu.top/courseNotes/Lurxism.html">-马原复习导图</a>
<a href="https://www.qin-juan-ge-zhu.top/courseNotes/parallel.html">-并行计算大法好</a>
</div>

<div class="main-menu" is="main4" onclick="clickit('child4')">-读书兴味</div>
<div class="child" id="child4" style="display: none;">
<a href="https://www.qin-juan-ge-zhu.top/read/on_contradictions.html">-矛盾论提纲</a>
<a href="https://www.qin-juan-ge-zhu.top/read/nation.html">-国家?祖国?</a>
</div>
<div class="main-menu" is="main4" onclick="clickit('child4')">-贪玩蓝月</div>
<div class="child" id="child4" style="display:none">

<div class="main-menu" is="main5" onclick="clickit('child5')">-贪玩蓝月</div>
<div class="child" id="child5" style="display: none;">
<a href="https://www.qin-juan-ge-zhu.top/play/travel-card-ce">-行程卡纪念版</a>
<a href="https://www.qin-juan-ge-zhu.top/play/calendar/index.htm">-通用寿星历</a>
</div>
Expand Down Expand Up @@ -189,8 +201,11 @@
d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="white"></path>
</svg></a>
<footer class="footer" style="font-size: large;"><a class="copyright"
href="https://www.qin-juan-ge-zhu.top/courseNotes" target="_blank">HIT</a></footer>
<footer class="footer" style="font-size: large;">
<!-- <a class="copyright" href="https://www.qin-juan-ge-zhu.top/courseNotes" target="_blank"> -->
勤倦閣
<!-- </a> -->
</footer>
</body>

</html>
Loading

0 comments on commit 492fc33

Please sign in to comment.