_

github 的基本用法

上傳到github的新的repository 確認目前狀態 1>> git status 再來initialize一個repository 1>> git init ...

bash 文件的迴圈

while 迴圈,當條件不成立時停止 12345678#! /bin/bashi=1while [ 條件 ]do echo "$i" i=$((i+1))done i=$...

C 語言 pointer 指針在自定義函數的用法

定義一個函數mymax 12345int mymax(int *x, int *y){ ... ... return z;} x、y還有z都是pointer,且可以為動態陣列...

C 語言 pointer 指標用法

123int b=2;int *prt;prt = &b; *prt指向b,可以簡化為 12int b=2;int *prt = &b; 另一個指針用法 12int a[]=&#...

在bash文件中寫comment

1# comment 加上#可以寫單行comment 12345678: ' commentcommentcomment ' 可以寫多行comment

bash文件if else 用法

在bash文件中if else用法 12345678910#! /bin/bashnumber=10if [$number -eq 10]then echo "yes"el...

Bash cat指令的用法

1>> cat file.txt 顯示file.txt內容 1>> cat > file.txt 寫入內容,然候 crt+c 退出存檔 1>> ca...

Hexo 指令

Hexo 基本指令 啟動Hexo 1sudo hexo s 會顯示 123INFO Validating configINFO Start processingINFO Hexo is...

1456