<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-27561204</id><updated>2026-07-24T13:56:34.369+08:00</updated><category term="_linux"/><category term="_windows"/><category term="it"/><category term="papa照"/><category term="碎碎唸"/><category term="ubuntu"/><category term="vista"/><category term="咖啡日記"/><category term="喵喵"/><category term="powershell"/><category term="SAP"/><category term="C#"/><category term="reading"/><title type='text'>2狗窩</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>269</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-27561204.post-3571432813230164708</id><published>2025-10-02T12:14:00.004+08:00</published><updated>2025-10-02T12:14:26.025+08:00</updated><title type='text'>PetPivot AS11 卡住</title><summary type="text">記錄一下，資料不太好找使用三個月，現在會卡住不能動，清掃燈持續亮紅燈1 已試過斷電、將貓砂倉復位，接電後貓砂倉還是會持續往上轉，然後停在這個位置2 取下貓砂倉，將 sensor 用抹布沾水清潔重覆以上步驟已嘗試多次，有什麼解法？&amp;nbsp;&amp;nbsp;PetPivot Line 客服：您好 請您先將機器斷電十分鐘，可以看看是否為清潔鍵閃紅燈 代表感應器有受到遮擋被觸發通常原因有幾個1.集便盆滿 或是 便便塊疊高會觸發感及便盆可以清空集便盆或搖晃集便盆排除2.感應器有髒汙&amp;nbsp;需要檢查感應器是否有髒汙 可以使用酒精擦拭感應器後排除&amp;nbsp;&amp;nbsp;我確認用酒精清潔感應器後已排除問題(感應器應該是黑的)但不建議用酒精，輕微白掉可以用牙膏拋光處理嚴重的話感應器可能就廢掉了&amp;nbsp;&amp;nbsp;ChatGPT 建議的清潔方法

改用微濕布或純水

