Code Book Backup

一篇記錄可能會忘記的 Code .

Highlight 參考列表
https://blog.cat73.org/2016/08/05/next-highlight-langs/

C

1
2
3
int main(){
int a;
}

HTML

好用的 Live Editor https://liveweave.com/

一些 SEO ??MV
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

<!-- 圖片syntax -->
<img src="https://i.imgur.com/xnLbFyp.jpg" alt="POI">

<!-- UTF-8 設定 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<!-- 播放MP3 -->
<div align="center">
<audio controls autoplay loop src="https://rubyfm-blobs.s3.amazonaws.com/uploads/episode/audio/d7999910-ed2e-465e-aa9a-fcbeb3e1bd91/01._M_.mp3">
</audio>
</div>

<!--SEO-->
<meta name="description" content="Official Website of Team KAGAYAKITAI, now working on BRAND NEW WAVE Project for the
Aqours Live on July 5th and 6th!">
<meta name="keywords"
content="Aqours,Love Live!,Love Live!Sunshine!,Aqourainbow,Yousoroad,Kananrail,TEAM KAGAYAKITAI,Brand New Wave">
<!--Facebook-->
<meta property="og:title" content="TEAM KAGAYAKITAI">
<meta property="og:type" content="website">
<meta property="og:image" content="https://us-penlight-project.web.app/assets/icon/512x512.png">
<meta property="og:description" content="Official Website of Team KAGAYAKITAI, now working on BRAND NEW WAVE Project for the
Aqours Live on July 5th and 6th!">
<meta property="og:site_name" content="TEAM KAGAYAKITAI">
<!--Twitter-->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@teamkagayakitai" />
<meta name="twitter:title" content="TEAM KAGAYAKITAI" />
<meta name="twitter:description" content="Official Website of Team KAGAYAKITAI, now working on BRAND NEW WAVE Project for the
Aqours Live on July 5th and 6th!" />
<meta name="twitter:image" content="https://us-penlight-project.web.app/assets/icon/512x512.png">
<meta name="robots" content="index, follow">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="msapplication-starturl" content="/">
<meta name="theme-color" content="#F0A20B">
<link rel="manifest" href="/manifest.json">

CSS

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* <!-- 自動換行 --> */
article{
background: #ffed53;
width: 200px;
float: left;
word-break: break-all;
}

/* <!-- 限制圖片 --> */
img{
max-width: 300px;
width:expression(this.width > 300 ? "300px" : this.width);
overflow:hidden;
}

AHK

1
2
3
4
5
6
7
8
9
10
11
^F1::
Random,x,10,15
Random,y,10,15
Random,x2,10,15
Random,y2,10,15
x:=x+920
y:=y+267
x2:=x2+942
y2:=y2+941
MouseClickDrag, L, %x%, %y%, %x2%, %y2%,70
return

CMD/DOS/POWERSHELL

1
START %SystemRoot%\explorer.exe C:\Users\Your_name\where_you_want_to_go