|
.TreeMenu_0 { margin-left:0px; text-align:left; line-height:135%; }
.TreeMenu_0 a { padding-left:4px; color:#444444; display:block; }
.TreeMenu_0 a:hover { color:#000000; }
.TreeNode_1 { padding-left:0px; }
.TreeNode_2 { padding-left:0px; }
.TreeNode_3 { padding-left:15px; }
.TreeNode_4 { padding-left:30px; }
.TreeNode_5 { padding-left:45px; }
.TreeNode_6 { padding-left:60px; }
.TreeNode_7 { padding-left:75px; }
.TreeNode_8 { padding-left:90px; }
.TreeNode_9 { padding-left:105px; }
.TreeNode_1 a { padding-left:12px; background:url(/main/themes/ns/css_Default/TreeNode0.gif) no-repeat; }
.TreeNode_2 a { padding-left:12px; background:url(/main/themes/ns/css_Default/TreeNode1.gif) no-repeat; }
.TreeNode_3 a { padding-left:12px; background:url(/main/themes/ns/css_Default/TreeNode2.gif) no-repeat; }
.TreeNode_4 a, .TreeNode_5 a, .TreeNode_6 a, .TreeNode_7 a, .TreeNode_8 a, .TreeNode_9 a { padding-left:12px; background:url(/main/themes/ns/css_Default/TreeNode3.gif) no-repeat; }
.TreeNode_1, .TreeNode_2, .TreeNode_3, .TreeNode_4, .TreeNode_5, .TreeNode_6, .TreeNode_7, .TreeNode_8, .TreeNode_9 { padding-top:2px; padding-bottom:2px; }
.TreeNode_1:hover, .TreeNode_2:hover, .TreeNode_3:hover, .TreeNode_4:hover, .TreeNode_5:hover, .TreeNode_6:hover, .TreeNode_7:hover, .TreeNode_8:hover, .TreeNode_9:hover { background:#dddddd; }
.TreeMenu_0 .ClassNum { color:#666666; }
.TreeMenu_0 .TreeNode_t { background:#aaaaaa; }
.TreeMenu_0 a.TreeItem_t { color:#ffffff; }
.TreeMenu_0 .ClassDesc { display:block; }
.TreeMenu_0 a { font-family:$BlogTreeItemFont$; color:$color$; font-size:$size$; font-style:$style$; font-weight:$weight$; }
.TreeMenu_0 a:hover { color:$BlogTreeNodeHOverC$; }
.TreeNode_1:hover, .TreeNode_2:hover, .TreeNode_3:hover, .TreeNode_4:hover, .TreeNode_5:hover, .TreeNode_6:hover, .TreeNode_7:hover, .TreeNode_8:hover, .TreeNode_9:hover { background:$BlogTreeNodeHOverB$; }
.TreeMenu_0 a.TreeItem_t { color:$BlogTreeNodeTC$; }
.TreeMenu_0 .TreeNode_t { background:$BlogTreeNodeTB$; }
.TreeNode_1, .TreeNode_2, .TreeNode_3, .TreeNode_4, .TreeNode_5, .TreeNode_6, .TreeNode_7, .TreeNode_8, .TreeNode_9, .TreeNode_t { padding-top:$BlogTreeNodePadding$; padding-bottom:$BlogTreeNodePadding$; }
.TreeMenu_0 { border-bottom:$BlogTreeNodeBorderT$; }
.TreeNode_1, .TreeNode_2, .TreeNode_3, .TreeNode_4, .TreeNode_5, .TreeNode_6, .TreeNode_7, .TreeNode_8, .TreeNode_9, .TreeNode_t { border-top:$BlogTreeNodeBorderT$; }
.TreeMenu_0 { border-top:$BlogTreeNodeBorderB$; }
.TreeNode_1, .TreeNode_2, .TreeNode_3, .TreeNode_4, .TreeNode_5, .TreeNode_6, .TreeNode_7, .TreeNode_8, .TreeNode_9, .TreeNode_t { border-bottom:$BlogTreeNodeBorderB$; }
.TreeNode_1 a { background:$BlogTreeNodeImg1$ no-repeat; }
.TreeNode_2 a { background:$BlogTreeNodeImg2$ no-repeat; }
.TreeNode_3 a { background:$BlogTreeNodeImg3$ no-repeat; }
.TreeNode_4 a, .TreeNode_5 a, .TreeNode_6 a, .TreeNode_7 a, .TreeNode_8 a, .TreeNode_9 a { background:$BlogTreeNodeImg4$ no-repeat; }
.TreeNode_1 a { padding-left:$BlogTreeItem1Margin$; }
.TreeNode_2 a { padding-left:$BlogTreeItem2Margin$; }
.TreeNode_3 a { padding-left:$BlogTreeItem3Margin$; }
.TreeNode_4 a, .TreeNode_5 a, .TreeNode_6 a, .TreeNode_7 a, .TreeNode_8 a, .TreeNode_9 a { padding-left:$BlogTreeItemXMargin$; }
.TreeNode_4, .TreeNode_5, .TreeNode_6, .TreeNode_7, .TreeNode_8, .TreeNode_9 { float:$BlogTreeNode4Float$; }
.TreeNode_1, .TreeNode_2, .TreeNode_3 { clear:both; }
.TreeMenu_0 .ClassName { display:$BlogTreeNodeDispName$; }
.TreeMenu_0 { line-height:$BlogTreeNodeLineHeight$; }
.TreeMenu_0 .ClassNum { display:$BlogTreeNodeDispNum$; }
.TreeMenu_0 .ClassNum { font-family:$BlogTreeNodeFontNum$; color:$color$; font-size:$size$; font-style:$style$; font-weight:$weight$; }
.TreeMenu_0 .ClassDesc { display:$BlogTreeNodeDispDesc$; }
.TreeMenu_0 .ClassDesc { font-family:$BlogTreeNodeFontDesc$; color:$color$; font-size:$size$; font-style:$style$; font-weight:$weight$; }
.TreeMenu_0 .ClassImg { display:$BlogTreeNodeDispImg$; }
.TreeMenu_0 .ClassImg img { height:$BlogTreeNodeSizeImg$; }
.TreeMenu_0 .ClassImg img { margin-right:$BlogTreeNodeRightImg$; }
.TreeMenu_0 .ClassImg img { margin-bottom:$BlogTreeNodeBottomImg$; }
|
| | |
|
$XmlID$ $GroupName$ $CtrlBtn$
$html$
評論: $ChildNum$ 瀏覽: $ClickNum$
於 $Date$ $Time$ 發表
.dataBlogList { } /* MsgInfo Cell */
/* 上方類別選項 */
.BlogListMenu { width:100%; height:30px; text-align:center; line-height:100%; }
.BlogListMenuS { width:1px; background:#ff8844; } /* 選項間隔 */
.BlogListMenuL { width:10px; background:#ff8844; } /* 左邊 td */
.BlogListMenuR { width:10px; background:#ff8844; } /* 右邊 td */
.BlogListMenu0 { background:#ff8844; padding:0px; vertical-align:middle; } /* 選項屬性 */
.BlogListMenu0:hover { background:#ff4422; } /* 選項滑鼠觸碰 */
.BlogListMenu1 { background:#ff4422; padding:0px; vertical-align:middle; } /* 目前選項屬性 */
.BlogListMenu0 a , .BlogListMenu1 a { color:#ffffff; } /* 選項文字屬性 */
.BlogListN_1 { } /* 第一筆資訊 */
.BlogListD_0 { padding:5px; border:1px solid #cccccc; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; } /* 偶數筆資訊 */
.BlogListD_1 { padding:5px; border:1px solid #cccccc; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; } /* 奇數筆資訊 */
/* 資訊狀態列 */
.BlogListCtrlBtn { vertical-align:middle; width:100%; text-align:right; }
.BlogListCtrlBtn .OrdIdx { width:20px; text-align:right; border:1px solid #888888; padding:0px; margin:0px; height:16px; }
.BlogListCtrlBtn .MsgCmd { font-size:11px; border:1px solid #888888; padding:0px; margin:0px; height:18px; }
.BlogListCtrlBtn .XmlID { float:left; font-weight:bold; }
.BlogListCtrlBtn select { display:none; }
/* 資訊區 */
.BlogListHTML { }
/* 資訊區上方資訊 */
.BlogListHTML .BlogInfo1 { width:100%; color:#888888; margin-bottom:10px; border-bottom:1px solid #cccccc; }
.BlogListHTML .BlogInfoAuthor { float:right; } /* 作者 */
.BlogListHTML .BlogInfoClass { width:auto; text-align:left; color:#888888; } /* 類別 */
/* 資訊區下方資訊 */
.BlogListHTML .BlogInfo3 { width:100%; color:#888888; }
.BlogListHTML .BlogInfoStatus { float:right; }
.BlogListHTML .BlogInfoBtn { text-align:left; }
/* 資訊內文 */
#ns_Content .BlogListHTML .meMsg_MsgTitleBlk { margin-bottom:10px; } /* 區塊標頭 */
#ns_Content .BlogListHTML .meMsg_MsgBlk .meMsg_MsgTitle { } /* 主標題 */
#ns_Content .BlogInfoHTML .meMsg_Content { margin-top:10px; }
#ns_Content .BlogListHTML .meMsg_MsgContentBlk { margin-top:30px; } /* 內文段落 */
#ns_Content .BlogListHTML .meMsg_MsgURLList { margin:0px; padding:0px; } /* 相關網址 */
#ns_Content .BlogListHTML .meMsg_MsgURL { list-style:disc; margin-left:40px; } /* 相關網址 */
#ns_Content .BlogListHTML .meMsg_MsgFileList { margin:0px; padding:0px; } /* 相關檔案 */
#ns_Content .BlogListHTML .meMsg_MsgFile { list-style:disc; margin-left:40px; } /* 相關檔案 */
#ns_Content .BlogListHTML .meMsg_MsgFromEnd { } /* 期間 */
#ns_Content .BlogListHTML .meMsg_MsgListBlk { } /* 條列項目 */
#ns_Content .BlogListHTML img { max-width:100%; }
#ns_Content .BlogListHTML .ImgAlignLeft { margin-right:8px; } /* 圖文間距 */
#ns_Content .BlogListHTML .ImgAlignRight { margin-left:8px; } /* 圖文間距 */
/* 分頁控制列 */
.divPageCtrl { margin:10px; clear:both; }
.divPageCtrl table { margin-left:auto; margin-right:auto; }
/* 表格格式 */
.MsgRow1 { margin-top:10px; } /* 第一列 */
.MsgRowN { } /* 其他列 */
.MsgRowD0 { } /* 偶數列 */
.MsgRowD1 { } /* 奇數列 */
.MsgCell1 { padding:0px; } /* 最左欄 */
.MsgCellN { padding:0px; } /* 中間欄 */
.MsgCellX { padding:0px; } /* 最右欄 */
.MsgRGap { border:0px; margin-top:20px; margin-bottom:20px; } /* 列與列中間 */
.cssPagePanel { clear:both; } /* 控制面板列 */
.MsgRow1 { margin-top:$BlogListMsgRow1$; }
.BlogListList { padding-left:$BlogListMsgRowLR$; padding-right:$BlogListMsgRowLR$; }
.MsgRGap { margin-top:$BlogListMsgRGapN$; margin-bottom:$BlogListMsgRGapN$; }
.MsgCell1 { padding-right:$BlogListMsgCGapN$; }
.MsgCellN { padding-left:$BlogListMsgCGapN$; padding-right:$BlogListMsgCGapN$; }
.MsgCellX { padding-left:$BlogListMsgCGapN$; }
.MsgRGap { border-top:$BlogListRS$; }
.MsgCellN { border-left:$BlogListCS$; }
.MsgCellX { border-left:$BlogListCS$; }
.MsgRowD1 { background:$BlogListMsgRowD1$; }
.MsgRowD0 { background:$BlogListMsgRowD0$; }
.BlogListD_1 { background:$BlogListD1$; }
.BlogListD_0 { background:$BlogListD0$; }
.BlogListD_0 { border:$BlogListB$; }
.BlogListD_1 { border:$BlogListB$; }
.BlogListD_0 , .BlogListD_1 { background-image:$BlogListBgImg$; background-position:$pos$; background-repeat:$repeat$; }
.BlogListHTML { width:$BlogListHTMLWidth$; }
.BlogListHTML { margin-top:$BlogListHTMLTop$; }
.BlogListHTML .meMsg_MsgContentBlk.center { padding:$BlogListCntVGap$; margin-right:$BlogListCntVGap$; }
.BlogListHTML .meMsg_MsgContentBlk.left { padding:$BlogListCntVGap$; margin-right:$BlogListCntVGap$; }
.BlogListHTML .meMsg_MsgContentBlk.right { padding:$BlogListCntVGap$; margin-left:$BlogListCntVGap$; }
.BlogListHTML .meMsg_MsgContentBlk.center, .BlogListHTML .meMsg_MsgContentBlk.left, .BlogListHTML .meMsg_MsgContentBlk.right { border:$BlogListCntVB$; }
#ns_Content .meMsg_MsgBlk .meMsg_MsgTitle { font-family:$BlogListTextFont$; color:$color$; font-size:$size$; font-style:$style$; font-weight:$weight$; }
#ns_Content .meMsg_MsgBlk .meMsg_Content { font-family:$BlogListHTMLFont$; color:$color$; font-size:$size$; font-style:$style$; font-weight:$weight$; }
#ns_Content .meMsg_MsgURL { margin-left:$padding$; color:$color$; font-size:$size$; list-style:$BlogListFileSpot$ $pos$ $img$; }
#ns_Content .meMsg_MsgFile { margin-left:$padding$; color:$color$; font-size:$size$; list-style:$BlogListFileSpot$ $pos$ $img$; }
#ns_Content .meMsg_MsgURL a { font-family:$BlogListFileFont$; color:$color$; font-size:$size$; font-style:$style$; font-weight:$weight$; }
#ns_Content .meMsg_MsgFile a { font-family:$BlogListFileFont$; color:$color$; font-size:$size$; font-style:$style$; font-weight:$weight$; }
.BlogListHTML .BlogInfo1 { border-bottom:$BlogListB1$; }
#ns_Content .meMsg_MsgBlk .meMsg_Content { border-top:$BlogListTextHTMLS$; }
.BlogInfoClass { display:$BlogInfoClass$; }
.BlogInfoAuthor { display:$BlogInfoAuthor$; }
.BlogInfo { display:$BlogInfo$; }
.BlogDisp { display:$BlogDisp$; }
.BlogInfoStatus { display:$BlogInfoStatus$; }
.BlogListHTML .BlogListDate { display:$BlogInfoDT$; }
#ns_Content .BlogListHTML .meMsg_MsgContent { display:$BlogContBlk$; }
#ns_Content .BlogListHTML .meMsg_MsgURLList { display:$BlogContBlk$; }
#ns_Content .BlogListHTML .meMsg_MsgFileList { display:$BlogContBlk$; }
#ns_Content .BlogListHTML .meMsg_MsgFromEnd { display:$BlogContBlk$; }
#ns_Content .BlogListHTML .meMsg_MsgListBlk { display:$BlogContBlk$; }
.divPageCtrl { display:$PageCtrlDisp$; }
安裝 Ubuntu 24.04 時,卡在安裝過程的解決方式。開始安裝時: [ol] [*]在準備開始安裝 Ubuntu 的 GRUB 畫面時,按 e 進入編輯安裝設定。 [*]將 --- 置換為 nomodeset [*]按 F10 開始安裝。 [/ol]
安裝完成重新開機時: [ol] [*]在BIOS畫面結束時,默念 2 秒,在第 2 秒的時候按 1 下 ESC 鍵,注意只能按 1 下,不能多按。按 1 下時顯示 GRUB 開機畫面,多按 2 下會進入 GRUB 指令模式。 [*]如果太慢按 ESC 鍵或進入 GRUB 指令模式,可以按 Ctrl+Alt+Del 重新開機。 [*]在 GRUB 開機畫面,找到有 vmlinuz 這一行,在這一行最後加 nomodeset [*]按 F10 開始啟動。 [/ol]
啟動後將 nomodeset 固定加在 GRUB: [ol] [*]登入帳號,用 sudo -s 變更為 root [*]編輯 vi /etc/default/grub [*]找 GRUB_CMDLINE_LINUX_DEFAULT 在雙引號 " 內加 nomodeset 然後存檔。 [*]執行指令 update-grub2 [/ol] 之後重開機就不會卡住。
|
14475安裝 Ubuntu 24.04 時,卡在安裝過程的解決方式。2025-01-2718:57:151aWayMsgArticle
ZC1072
ZC1072
1
1
0
106
aWay
0
0
/main/wdb2/images/1x1.gif
|
sshfs 不斷線參數設定[code] umount -f /目的地資料夾 sshfs -o reconnect,ServerAliveInterval=30,ServerAliveCountMax=9,cache=no,sshfs_sync,allow_other,uid=帳號UID,gid=帳號GID 主機IP:/來源資料夾 /目的地資料夾 [/code]
|
14421sshfs 不斷線參數設定2024-10-3115:59:001aWayMsgArticle
ZC1072
ZC1072
2
0
0
298
aWay
0
0
/main/wdb2/images/1x1.gif
|
Linux find 搜尋檔案指令的用法!搜尋檔名裡頭含 abc 的檔案,不分大小寫: find . -iname "*abc*"
搜尋檔案修改的時間是在 7 天前、14 天內的檔案: find . -mtime +7 -mtime -14
刪除 45 天前的檔案: find . -mtime +45 -delete
刪除 .__deleted 資料夾及底下檔案 find . -type d -name .__deleted -exec rm -rfv {} \;;; 刪除所有 .bak 檔 find -iname "*.bak" -delete
|
14419Linux find 搜尋檔案指令的用法!2024-10-2819:15:091aWayMsgArticle
ZC1072
ZC1072
3
1
0
280
aWay
0
0
/main/wdb2/images/1x1.gif
|
sshfs 慣用參數[code] umount -f <local_path>sshfs -o reconnect,ServerAliveInterval=30,ServerAliveCountMax=9,cache=no,sshfs_sync,allow_other,uid=<local_uid>,gid=<local_gid> <remot_ip>:<remote_path> <local_path>[/code]
|
14418sshfs 慣用參數2024-10-1315:41:071aWayMsgArticle
ZC1072
ZC1072
4
0
0
264
aWay
0
0
/main/wdb2/images/1x1.gif
|
Linux 如何判斷硬碟是否為 SSD 硬碟?指令: [code]lsblk -o name,rota[/code] 顯示出來 ROTA 為 0 的即是 SSD 硬碟。 |
14412Linux 如何判斷硬碟是否為 SSD 硬碟?2024-09-2409:57:311aWayMsgArticle
ZC1072
ZC1072
5
1
0
211
aWay
0
0
/main/wdb2/images/1x1.gif
|
Command Line 移除包含特定文字的 json 檔。[code] grep XXXXXXX *.json -H -l | xargs -I file mv file /tmp [/code]
|
14409Command Line 移除包含特定文字的 json 檔。2024-08-2712:37:511aWayMsgArticle
ZC1072
ZC1072
6
0
0
215
aWay
0
0
/main/wdb2/images/1x1.gif
|
eSpeak - Free OpenSource TTSeSpeak 是一套 Open Source 的語音成音軟體, 支援各國語系(包含中文), -f UTF-8 格式的文字檔 -a 調整音量大小, 預設 100 -g 字與字之間的間隔, 預設 10mS -p 音調高低, 調高會偏女聲, 調低會偏男聲, 預設 50 -s 念的速度, 每分鐘幾個字, 預設 170 -v 語音參數, 有 +m1 +m2 +m3 +m4 +m5 (男聲), +f1 +f2 +f3 +f4 (女聲), +whisper(悄悄話), +croak(沙啞聲) -w 輸出 wav 檔 CLI 使用範例: espeak -vzh+f2 -s200 -f file.txt (文字寫在案檔用 -f 參數) espeak "hello world" (文字寫在 Command Line) echo "hello world" | espeak.exe (用 pipe 的方式傳給 espeak.exe) Windows 的 CMD 預設並不是 UTF-8, 只能用 -f 的方式中文才會正常. 語音效果滿死板的, 聽起來像老外在講中文, 個人認為 +m2, +f2 聽起來比較清楚. 工研院語音合成系統 的效果就比 eSpeak 好多了, 但目前並沒有 Open Source. eSpeak 的 Additional Data 要安裝後念中文才會比較正確, 下載 zh_listx.zip, 解到 dictsource, 在 command_line 目錄裡下指令 espeak --compile=zh 可以比較一下「恢復」在裝 Additional Data 前後的語音. 如果要念驗證碼,建議先將驗證碼存檔 a.txt 一行一個字,第一行空行。 espeak -f a.txt -s 120 -g 50 -v zh+f2 -w a.wav
|
14354eSpeak - Free OpenSource TTS2024-08-1115:01:441aWayMsgArticle
ZC1072
ZC1072
7
1
0
293
aWay
0
0
/main/wdb2/images/1x1.gif
|
用 dd 指令將 ISO 檔製作成 Live USB 隨身碟。用指令 du 查詢目前 usb 所在的 dev,假設是在 /dev/sde 且已經 mount /dev/sde2 [code] umount /dev/sde2 dd if=ubuntu-23.10.1-desktop-amd64.iso of=/dev/sde bs=1M [/code]
|
13058用 dd 指令將 ISO 檔製作成 Live USB 隨身碟。2024-03-1015:14:201aWayMsgArticle
ZC1072
ZC1072
8
0
0
271
aWay
0
0
/main/wdb2/images/1x1.gif
|
用指令 dd 建立一個虛擬硬碟檔案 VHD。[code] dd if=/dev/zero of=/media/vhd.img bs=1M count=1200 mkfs -t ext4 /media/vhd.img mkdir /mnt/vhd mount -t auto -o loop /media/vhd.img /mnt/vhd [/code]
|
12930用指令 dd 建立一個虛擬硬碟檔案 VHD。2024-02-0515:35:231aWayMsgArticle
ZC1072
ZC1072
9
1
0
290
aWay
0
0
/main/wdb2/images/1x1.gif
|
安裝輸入法 fcitx[code]
yum -y install fcitx fcitx-table-chinese fcitx-configtool imsettings-switch fcitx
cd /usr/share/fcitx/table wget https://raw.githubusercontent.com/fcitx/fcitx-table-extra/master/tables/easy-big.txt wget https://raw.githubusercontent.com/fcitx/fcitx-table-extra/master/tables/easy-big.conf.in txt2mb easy-big.txt easy-big.mb mv easy-big.conf.in easy-big.conf
vi easy-big.conf Name=EasyBig AlternativePrevPage=LEFT AlternativeNextPage=RIGHT
cd ../imicon wget https://raw.githubusercontent.com/fcitx/fcitx-table-extra/master/icons/fcitx-easy-big.png mv fcitx-easy-big.png easy-big.png
[/code]
|
1927安裝輸入法 fcitx2023-10-2316:03:391aWayMsgArticle---
ZC1072
ZC1072
10
0
總覽
0
350
aWay
0
0
/main/wdb2/images/1x1.gif
|
| |
| | |
|
|
| |