用軟布（如眼鏡布或麂皮布），沾少量</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/3571432813230164708/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/3571432813230164708' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/3571432813230164708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/3571432813230164708'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2025/10/petpivot-as11.html' title='PetPivot AS11 卡住'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMXWwz7bsQzgsrUfZdM6Bp-I9zCBSPZ4vbsUuAQD_1R3YiJ9KOCA_Ia1h2hVaAnUONKJFthcEvXD3i0SUeV4ZndYjo1ZOlM5Ukpq17u3XhTp4odLXIRqQxOdJkxq8fh4Vv8fHgSgEgIL8JfEVD-XEvG0JwjyJsikTLAViJABdfEJodmDSvNjeM_w/s72-c/20251002T103612.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-829687951245038102</id><published>2025-09-01T19:58:00.005+08:00</published><updated>2025-09-01T20:08:56.119+08:00</updated><title type='text'>資訊囤物症</title><summary type="text">&amp;nbsp;以前有資訊恐慌症看到有點意思的文章就存起來深怕以後忘記或找不到我就像是患有資訊囤物症一樣電腦裡一大堆雜物，還要花時間整理和分門別類要是我有能力寫程式統計，被我存進去的東西還有看過幾次再看一次的機率，八成低於 5%為了這 5% 我花那麼多時間整理不就巨虧？現在有什麼疑問 AI 大概都能在 30秒內搞定與其繼續囤資訊，養成懷疑和驗證 AI 所說的話應該會是更重要的像是叫 AI 寫 powershell script:依日期整理 iphone 的照片和影像檔 (做為備份用)關閉 windows firewall / 關閉 SMB 1.0 (配合 ivanti 做大量電腦管理)透過 API 存取 action1 報表，並轉成容易整理的 CSV，以及比對資料並存成結果這些都是可以驗證的，如果是我自己去寫，從搜尋和試錯大概得花三倍的時間日常只有用 gemini&amp;nbsp;和 </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/829687951245038102/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/829687951245038102' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/829687951245038102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/829687951245038102'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2025/09/blog-post.html' title='資訊囤物症'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-2054992923356348749</id><published>2024-05-20T15:45:00.001+08:00</published><updated>2024-05-20T15:45:46.577+08:00</updated><title type='text'>20240520</title><summary type="text">   copilot 對於系統管理員的幫助，以 powershell 為例一般來說，我們是會自己翻手冊、看 QA，但底下這兩個，很難在不熟的狀況下，5s 找到 QA / help powershell 中的符號$_是什麼意思$_ 是 PowerShell 中的一個特殊符號，表示&quot;目前物件&quot;或&quot;管道中的目前物件&quot;。當您在 PowerShell 中使用管道（|）時，$_ 代表管道中的每個物件。您可以在腳本塊、函式或管道中使用它，以便對每個物件進行操作。例如，您可以使用以下方式來遍歷集合中的每個元素：  $myArray = 1, 2, 3, 4 $myArray | ForEach-Object {     Write-Host &amp;quot;Current item: $_&amp;quot; }  在此示例中，$_ 會被替換為集合中的每個元素，並顯示在螢幕上。如果您在 PowerShell 中經常</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/2054992923356348749/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/2054992923356348749' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/2054992923356348749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/2054992923356348749'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2024/05/20240520.html' title='20240520'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-8380126621257612967</id><published>2024-04-01T09:54:00.001+08:00</published><updated>2024-04-01T09:54:45.656+08:00</updated><title type='text'>20240401</title><summary type="text">   對於，擺綠乖乖，讓設備乖乖這件事我的看法向來是：荒謬雖然我知道原因是什麼，一間中小企業人員來來去去寫文件並不是基本要求，而屬於 &amp;quot;美德&amp;quot; (至於寫的別人看不懂就是另一件事了)接手的人面對各種設備和各種坑能做的經常是 踩一個坑 填一個，以及 求神拜拜不要再讓我踩到坑了，最後才是尋找善心人士(廠商或前任 IT)求神拜拜的部份後來就演化成放乖乖各種奇怪的迷信也就流傳到現在然後，我站在即將畢業的業務桌前看著他桌上擺的2包大乖乖.........難怪你的客戶都不乖因為你乖乖擺自己桌上沒用啊要也是塞到客戶的嘴巴裡（強硬的，讓他昏倒或嚇到，就不會再來煩你）不然就是放他桌上（這是要設備乖乖的，不是嗎？）放自己桌上，不就讓自己乖乖的服侍客戶，說一不二？擺乖乖我還能理解但兩個業務桌上都還放了 真魷味 .... = =a世界真是無奇不有 ~          </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/8380126621257612967/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/8380126621257612967' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/8380126621257612967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/8380126621257612967'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2024/04/20240401.html' title='20240401'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-3058634038850422729</id><published>2024-03-30T10:11:00.001+08:00</published><updated>2024-04-01T09:54:44.262+08:00</updated><title type='text'>20240330</title><summary type="text">   業務昨天說，他做到月底，星期一提的辭呈六年多前剛進辦公室，當時的業務是公司第一名不過一年後離開一個月後，南部的業務上來兼任但是兩頭跑的結果，撐不過半年就離開走的時候，是真的開心應該是真的很累離開前帶了一個新的業務（就是現在這個）交待好好幫忙不想再看著業務來來去去確實前兩年我是很盡力在幫忙不過後來有點不合不知是太熟了 人與人的界限模糊了開始有一些要求令人不快後來這位業務也走上前任的老路中部 南部兩頭跑但是他撐了一兩年仍然是全公司第一名（中部人比較拚？）聽到他要離開的消息心裡揪了一下說不清是什麼感覺但還是笑笑的恭喜祝福他下一份工作 不會這麼累我們公司 應該滿硬的工程師還算好前期有人帶 不然也有文件看沒事的時候就自己做 lab 求救的時候，只要不是伸手牌，老鳥多半唸兩句還是會出手（如果人緣不差的話，可惜我是絕緣體）業務就很恐怖了一星期兩天要跟 boss 開會每次開會就是業續、未來展望、</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/3058634038850422729/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/3058634038850422729' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/3058634038850422729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/3058634038850422729'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2024/03/20240330.html' title='20240330'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-2738184954287204259</id><published>2024-03-25T16:26:00.001+08:00</published><updated>2024-03-25T16:27:36.907+08:00</updated><title type='text'>20230325 初次露營</title><summary type="text">   營釘太軟，可能要另外買露營椅，約3300x2小桌，約2000買新睡墊補買nuit照明機車載物的擺放大概定下來了，目前就是蛋殼墊太佔空間，而且睡起來很不舒服，應該會買新睡墊換掉日月潭伊達紹碼頭旁，齊樂事露營區營主親切和善不多話，也不會打擾人營區算乾淨，尤其是衛浴非常整潔營區本身還算安靜，晚上睡不著時在外面散步，營燈照著二層樓高的各種樹木，頗為壯觀缺點是鳥和雞，鳥也就算了，大多白天才叫雞想到就叫，一隻叫2點的，一隻叫5點的，真想衝出去殺來吃到場時大概16:xx，營位C16騎車停到定點，初判地面還算堅固，就把車立起來用幾塊塑膠棧板先把地面架高，開始組裝帳蓬之前沒有釘過營釘，目前發現營釘太軟，可能要另外買四個角落邊邊有大口袋，斜角有小口袋，還算實用兩個入口上方、頂端各有一個繩掛口，拿來掛小東西很實用上方的平面網袋太軟了，放不了什麼東西，不太好用；拆掉多4個繩掛口也許比較好用帳蓬算通風，是</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/2738184954287204259/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/2738184954287204259' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/2738184954287204259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/2738184954287204259'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2024/03/20230325.html' title='20230325 初次露營'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-3165387331442758200</id><published>2023-10-14T11:57:00.003+08:00</published><updated>2023-10-14T11:57:22.976+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="咖啡日記"/><title type='text'>咖啡二三事</title><summary type="text">   裝備演化史 2007-2022...Hario V60 1~4人 手沖套組&amp;nbsp; $1000kalita 郵筒磨豆機 $500HARIO V60手沖壺 [全雲朵不鏽鋼細口壺]&amp;nbsp; $2000小飛馬磨豆機 $3000Bonavita Brewista Artisan 不銹鋼可調溫電水壺/溫控壺 600ml $4000第三代TIMEMORE BASIC+TW&amp;nbsp; LED觸控秤重計時電子秤-黑 $2000Nesspreso Pixie 鈦金屬 &amp;amp; Aeroccino3 黑色組合 $7600咖啡粉比例7-11 city cafe 的比例約在 1:25 左右 (偏淡)以咖啡粉:水的例例為基準，一般咖啡店大多是喝1:20的比例，因此 300cc 的咖啡約需 20g 的咖啡豆300/20=15如果喝更濃 1:18，300cc 的咖啡約需 17g 的咖啡豆300/18</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/3165387331442758200/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/3165387331442758200' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/3165387331442758200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/3165387331442758200'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2023/10/blog-post.html' title='咖啡二三事'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEjsFcXMXxFrOc8fb_7GbpXPnnU5TXnvoHgudNC2TOpNbv0D6LDupt26PXl_ViwdhOQIDlfIWDrLZ6q9lGcH-oQtH4Y5EFTOTPoYxHlfJHvTu3Ls2YJU3bbCxjFilwpr0aFf75g4UqFkAHsAavGMgcB_TFnHso6ba3Nk9CqRYQGyqGwPFzOYNFM2Bg=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-6970808590326681338</id><published>2023-02-12T21:52:00.000+08:00</published><updated>2023-02-12T21:52:12.759+08:00</updated><title type='text'>881 spotify</title><summary type="text">   退訂 spotify，理由直接寫：因為不支援 homepod其實不只這些a. 用 iphone spotify airplay 很耗電，比 apple music 多 1.5 倍左右 (一樣是離線下載聽音樂)b. spotify airplay 滿不穩的，明明是放離線音樂，但常常突然沒聲音，得做一些處理才能繼續播放c. 到現在還是不支援 iphone 捷徑，得透過 google assistant 才能叫得動 spotifyspotify 原本沒有這麼不堪，大概是 homepod 問市前後，穩定性開始逐日向下走坡 ... 很多網友敲碗支援 homepod / 捷徑，都不聞不問我可沒少付錢，你對 apple music 不爽，也不是搞消費者吧想搬家的請參考 tunemymusic 服務，付個 NTD $170 就可以用一個月，擺脫惡房東小錢一筆          </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/6970808590326681338/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/6970808590326681338' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/6970808590326681338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/6970808590326681338'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2023/02/881-spotify.html' title='881 spotify'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-5618603063948178678</id><published>2023-01-26T09:32:00.000+08:00</published><updated>2023-01-26T09:32:24.093+08:00</updated><title type='text'>搬家 (migrate online service)</title><summary type="text">使用多年的 lastpass, spotify, onedrive陸續放棄了onedrive的同步頻率、時間很謎，而且掃瞄速度、同步速度都非常得慢；據 ptt&amp;nbsp;網友所說，是台灣網路問題alt: google drive,&amp;nbsp;至少同步速度和頻率可以預測，而且付費後還多了 google meet&amp;nbsp;無限時間可用spotify，到現在死不出 shortcut&amp;nbsp;捷徑，要做自動化得多花很多力氣而且死不支援 homepod，只能從手機 airplay (連用 spotify desktop&amp;nbsp;都不行)alt: apple music，至少無痛整合 homepod；而且我本來就有三個帳號在用 icloud，乾脆直昇 apple one&amp;nbsp;家庭版，還多了 apple tv+&amp;nbsp;和 apple arcade&amp;nbsp;不過老婆還在用 </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/5618603063948178678/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/5618603063948178678' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/5618603063948178678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/5618603063948178678'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2023/01/migrate-online-service.html' title='搬家 (migrate online service)'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-4968828589481339650</id><published>2023-01-26T09:17:00.003+08:00</published><updated>2023-01-26T09:17:58.216+08:00</updated><title type='text'>spotify desktop can&#39;t add song from favroite to playlist</title><summary type="text">    tunemymusic&amp;nbsp;可以轉播放清單，但無法轉 spotify favorite songs原因不明打算用另一個方法，將 spotify favorite songs&amp;nbsp;裡所有的歌，全部新增到另一個播放清單(ex: 33)，再用 tunemymusic&amp;nbsp;轉但這一招只能用 spotify desktop，不行用 spotify web&amp;nbsp;但是在 spotify desktop&amp;nbsp;新增到播放清單 33 後，從 spotify web&amp;nbsp;的 33 看不到剛新增的歌爬文看好久，這招可能有用在 hosts&amp;nbsp;中新增一筆記錄，將 0.0.0.0&amp;nbsp;的位址，解析成&amp;nbsp;weblb-wg.gslb.spotify.comc:\windows\system32\drivers\etc\hosts, add text as </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/4968828589481339650/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/4968828589481339650' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/4968828589481339650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/4968828589481339650'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2023/01/spotify-desktop-cant-add-song-from.html' title='spotify desktop can&#39;t add song from favroite to playlist'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-269336977601862280</id><published>2022-12-07T14:07:00.001+08:00</published><updated>2022-12-07T14:07:34.471+08:00</updated><title type='text'>wget google drive</title><summary type="text">   打算棄守 onedrive 換去 gdrive 了主要是 onedrive 分享給別人，還需要有 microsoft 帳號然後也不能在 os 層用 wget / curl 命令抓檔案 （至少我爬過的文，測試都不行）另外就是現在 google meet 也要收費了，算一算與其用 zoom 還不如直接跳去 google meet + anydesk很多人都不願意使用 zoom，不然就是只開網頁版，能語音不能遙控，還得再另開 anydesk (翻白眼)以上碎碎念 ^ ^假設 google drive 取得的連結如下https://drive.google.com/file/d/2070e193eb9e6978a33f0425e1fb9364/view?usp=share_linkwget 標準語法wget --no-check-certificate &#39;https://</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/269336977601862280/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/269336977601862280' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/269336977601862280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/269336977601862280'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2022/12/wget-google-drive.html' title='wget google drive'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-7793866952091130993</id><published>2022-12-06T08:43:00.001+08:00</published><updated>2022-12-06T08:50:10.299+08:00</updated><title type='text'>中文輸入的靈異事件</title><summary type="text">    前一陣子臉書改版後 用 chrome 在每篇文回文時，畫面會跳上跳下的，就是看不到我輸入的焦點文章 找到問題點是 chrome 的擴充套件 stylebot 造成 就算沒有啟用 css 覆寫，它仍然會有這種異常 後來索性改用 stylus，反正和 firefox 共用，也不用處理兩種擴充套件的不同邏輯 另一件事是 win10 不知道什麼時候開始 輸入中文字非常的慢，常常我打完五個字了，還看到輸入法在那邊慢慢的拆碼，一個字一個字的慢慢輸入，這對一秒鍾三十個字以上（有證照）的我來說，瞬間變成輸入三個字要一秒鐘！真的是孰可忍，孰不可忍！！ 雖然透過常用 windows 除錯法，找到治標的作法，砍掉 explorer.exe ，會好一陣子，大概十幾分，但還是很困擾 昨天用 ime laggy 找到一篇解法，請出 win10 後幾呈退休的 msconfig，看到常駐的服務有什麼先隱藏所有 </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/7793866952091130993/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/7793866952091130993' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/7793866952091130993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/7793866952091130993'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2022/12/blog-post.html' title='中文輸入的靈異事件'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEgfir9F488AVMkn5yjqTmd_B-aAWUCjib7T_HQhoAwZiSeDLuaPdnwhyGx4qPuWQ6TH0aILwkzoKI0KQrRj4TvTpy7p4vo7JRY7RmUI5l_Yitg0GQn867SbRfQdKtkLcMrlsUQaRQcURMpiUmw1mB4CiLdJ36QRIyunxZ8hVm84bytWxyghcnI=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-7297093186326985017</id><published>2022-03-04T13:12:00.000+08:00</published><updated>2022-03-04T13:12:05.184+08:00</updated><title type='text'>AmoK - The Art of Coding | Donations</title><summary type="text">   嘗試捐款後的幾天，透過 paypal 付款的信用卡就被盜刷了 5 次&amp;nbsp; 29xx  幸好沒成功不支援捐款那就沒辦法了  AmoK - The Art of Coding | Donationshttps://www.amok.am/en/spende/All programs are provided by us under the Freeware license. That means our software is 100% free of charge for private and commercial use and, of course, free of spyware and viruses. Despite quite a lot of time we spent developing our software, we have some </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/7297093186326985017/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/7297093186326985017' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/7297093186326985017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/7297093186326985017'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2022/03/amok-art-of-coding-donations.html' title='AmoK - The Art of Coding | Donations'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEiW31SGe3zzkQCzX57HH-aHaO8PrWD5sbNsaSB-jUpvO3mv1kF9DPP27yq93xBc-09JjWHeWIItavaLh7-YA6kkpObzW__uB6fdSuHOXT2zDvmdryeY61oAE9vc-2vidF0KCNs5ynb3K0cevO2LmwIscWFc8mzvYdsiDJj_Y7BHAJSNYK4wnVY=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-1034455751855972591</id><published>2022-01-06T16:20:00.000+08:00</published><updated>2022-01-06T16:20:19.747+08:00</updated><title type='text'>鼠鬚管 注音+行列</title><summary type="text">終於... 解決一個問題，沒有人寫解法，要嘛太過困難沒人寫的出來要嘛太過簡單，沒有人覺得應該要寫下來 U_Ub有趣的是，通常遇到前者的機率要低的多安裝 squirrel (鼠鬚管)!!官網上的 pkg 檔，在 12.1 monterrey (14&quot; arm) 仍舊無法執行，錯誤訊息是無法驗證此 app 的發行者因此要用 homebrew 安裝brew install --cask squirrel安裝行列curl -fsSL https://git.io/rime-install | bash -s -- array emoji custom:add:schema=array30注意，安裝完 array30 後，default.custom.yaml 目前內容如下：__patch:# Rx: custom:add:schema=array30 {&amp;nbsp; - patch/+:&amp;</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/1034455751855972591/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/1034455751855972591' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/1034455751855972591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/1034455751855972591'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2022/01/blog-post.html' title='鼠鬚管 注音+行列'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-8443074371765297285</id><published>2022-01-06T10:07:00.002+08:00</published><updated>2022-01-06T10:07:19.446+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="_windows"/><title type='text'>mkvtools dts to ac3</title><summary type="text">   mkvtools dts to ac3ffmpeg 參數有點多，麻煩了點，另一支程式 eac3to 滿好用的，很單純tested: eac3to Interstellar.2014.1080p.BluRay.x264.AC3-WiKi.mkv Interstellar.2014.1080p.BluRay.x264.AC3-WiKi.ac3先把 dts 轉出用指令將 dts mka 檔轉成 ac3 檔eac3to 放在&amp;nbsp;K:\OneDrive\_greensoft\mkvtoolnix-64-bit-53.0.0\eac3to進 cmd 時要先修改 pathpath=%path%;K:\OneDrive\_greensoft\mkvtoolnix-64-bit-53.0.0\eac3to這樣不管 cd 到哪邊都可以執行 eac3to 指令回 mkvtools ，把剛剛 </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/8443074371765297285/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/8443074371765297285' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/8443074371765297285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/8443074371765297285'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2022/01/mkvtools-dts-to-ac3.html' title='mkvtools dts to ac3'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ_l6FEZ2gNW2v5JGddokGUuVs3KTWmQaHRGHQqnx_GrlH4pC4XG3aWa00lnckNwHus22QAvw2-Tu91ObTGFIrmwzF2q0nuYUqMNzlSv0ba47YZJWzZBHJAYRZFWbYZ9uIOyKJwg/s72-w640-h362-c/f6b2a084d2e1197857e1cfdf69979cd4-757874.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-146535279260739562</id><published>2019-03-14T08:17:00.001+08:00</published><updated>2019-03-17T16:00:20.819+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="_linux"/><title type='text'>linux mint 19 昇級問題 </title><summary type="text">
linux mint 18.1 用了.. 什麼？居然才三年？



