Debian安裝syncthing和android同步資料

使用logseq,在不同裝置上同步資料常出問題,上網看有人推介syncthing,試裝一下,並寫下筆記。

Debian安裝syncthing

sudo aptitude install syncthing

直接在命令列執行

syncthing

如果你有防火牆的話,記得要開啟防火牆的22000 port,才找得到其他的裝置。

android手機安裝syncthing

直接在Google play安裝即可。

在電腦上用網頁GUI設定要同步的資料夾

+ Add Folder

上例是我想將電腦中的Chinese-Medicine資料夾和手機中的同步。

接下來按Sharing,將你要同步的設備選進去。

我的pixel手機上會收到這樣的通知。

按新增->儲存後,就會開始同步了。

分類: linux | 標籤: , | 發佈留言

如何在wordpress文章中插入adsense廣告

1.選取「自定HTML」

2.貼上adsense給的程式碼

分類: adsense, wordpress | 發佈留言

Cachefilesd: How to clean cache

1.Stop cachefilesd

Before clearing the cache, ensure that cachefilesd is stopped.

   sudo systemctl stop cachefilesd

2.Clear the Cache Directory

By default, the cache directory for cachefilesd is /var/cache/fscache. You can remove its contents with:

 sudo rm -rf /var/cache/fscache/*

3.Start cachefilesd Again

sudo systemctl start cachefilesd
分類: nfs | 標籤: | 發佈留言