迷途工程師
2019年11月16日 星期六
永豐大戶升級帳戶並且可以自行設定約定帳戶
›
**** 前提必須要有讀卡機 + 電腦 **** 步驟如下: 1. 首先必須臨櫃告知行員要 "開啟網路設定約定帳戶功能" ,行員會幫你升級帳戶等級,升級後你就有自行設定的權限,臨櫃設定後的次一工作日生效。 2. 接下來你必須申請網路銀行,因為要設定約...
2019年10月15日 星期二
一版source code要編譯出兩個版本,#ifdef 加上 -D Macro 的用法
›
假設今天我有一隻code,我想要讓他編譯的時候可以編譯出VER1與VER2的不同結果,以不動到source code為原則,該怎麼作呢? 首先Code必須這樣寫: =========== source.c ================= #include <s...
2019年9月24日 星期二
dd 檔案合併,詳細使用方法
›
dd基本的參數描述如下: *基本輸入輸出 if=FILE:輸入名稱 of=FILE:輸出名稱 *做相對應的轉換conv=[lcase/ucase/nocreat/notrunc/fdatasync] lcase:大寫字母轉小寫 ucase:小寫字母轉大寫 noc...
2019年9月20日 星期五
C 更改檔名 example
›
紀錄C當中,一個簡單的改檔名function,rename(); #include <stdio.h> int main () { int ret; char oldname[] = "file.txt"; char...
1 則留言:
2019年9月3日 星期二
[shell script] 2進制,10進制,16進制的轉換方法
›
1. 搭配ibase, obase, bc 能夠達到進制轉換的目的 2. ibase => input base為幾進制,obase => output base為幾進制 3. 注意須先寫obase,再去寫ibase 上面幾點注意事項了解了之後,來看實際範例:...
2019年8月8日 星期四
使用ethtool開啟/關閉 wol功能的指令
›
使用說明: 開啟Wake on lan ==> ethtool -s [Interface] wol g 關閉Wake on lan ==> ethtool -s [Interface] wol d # ethtool -s eth0 wol g # eth...
2019年8月2日 星期五
equal to linux "which" command in windows
›
在Windows環境下,可以使用"where" command,其功能等同於linux底下的which 例如: 我要查詢g++的路徑 C:\>where g++ C:\Dev-Cpp\bin\g++.exe
‹
›
首頁
查看網路版