因為關機異常的緩慢，amule 持績性的 crash，firefox 的音效有雜音，好久沒看到可愛的 (?) 更新圖示了



遂起了昇級的念頭 



上一次 是 16 -&amp;gt; 18

這一次是 18 -&amp;gt; 19



看來昇級的週期變慢了 (我是說 linux mint 的版次)



算一算從 12 用到現在好象也八年了









首先在安裝時遇到 要不要安裝 third party driver 的問題 = =a

如果要的話，就要設密碼將 UEFI secure boot 關掉

看得懂是什麼，但不了解為什麼要這樣做，日後再查



20190317 不確定為什麼，但這個安裝因為經常性發生 /dev/sf1 / abort journal 導致需要 fsck

乾脆重裝，這一次就選擇不要 </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/146535279260739562/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/146535279260739562' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/146535279260739562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/146535279260739562'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2019/03/linux-mint-19.html' title='linux mint 19 昇級問題 '/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-1156320532748277888</id><published>2018-09-28T09:58:00.002+08:00</published><updated>2019-03-14T08:18:08.654+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="_windows"/><title type='text'>windows 10 重裝注意事項</title><summary type="text">





用 rufus&amp;nbsp;燒光碟映像檔到 usb disk



要注意 partition&amp;nbsp;格式，早期的機器 (約 2012年前後) BIOS 認不得 GPT 格式



重開機時會卡住，畫面全黑，只有一個游標在閃



因此要燒成 MBR&amp;nbsp;格式，才能夠正常開機
</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/1156320532748277888/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/1156320532748277888' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/1156320532748277888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/1156320532748277888'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2018/09/windows-10.html' title='windows 10 重裝注意事項'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-59635881629910321</id><published>2017-12-06T09:42:00.002+08:00</published><updated>2017-12-06T09:43:10.925+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="_windows"/><title type='text'>sublime 昇級：2 -&gt; 3</title><summary type="text">sublime 真的是很好用的編輯器

要不是費用實在太高 (畢竟我只是拿來代替記事本)

還真的很想付費支持 (美金 $80 啊 .. 如果真的有用到那麼多功能&amp;nbsp; 想必收入也不錯吧)

在這邊懺悔一下 (sublime 很大方的，沒付費也讓你用，只是偶爾跳個警告訊息)

今天在少數派看到一篇文章，講到 evernote 使用者心中的痛點：文字編輯器

evernote 什麼都好，就是編輯器的部份太過陽春

雖然在 2017 的改版後終於穩定了些，不再因為改變格式而讓文章的排版爛到救不回來

但對於鍵者來說，要設定個格式還要去動滑鼠，總是有點 low

所以很早以前我就在關注 markdown 這個純用鍵盤就可以設定格式的語法

以上前言 ---

sublime 有一個套件可以支援 evernote (因為沒有設定成功，細節就不談了，本篇重點也不是 evernote)

但是</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/59635881629910321/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/59635881629910321' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/59635881629910321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/59635881629910321'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2017/12/sublime-2-3.html' title='sublime 昇級：2 -&gt; 3'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-2828969889503595815</id><published>2017-11-02T10:25:00.000+08:00</published><updated>2017-11-02T10:25:04.694+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="_windows"/><category scheme="http://www.blogger.com/atom/ns#" term="SAP"/><title type='text'>sapgui 安裝問題</title><summary type="text">





昇到 windows 1709 之後



sapgui 莫名不穩定，主要的問題是 sapgui 視窗中的 componet (button) refresh 速度過慢，變成我每次按按鈕都要等 refresh (約1~3秒)



這會嚴重拖慢 sapgui 的操作



原本只是打算將 sapgui 移除重裝看看，但移除 sapgui 重新開機再登入後發生嚴重的問題



登入後數十秒，不管打開什麼程式，螢幕會突然黑掉，只剩下滑鼠遊標 (可以移動)，但不管按什麼按鍵，系統都沒有回應



這個問題持續數十秒後，會被系統強制踼出，回到 login 的輸入密碼畫面 (重試數次、改變開啟的程式都是一樣的結果)



試過用另一個使用者登入，想說是不是 userprofile 的問題，但結果相同



試過用 sfc /scannow 去修復系統檔，windows 掃瞄結果告知有</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/2828969889503595815/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/2828969889503595815' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/2828969889503595815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/2828969889503595815'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2017/11/sapgui.html' title='sapgui 安裝問題'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-2101909335837389055</id><published>2017-10-18T11:06:00.002+08:00</published><updated>2017-10-18T11:12:55.795+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><title type='text'>離離人員帳號停用、信箱隱藏、移除群組</title><summary type="text">

# 程式目的
#
# 1 移除使用者所屬的所有群組，只留下 domain user; 這是主要群組，無法移除 (也沒必要)
# 2 將使用者從 exchange 全域通訊錄隱藏
# 3 將帳戶設為停用
#
&quot;注意，程式將自動處理 OU=停用,OU=Users,OU=MyBusiness,DC=motorpro-sbs,DC=local 底下的所有使用者&quot;
&quot;請確定已將使用者移動到 停用 這個 OU 中&quot;
read-host &quot;按 [enter] 繼續，按 [ctrl + c] 中止&quot;

Import-Module ActiveDirectory
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010

$GroupsOU = &#39;OU=停用,OU=Users,OU=MyBusiness,DC=motorpro-sbs,DC</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/2101909335837389055/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/2101909335837389055' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/2101909335837389055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/2101909335837389055'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2017/10/blog-post.html' title='離離人員帳號停用、信箱隱藏、移除群組'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-8510121184143377</id><published>2017-09-22T14:22:00.000+08:00</published><updated>2017-09-22T14:22:35.753+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="_linux"/><title type='text'>linux 遷移</title><summary type="text">

這是在做 fail2ban 時想到的

原本的順序是

mail
mailscanner
spamassassin 
mailscanner-mrtg

當初是覺的 mail 的服務比較重要，所以要讓它先起來，後續的幾個服務再慢慢 debug

結果 mail 服務雖然起來了，但因為 mailscanner 的設定，postfix 會把信件放到 hold 區，等待 mailscanner 檢查；如果 mailscanner 設定不正確，導致無法正常運作，信件會永遠留在 hold 區，無法遞交給 exchange ，對使用者來說，就是沒有收到信件，就是問題。

所以有另外一個想法， 先處理相對不重要的服務，再慢慢 debug (就是和上面的順序相反)

之前會這樣做，主因是因為 linux 遷移後，hostname 和 ip 就會更換，更換後沒有過渡期，直接上線

這樣的做法會導致沒有</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/8510121184143377/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/8510121184143377' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/8510121184143377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/8510121184143377'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2017/09/linux.html' title='linux 遷移'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-4510390776946794077</id><published>2017-09-22T14:09:00.002+08:00</published><updated>2018-01-19T11:37:40.743+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="_linux"/><title type='text'>fail2ban 0.9.6-2</title><summary type="text">




原先在 debian 6 做 apt-get dist-upgrade ，結果因為 esstential package : dpkg 無法相容，導致整個基礎架構的套件安裝有問題 (可能是 debian 6 -&amp;gt; 9 版本跨太多)

** 以後不要再做 dist-upgrade ** &amp;nbsp;



如果跨太多版本，另裝一台 VM ，再將軟體裝回去，再把設定檔複製過去，理論上也可以無痛轉移



在遷移的過程中，fail2ban 的服務未如預期運作，原來是設定檔的結構有大變動



記錄如下:





fail2ban.conf 要加入這些設定，不然會一直看到警告訊息


ocket = /var/run/fail2ban/fail2ban.sock

pidfile = /var/run/fail2ban/fail2ban.pid

syslogsocket = </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/4510390776946794077/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/4510390776946794077' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/4510390776946794077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/4510390776946794077'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2017/09/fail2ban-096-2.html' title='fail2ban 0.9.6-2'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-1375915089570370521</id><published>2017-09-15T12:00:00.002+08:00</published><updated>2017-09-15T13:00:27.939+08:00</updated><title type='text'>為程式碼加上高亮度</title><summary type="text">

參考&amp;nbsp;[技術分享] 寫給會在部落格中撰寫程式碼的你 ─ 在網頁中嵌入高亮程式碼上色 (syntax highlighting)

為部落格裡的程式碼加上高亮度，看起來乾淨又容易判讀

不過上面那個文章的 blogger 有點久遠了

更新一下最後的 CSS 部份：

按 [自訂] 



[進階] / [新增 CSS]


再把從 prism 下載的 css 檔內容，完整的貼進去即可</summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/1375915089570370521/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/1375915089570370521' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/1375915089570370521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/1375915089570370521'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2017/09/blog-post_15.html' title='為程式碼加上高亮度'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqz5DEyL2tSRQVClCV39Wea0DagvECYc3RYpLCTl8bCGRXLgytQN1VlrRliE__a9tK7CSHI7VHQx2TNQ5RNpjiBMbvUB4SD88jj2GQznRVJmYvyVP9_tuhGirZIpR2WZjT987RHg/s72-c/sap_dev02_000.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-8849100553961735426</id><published>2017-09-14T08:12:00.001+08:00</published><updated>2017-09-15T11:32:01.758+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="_windows"/><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><category scheme="http://www.blogger.com/atom/ns#" term="SAP"/><title type='text'>sapdev02 更新步驟</title><summary type="text">
目標是 sap 的 database restore 流程自動化，不過能半自動化應該就不錯了
因為 script 要寫偵測和應對機制很麻煩 (特別是 batch file)


sapdev01: source sap database
sapdev02: target sap database

還原有一些大前提：
hostname 不同 (如果 hostname 相同事情就單純了，VM帶走就好)
SID 相同
使用 netapp storage (snapdrive)




sapdev02

停止 sap 服務
設定服務啟動類型為停用

避免服務自動啟用，造成資料庫在還原後損毀


sapdev01

用 sdcli 中斷netapp lun: dev_db_bak

sapdev02

用 sdcli&amp;nbsp;連線netapp lun: dev_db_bak
用 </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/8849100553961735426/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/8849100553961735426' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/8849100553961735426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/8849100553961735426'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2017/09/sapdev02.html' title='sapdev02 更新步驟'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-27561204.post-947107185051112914</id><published>2017-08-28T10:01:00.000+08:00</published><updated>2017-08-28T10:01:53.590+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="_linux"/><title type='text'>讓 www.servername.com.tw 支援 https</title><summary type="text">讓 www.servername.com.tw 支援 https

參考 如何免费的让网站启用HTTPS | | 酷 壳 - CoolShell

在 lnx03 中按上述連結安裝 certbot-auto，測試後在 crontab 排程每天檢查兩次，過期就會自動更新 



調整 apache 
原本在 httpd.conf 中加入 virtualhost 443 的設定會出現一個錯誤訊息
_default_ VirtualHost overlap on port 443, the first has precedence

上述訊息是說，你的 443 port 已經有一個 _default_ 的 virtualhost 存在了

檢查 conf.d/ssl.conf ，裡面已經有定義一個 _default_ 的 virtualhost (這是系統預設) 

難怪怎麼調整 </summary><link rel='replies' type='application/atom+xml' href='http://archer0829.blogspot.com/feeds/947107185051112914/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/27561204/947107185051112914' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/947107185051112914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/27561204/posts/default/947107185051112914'/><link rel='alternate' type='text/html' href='http://archer0829.blogspot.com/2017/08/www.html' title='讓 www.servername.com.tw 支援 https'/><author><name>archer</name><uri>http://www.blogger.com/profile/06615029555265351755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>